This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23694] New: [4.0/4.1 Regression] ICE after error about extern "C".
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2005 12:24:32 -0000
- Subject: [Bug c++/23694] New: [4.0/4.1 Regression] ICE after error about extern "C".
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Testcase:
extern "C" class c1
{
friend inline bool operator==(c1 const & a, c1 const & b){}
friend inline bool operator==(c2 const & a, c2 const & b){}
}
---
This worked in 3.4.0.
--
Summary: [4.0/4.1 Regression] ICE after error about extern "C".
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23694