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++/14604] compiler dumps with an internal error


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


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