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

           Summary: ICE in make_decl_rtl, at varasm.c:1133
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: f...@earthlink.net


Created attachment 22996
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22996
reproducer

Compiling the attached test case with:

gfortran-4.6-010811 -ffixed-form -cpp -ffixed-line-length-132 -fopenmp -c -o
test-ice.o test-ice.f

results in:

test-ice.f: In function ‘wrt’:
test-ice.f:34:0: internal compiler error: in make_decl_rtl, at varasm.c:1133
Please submit a full bug report,


Note that -fopenmp is required.

I have not yet had time to try the latest snapshot, and do not currently build
trunk directly from svn.


This was found using the 08-Jan-2011 snapshot built with:

gfortran-4.6-010811 -v
Using built-in specs.
COLLECT_GCC=gfortran-4.6-010811
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.6-20110108/configure --prefix=/usr/local
--libdir=/usr/local/lib64 --program-suffix=-4.6-010811 --with-arch=corei7
--enable-languages=c,c++,fortran --enable-gold
--enable-version-specific-runtime-libs --enable-checking=release
--with-system-zlib --enable-linux-futex --without-system-libunwind
--with-ppl=/usr/lib64 --with-cloog=/usr/lib64 --enable-lto
Thread model: posix
gcc version 4.6.0 20110108 (experimental) (GCC)

Reply via email to