ada/10705: [3.3 regression] ICE with illegal template specialization
bangerth@dealii.org
bangerth@dealii.org
Fri May 9 16:05:00 GMT 2003
>Number: 10705
>Category: ada
>Synopsis: [3.3 regression] ICE with illegal template specialization
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 09 15:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Wolfgang Bangerth
>Release: unknown-1.0
>Organization:
>Environment:
3.3
>Description:
This is clearly illegal:
------------------------
template <typename T>
struct X<T*> {
typedef int Y;
};
------------------------
It just gave an error message in 2.95, but ICEs with 3.2 and
3.3:
g/new-ice> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -c new-ice-33-13.ii
new-ice-33-13.ii:2: error: `X' is not a template
new-ice-33-13.ii:3: internal compiler error: Segmentation fault
Please submit a full bug report,
Mainline is not affected, though, so this is really low
priority.
W.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list