[Bug target/26427] [4.2 Regression] with -fsection-anchors with zero sized structs

mrs at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 8 22:23:00 GMT 2006



------- Comment #16 from mrs at gcc dot gnu dot org  2006-06-08 22:23 -------
Subject: Bug 26427

Author: mrs
Date: Thu Jun  8 22:23:17 2006
New Revision: 114498

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114498
Log:
        PR target/26427
        * config/darwin.c (darwin_asm_output_anchor): Disable
        -fsection-anchors on darwin for now.
        * config/darwin.h (TARGET_ASM_OUTPUT_ANCHOR): Likewise.
        * rs6000/rs6000.c (optimization_options): Likewise.

testsuite:
        * gcc.dg/pr26427.c: Test to ensure that -fsection-anchors doesn't
        produce bad code on darwin.

Added:
    trunk/gcc/testsuite/gcc.dg/pr26427.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/darwin.c
    trunk/gcc/config/darwin.h
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list