[Bug c++/8061] ICE in grokdeclarator, at cp/decl.c:10142

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 1 09:58:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8061



------- Additional Comments From reichelt at gcc dot gnu dot org  2003-10-01 09:58 -------
Well, the first testcase is actually valid code, which is rejected
by mainline. Sorry for the confusion. However, this is the same
problem as in PR 11715, so there's no need to reopen the PR.

The second testcase is really invalid, so GCC is doing the right
thing here. I'll soon add a testcase for this.



More information about the Gcc-bugs mailing list