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++/15658] New: C++ ICE with 3.4 in cp/class.c:6164


Hi,

I'm getting an ICE with g++ 3.4. Here are the details:
% g++ -v
Reading specs from
/opt/gcc-3.4/lib/gcc/i686-redhat-linux-gnu/3.4.0/specs
Configured with: ../gcc-3.4.0/configure --prefix=/opt/gcc-3.4
--enable-version-specific-runtime-libs --enable-languages=c,c++,f77
--host=i686-redhat-linux-gnu --target=i686-redhat-linux-gnu
--enable-long-long --enable-shared --enable-threads=posix
Thread model: posix
gcc version 3.4.0

Compile:
% g++ -c gcc_ice.ii
gcc_ice.cc:34: internal compiler error: in instantiate_type, at
cp/class.c:6164
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

I attached the preprocessed file that reproduces the bug. Note that the
code did compile fine with gcc 3.3. I am not 100% that it complies with
the standard (I _think_ it's OK), but nontheless, it should produce an
ICE.

In case it matters, I'm running Fedora Core 1 with a 2.6.5-mm6
kernel on a Pentium-M CPU.

-- 
           Summary: C++ ICE with 3.4 in cp/class.c:6164
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jean-marc dot valin at usherbrooke dot ca
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i386-redhat-linux


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


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