This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
ada/10705: [3.3 regression] ICE with illegal template specialization
- From: bangerth at dealii dot org
- To: gcc-gnats at gcc dot gnu dot org
- Date: 9 May 2003 15:55:49 -0000
- Subject: ada/10705: [3.3 regression] ICE with illegal template specialization
- Reply-to: bangerth at dealii dot org
>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: