re PR target/26427 (with -fsection-anchors with zero sized structs)
authorMike Stump <mrs@apple.com>
Thu, 8 Jun 2006 22:23:17 +0000 (22:23 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Thu, 8 Jun 2006 22:23:17 +0000 (22:23 +0000)
commit23f99493bc7682649148bb438f9047bb8b59c5dc
tree61d23dcdc1b08a74306174e75f6690abbe62765a
parent07ea59afb113a51ecb305f3a94f9bebbcaffb6b6
re PR target/26427 (with -fsection-anchors with zero sized structs)

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.

From-SVN: r114498
gcc/ChangeLog
gcc/config/darwin.c
gcc/config/darwin.h
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr26427.c [new file with mode: 0644]