https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113
Andrew Pinski changed:
What|Removed |Added
CC||f.heckenb...@fh-soft.de
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113
Andrew Pinski changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|pinskia at gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113
--- Comment #8 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #3)
> from decl.cc:
>
> if (type_was_error_mark_node && template_parm_flag)
> /* FIXME we should be able to propagate the error_mark_node as is
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113
--- Comment #6 from qingzhe huang ---
How about this simple fix? (see the patch above.)
Instead of return "error_mark_node" by condition of
"!cp_parser_simulate_error", we now report error immediately. The rational of
this fix is that
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113
--- Comment #5 from qingzhe huang ---
Created attachment 52257
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52257=edit
cp_parser_simulate_error logic
diff --git a/gcc/cp/parser.cc b/gcc/cp/parser.cc
index b262b765a9a..988631a4248
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113
Andrew Pinski changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113
Andrew Pinski changed:
What|Removed |Added
Keywords||FIXME
--- Comment #3 from Andrew
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Summary|DR 625 forbids