[Bug target/46685] [4.6 Regression] New stack alignment failures with -fpic

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 3 12:06:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685

--- Comment #15 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-03 12:06:23 UTC ---
Author: ebotcazou
Date: Mon Jan  3 12:06:19 2011
New Revision: 168418

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168418
Log:
    Backport from mainline
    2010-12-30  Eric Botcazou  <ebotcazou@adacore.com>

    PR target/47038
    * config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section
    on the GOT helper if USE_HIDDEN_LINKONCE.

    2010-12-02  Eric Botcazou  <ebotcazou@adacore.com>

    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.

Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/config/sparc/sparc.c



More information about the Gcc-bugs mailing list