[Bug c++/42056] ICE with invalid use of auto in template

2011-05-27 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/42056] ICE with invalid use of auto in template

2011-05-27 Thread paolo at gcc dot gnu.org
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

[Bug c++/42056] ICE with invalid use of auto in template

2011-05-26 Thread paolo.carlini at oracle dot com
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

[Bug c++/42056] ICE with invalid use of auto in template

2011-05-26 Thread jason at gcc dot gnu.org
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

[Bug c++/42056] ICE with invalid use of auto in template

2011-05-26 Thread paolo.carlini at oracle dot com
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.

[Bug c++/42056] ICE with invalid use of auto in template

2011-05-26 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|paolo.carlini

[Bug c++/42056] ICE with invalid use of auto in template

2011-05-26 Thread paolo.carlini at oracle dot com
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.

[Bug c++/42056] ICE with invalid use of auto in template

2011-05-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/42056] ICE with invalid use of auto in template

2011-05-26 Thread paolo.carlini at oracle dot com
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

[Bug c++/42056] ICE with invalid use of auto in template

2010-05-04 Thread paolo dot carlini at oracle dot com
--- 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