[Bug c++/11406] New: ICE after `array_ref' not supported by dump_type

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 2 15:20:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: ICE after `array_ref' not supported by dump_type
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org

Here's a small testcase that ICEs:
--------------------------
template <int> struct S{};

template <int N> S<sizeof(new double[N])> f () {}

template S<4> f<2>();
--------------------------

With present mainline, we get:
tmp/gg> ../build-gcc/gcc-install/bin/c++ -c x.cc
x.cc:3: sorry, unimplemented: `array_ref' not supported by dump_type
x.cc:3: sorry, unimplemented: `array_ref' not supported by dump_type

Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,

W.



More information about the Gcc-bugs mailing list