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++/11406] New: ICE after `array_ref' not supported by dump_type


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.


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