[Bug c/39917] New: tmpdir-gcc.dg-struct-layout-1/t008 c_compat_x_tst.o-c_compat_y_tst.o execute failure at -m64
howarth at nitro dot med dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Sun Apr 26 19:34:00 GMT 2009
The tmpdir-gcc.dg-struct-layout-1/t008 c_compat_x_tst.o-c_compat_y_tst.o
execute testcase fails at -m64 on powerpc-apple-darwin9. The offending section
of the testcase is the single line...
T(1234,double a;signed char atal16 b;union{unsigned int d;struct{}e;}c;short
int f;unsigned char
g;,F(1234,a,-125234.421875,-6063.015625)F(1234,b,-105,88)F(1234,c.d,3504478143U,3116938342U)F(1234,f,-15109,-23068)F(1234,g,236U,127U))
When this line is removed from the t008_test.h, the remainder of the test case
passes. I am attaching the preprocessed source and assembly files generated for
this test case compiled with the single line above using the commands...
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/
-I/sw/src/fink.build/gcc44-4.4.0-1000/gcc-4.4.0/gcc/testsuite/gcc.dg/compat
-fno-common -DSKIP_DECIMAL_FLOAT -c -m64 --save-temps -o c_compat_main_tst.
o
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/testsuite/gcc/gcc.dg-struct-layout-1/t008_main.c
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/ -w
-I/sw/src/fink.build/gcc44-4.4.0-1000/gcc-4.4.0/gcc/testsuite/gcc.dg/compat
-fno-common -DSKIP_DECIMAL_FLOAT -c -m64 --save-temps -o c_compat_x_tst.o
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t008_x.c
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/ -w
-I/sw/src/fink.build/gcc44-4.4.0-1000/gcc-4.4.0/gcc/testsuite/gcc.dg/compat
-fno-common -DSKIP_DECIMAL_FLOAT -c -m64 --save-temps -o c_compat_y_tst.o
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t008_y.c
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/ c_compat_main_tst.o
c_compat_x_tst.o c_compat_y_tst.o
-I/sw/src/fink.build/gcc44-4.4.0-1000/gcc-4.4.0/gcc/testsuite/gcc.dg/compat
-fno-common -lm -m64 -o tmpdir-gcc-dg-struct-layout-1-t008-01.exe
The compiler was built with the specs...
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: ../gcc-4.4.0/configure --prefix=/sw --prefix=/sw/lib/gcc4.4
--mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--disable-libjava-multilib --build=powerpc-apple-darwin9
--host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.4.0 (GCC)
--
Summary: tmpdir-gcc.dg-struct-layout-1/t008 c_compat_x_tst.o-
c_compat_y_tst.o execute failure at -m64
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: howarth at nitro dot med dot uc dot edu
GCC build triplet: powerpc-apple-darwin9
GCC host triplet: powerpc-apple-darwin9
GCC target triplet: powerpc-apple-darwin9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39917
More information about the Gcc-bugs
mailing list