I see a number of failures in the gcc.dg-struct-layout-1 testcases when
executed after
being compiled at -m64. The exact failures are listed at...

 http://gcc.gnu.org/ml/gcc/2006-09/msg00211.html

I have modified gcc.dg/compat/struct-layout-1_test.h to just contain...

T(94,struct atal16{}a;,)

and executed make check-gcc RUNTESTFLAGS="--target_board=unix'{-m64}'
compat.exp"
to obtain the commands for creating the files involved in this test case...

sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/gcc/ -w
-DSKIP_DECIMAL_FLOAT -fno-show-column -c -m64 -save-temps -g -o
c_compat_x_tst.o
/sw/src/fink.build/gcc4-4.1.999-20060911/gcc-4.2-20060911/gcc/testsuite/gcc.dg/compat/struct-layout-1_x.c

/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/gcc/
-DSKIP_DECIMAL_FLOAT -fno-show-column -c -g -m64 -save-temps -o
c_compat_main_tst.o
/sw/src/fink.build/gcc4-4.1.999-20060911/gcc-4.2-20060911/gcc/testsuite/gcc.dg/compat/struct-layout-1_main.c

/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc4-4.1.999-20060911/darwin_objdir/gcc/
c_compat_main_tst.o c_compat_x_tst.o c_compat_y_tst.o -g -save-temps
-fno-show-column -lm -m64 -o gcc-dg-compat-struct-layout-1-01

The resulting preprocessed and assembly files are provided. If anyone has an
idea how to prune this down (the testcase is pretty complex), I would be
willing to try.


-- 
           Summary: gcc.dg-struct-layout-1 failures on Darwin PPC at -m64
           Product: gcc
           Version: 4.2.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-darwin8
  GCC host triplet: powerpc-apple-darwin8
GCC target triplet: powerpc-apple-darwin8


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

Reply via email to