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++/19764] [3.4 regression] ICE on explicit instantiation of a non-template destructor


------- Additional Comments From bangerth at dealii dot org  2005-08-08 18:01 -------
This seems already fixed in 4.0 and mainline: 
 
g/x> /home/bangerth/bin/gcc-4.0*/bin/c++ -c x.cc 
x.cc:2: error: ‘A’ is not a template 
x.cc:2: error: expected id-expression before ‘~’ token 
 
g/x> /home/bangerth/bin/gcc-4.1*/bin/c++ -c x.cc 
x.cc:2: error: ‘A’ is not a template 
x.cc:2: error: expected id-expression before ‘~’ token 
 
The error message seems reasonable to me. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2005-02-26 18:42:45         |2005-08-08 18:01:34
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19764


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