The following invalid code triggers an 
   internal compiler error: Segmentation fault
I accidentally found this while reducing another testcase with the delta script
(and a faulty check.sh script), so I guess this has little real world
relevance. But still gcc shouldn't crash.

I can reproduce this with SVN version of 2006/01/18. 

---------------------
class A;
template<class T>
}
A::~A()
{
---------------------


-- 
           Summary: ICE segmentation fault on invalid code
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wouter dot vermaelen at pi dot be


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

Reply via email to