]> gcc.gnu.org Git - gcc.git/commit
re PR target/46685 (New stack alignment failures with -fpic)
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 2 Dec 2010 22:33:16 +0000 (22:33 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 2 Dec 2010 22:33:16 +0000 (22:33 +0000)
commit205e4c6a4b80b6307b55b74cb69fadf6ac38dcc9
tree778ab8a9ab235a0baa62f6a827ed3204d8e5fa5b
parent5b824b7616ae246facc5d5cff8dd2ae8eb6088df
re PR target/46685 (New stack alignment failures with -fpic)

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.

From-SVN: r167395
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr46685.c [new file with mode: 0644]
This page took 0.064508 seconds and 5 git commands to generate.