This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14604] compiler dumps with an internal error
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2004 15:04:21 -0000
- Subject: [Bug c++/14604] compiler dumps with an internal error
- References: <20040316143247.14604.robert.schweikert@abaqus.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-03-16 15:04 -------
I can reduce this to
------------
struct X{};
template <class T>
void ChangeKey()
{
X *newVal = new X();
}
template
void ChangeKey<int>();
---------------
which is a duplicate of some other bug that has been fixed a few days
ago. I will have to go find out which one.
It ICEs like so:
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
x.cc: In function `void ChangeKey() [with T = int]':
x.cc:10: instantiated from here
x.cc:6: internal compiler error: in find_function_data, at function.c:315
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-03-16 15:04:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14604