[Bug c/39903] New: ICE in tmpdir-gcc.dg-struct-layout-1/t026 c_compat_(x,y)_tst.o compile at -m64

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Sat Apr 25 23:34:00 GMT 2009


The tmpdir-gcc.dg-struct-layout-1/t026 c_compat_x_tst.o compile and
tmpdir-gcc.dg-struct-layout-1/t026 c_compat_y_tst.o compile test on
x86_64-apple-darwin10 produces internal compiler errors of the form...

Executing on host: /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
-mno-mmx -fno-common -Wno-abi -DSKIP_DECIMAL_FLOAT -DSKIP_DECIMAL_FLOAT -c  -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//t026_x.c
   (timeout = 300)
In file included from
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t026_x.c:9:
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t026_test.h:
In function 'test2456':
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t026_test.h:57:
internal compiler error: in emit_move_insn, at expr.c:3405

and 

Executing on host: /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
-mno-mmx -fno-common -Wno-abi -DSKIP_DECIMAL_FLOAT -DSKIP_DECIMAL_FLOAT -c  -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//t026_y.c
   (timeout = 300)
In file included from
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t026_y.c:9:
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t026_test.h:
In function 'check2456':
/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t026_test.h:57:
internal compiler error: in emit_move_insn, at expr.c:3405

This error is triggered by only a single line in t026_test.h....

T(2456,double a;struct{int * c;}b[];,F(2456,a,-85022.609375,131929.593750))

I am attaching preprocessed source and assembly for each test in the hope that
this can be reproduced on a cross-compiler for this target.


-- 
           Summary: ICE in tmpdir-gcc.dg-struct-layout-1/t026
                    c_compat_(x,y)_tst.o compile 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: x86_64-apple-darwin10
  GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10


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



More information about the Gcc-bugs mailing list