[Bug c++/13618] 'internal compiler error: in c_expand_expr, at c-common.c' when printing a compile error
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Thu Jan 8 23:19:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-01-08 23:19 -------
Actually, there was also a "typename" missing. Well, be that as it
may, here's a small snippet:
---------------------
struct S {
S(int, int);
};
struct TestT
{
typedef int I;
};
template <typename T>
void get()
{
S s(1, T::I);
}
template void get<TestT> ();
----------------------------
This crashed everything between 2.95 and present 3.3.x with
g/x> /home/bangerth/bin/gcc-3.3.3-pre/bin/c++ -c x.cc
x.cc: In function `void get() [with T = TestT]':
x.cc:16: instantiated from here
x.cc:13: internal compiler error: in c_expand_expr, at c-common.c:4341
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
It's fixed on mainline, though, so no action requires anymore.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13618
More information about the Gcc-bugs
mailing list