c++/9820: [3.3/3.4 regression] ice in build_baselink (templates)
Janis Johnson
janis187@us.ibm.com
Mon Feb 24 22:44:00 GMT 2003
The submitter says this test case should be valid, but
GCC 3.0.4 and the 3.2-branch both report errors. I was
planning to hunt for the patch that caused the regression,
but if there's a test case that ICEs on legal code, I'd prefer
to use that one.
Output from GCC 3.2.2 20021220 (prerelease) with -w:
9820.C: In instantiation of `IsFunctionT<int>':
9820.C:23: instantiated from `IsClassT<int>'
9820.C:23: instantiated from `void check() [with T = int]'
9820.C:29: instantiated from here
9820.C:23: no method `IsFunctionT<int>::test<int>'
9820.C:23: enumerator value for `Yes' not integer constant
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9820
More information about the Gcc-bugs
mailing list