http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056
Paolo Carlini changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056
--- Comment #8 from paolo at gcc dot gnu.org
2011-05-27 14:21:39 UTC ---
Author: paolo
Date: Fri May 27 14:21:33 2011
New Revision: 174337
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174337
Log:
/cp
2011-05-27 Paolo Carlini
PR
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056
--- Comment #7 from Paolo Carlini 2011-05-26
19:29:05 UTC ---
I see, agreed. Actual patch posted here:
http://gcc.gnu.org/ml/gcc-patches/2011-05/msg02081.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056
--- Comment #6 from Jason Merrill 2011-05-26
18:25:40 UTC ---
(In reply to comment #4)
> + error ("expected an expression");
That sounds like a parse error, when the real issue is a semantic constraint
violation: it would make perfect sens
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056
--- Comment #5 from Paolo Carlini 2011-05-26
18:01:42 UTC ---
Actually, I can do better.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056
Paolo Carlini changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|paolo.carlini
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056
--- Comment #4 from Paolo Carlini 2011-05-26
16:48:01 UTC ---
Eh, I decided to ask when I saw your fix for 48599 involving type_uses_auto ;)
Anyway, the below indeed appears to work pretty well. Is the error message Ok
with you?
Index: typeck2.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056
Jason Merrill changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056
Paolo Carlini changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #2 f
--- Comment #1 from paolo dot carlini at oracle dot com 2010-05-04 16:32
---
Apparently now *both* snippets are wrongly accepted, at least in mainline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056
10 matches
Mail list logo