re PR target/70064 (Wrong code with custom flags and quite big testcase @ i686)
authorUros Bizjak <uros@gcc.gnu.org>
Mon, 7 Mar 2016 19:54:02 +0000 (20:54 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 7 Mar 2016 19:54:02 +0000 (20:54 +0100)
commit1e4490dc27e6c5ebba24dc9105df18361e75d45e
tree260c1fe513dc63c24316c16397bfe6bc87724b81
parent96a71bd53c4da5f3cb3c72c6f5c7f094ae92caed
re PR target/70064 (Wrong code with custom flags and quite big testcase @ i686)

PR target/70064
* config/i386/i386.h (machine_function): Add
pc_thunk_call_expanded flag.
(ix86_pc_thunk_call_expanded): New define.
* config/i386/i386.md (set_got, set_got_labelled): New expanders.
(*set_got): Rename insn pattern from set_got.
(*set_got_labelled): Rename inst pattern from set_got_labelled.
* config/i386/i386.c (ix86_compute_frame_layout): Use
ix86_pc_thunk_call_expanded to prevent red-zone.

From-SVN: r234050
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/config/i386/i386.md