This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ada/10705: [3.3 regression] ICE with illegal template specialization


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]