[Bug c/39918] New: tmpdir-gcc.dg-struct-layout-1/t016 c_compat_x_tst.o-c_compat_y_tst.o execute at -m64

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Sun Apr 26 19:53:00 GMT 2009


The tmpdir-gcc.dg-struct-layout-1/t016 c_compat_x_tst.o-c_compat_y_tst.o
execute test case fails at -m64 on powerpc-apple-darwin9. The offending section
of the test case is the line...

T(1604,char a;TE7 b;enum E6 c;unsigned int d;long int e;char f[6];float g;short
int atal16 h;int *
i;,F(1604,a,76U,30U)F(1604,b,e7_m2147483647,e7_m2147483645)F(1604,c,e6_2,e6_2)F(1604,d,3007045619U,3425526240U)F(1604,e,7127725064803830888LL,2212588498547332024LL)F(1604,
f[4],64U,30U)F(1604,g,-67359.484375,-251776.203125)F(1604,h,17064,8859)F(1604,i,(int
*)&intarray[89], (int *)&intarray[249]))

in t016_test.h. When this line is removed from t016_test.h, the remaining of
the test case passes. I am attaching the preprocessed source and assembly files
for this test case compiled with the single line above in t016_test.h 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/t016_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//t016_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//t016_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-t016-01.exe


-- 
           Summary: tmpdir-gcc.dg-struct-layout-1/t016 c_compat_x_tst.o-
                    c_compat_y_tst.o execute 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=39918



More information about the Gcc-bugs mailing list