[Bug target/34587] gcc.dg/initpri1.c fails on powerpc-apple-darwin

2008-11-17 Thread howarth at nitro dot med dot uc dot edu


--- Comment #4 from howarth at nitro dot med dot uc dot edu  2008-11-18 
04:05 ---
This test case appears to only fail for the default -fPIC on darwin. If
compiled with -fno-PIC, the test case passes on i686-apple-darwin9.


-- 


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



[Bug target/34587] gcc.dg/initpri1.c fails on powerpc-apple-darwin

2008-11-17 Thread howarth at nitro dot med dot uc dot edu


--- Comment #5 from howarth at nitro dot med dot uc dot edu  2008-11-18 
04:08 ---
Created an attachment (id=16714)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16714&action=view)
assembly file for gcc.dg/initpri1.c at -m32 on i686-apple-darwin9

created with...

/sw/src/fink.build/gcc44-4.3.999-20081117/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc44-4.3.999-20081117/darwin_objdir/gcc/
/sw/src/fink.build/gcc44-4.3.999-20081117/gcc-4.4-20081117/gcc/testsuite/gcc.dg/initpri1.c
-ansi -pedantic-errors -lm -m32 --save-temps -o ./initpri1.exe


-- 


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



[Bug target/34587] gcc.dg/initpri1.c fails on powerpc-apple-darwin

2008-11-17 Thread howarth at nitro dot med dot uc dot edu


--- Comment #6 from howarth at nitro dot med dot uc dot edu  2008-11-18 
04:09 ---
Created an attachment (id=16715)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16715&action=view)
assembly file for gcc.dg/initpri1.c at -m32 with -fno-PIC on i686-apple-darwin9

created with...

/sw/src/fink.build/gcc44-4.3.999-20081117/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc44-4.3.999-20081117/darwin_objdir/gcc/
/sw/src/fink.build/gcc44-4.3.999-20081117/gcc-4.4-20081117/gcc/testsuite/gcc.dg/initpri1.c
-ansi -pedantic-errors -lm -m32 -fno-PIC --save-temps -o ./initpri1.exe


-- 


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



[Bug target/34587] gcc.dg/initpri1.c fails on powerpc-apple-darwin

2008-11-17 Thread howarth at nitro dot med dot uc dot edu


--- Comment #7 from howarth at nitro dot med dot uc dot edu  2008-11-18 
04:19 ---
Can confirm the same behavior with gcc 4.3.2 on powerpc-apple-darwin9. With...

gcc-4  -ansi -pedantic-errors -lm -m32 initpri1.c

the testcase aborts. With...

gcc-4 -ansi -pedantic-errors -lm -m32 -fno-PIC initpri1.c

it executes fine.


-- 


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