[Bug c++/14604] compiler dumps with an internal error

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Tue Mar 16 15:04:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list