[Bug target/46685] [4.6 Regression] New stack alignment failures with -fpic
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 2 22:33:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685
--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2010-12-02 22:33:24 UTC ---
Author: ebotcazou
Date: Thu Dec 2 22:33:16 2010
New Revision: 167395
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167395
Log:
PR target/46685
* config/sparc/sparc.c (can_use_mov_pic_label_ref): New predicate.
(sparc_expand_move): Call it to decide whether to emit the special
mov{si,di}_pic_label_ref patterns.
(sparc_legitimize_pic_address): Call it to decide whether to emit
the regular PIC sequence for labels. Fix long line.
(sparc_file_end): Set is_thunk for the PIC helper.
Added:
trunk/gcc/testsuite/gcc.dg/pr46685.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sparc/sparc.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list