This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


The tmpdir-gcc.dg-struct-layout-1/t027 c_compat_x_tst.o-c_compat_y_tst.o
execute test case fails at -m64 on powerpc-apple-darwin9. The offending lines
in t027_test.h that cause these failures are...

T(2605,struct atal{}a;,)
TXCI(2733,struct atal8,,union{unsigned char b;float c;unsigned short int
d;Tal4cchar e;signed char f;Tint atal16 g;}a[0];,)
T(2765,long double a;float b atpa;union{bool d atal;}c;unsigned short int
e[2];struct{}f;char g:BCN(4);Tulong h:BLN(4);Tllong
i:BQN(33);,F(2765,a,-44422.015625,168361.250000)F(2765,b,-45653.546875,171472.031250)F(2765,c.d,1U,1U)F(2765,e[0],41174U,15571U)B(2765,g,11U,13U
)B(2765,h,13U,6U)B(2765,i,825919256,-3537854570LL))

When these lines are removed from t027_test.h, the remaining test cases pass
their execution test. I am attaching the preprocessed source and assembly files
for the testcase compiled with only the lines above included in t027_test.h
using the commands below...

/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/t027_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//t027_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//t027_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-t027-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/t027 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=39921


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]