This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/3832: ICE on an odd combination of language features
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/3832: ICE on an odd combination of language features
- From: mps at sonartech dot com dot au
- Date: 26 Jul 2001 13:13:50 -0000
- Cc: mshepanski at dingoblue dot net dot au
- Reply-To: mps at sonartech dot com dot au
>Number: 3832
>Category: c++
>Synopsis: ICE on an odd combination of language features
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu Jul 26 06:16:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Michael Shepanski
>Release: 3.0
>Organization:
>Environment:
Linux/Intel
>Description:
// This code generates ICE.
// If you cut out any part of it, the problem goes away.
template <typename T>
void f()
{
struct C {
void g() { try {} catch (...) {} }
void h();
};
}
main ()
{
f <int> ();
}
>How-To-Repeat:
g++ try.cpp
>Fix:
Only if you find it interesting. I've worked around it.
>Release-Note:
>Audit-Trail:
>Unformatted: