c++/1781: Internal error: Segmentation Fault on illegal code
hyrosen@mail.com
hyrosen@mail.com
Fri Jan 26 08:56:00 GMT 2001
>Number: 1781
>Category: c++
>Synopsis: Internal error: Segmentation Fault on illegal code
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Fri Jan 26 08:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Hyman Rosen
>Release: gcc version 2.97 20010124 (experimental)
>Organization:
>Environment:
>Description:
The following illegal code generates a compiler segfault:
template <typename T> class A { };
int main()
{
do { try { } while (0); }
template class A<char *>;
}
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list