[Bug c++/51382] Incorrect diagnostic "cannot appear in a constant-expression"

2011-12-05 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51382 fabien at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/51382] Incorrect diagnostic "cannot appear in a constant-expression"

2011-12-04 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51382 fabien at gcc dot gnu.org changed: What|Removed |Added CC||marc.glisse at normalesup

[Bug c++/51382] Incorrect diagnostic "cannot appear in a constant-expression"

2011-12-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51382 --- Comment #7 from Paolo Carlini 2011-12-02 10:13:02 UTC --- Sure, agreed on that.

[Bug c++/51382] Incorrect diagnostic "cannot appear in a constant-expression"

2011-12-01 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51382 --- Comment #6 from fabien at gcc dot gnu.org 2011-12-02 07:34:52 UTC --- (In reply to comment #4) > About the garbled error message - the second issue - the fix should be rather > trivial, just matter of handling USING_DECL in dump_expr together w

[Bug c++/51382] Incorrect diagnostic "cannot appear in a constant-expression"

2011-12-01 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51382 fabien at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/51382] Incorrect diagnostic "cannot appear in a constant-expression"

2011-12-01 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51382 --- Comment #4 from Paolo Carlini 2011-12-01 23:19:05 UTC --- About the garbled error message - the second issue - the fix should be rather trivial, just matter of handling USING_DECL in dump_expr together with the other *_DECL and forwarding to

[Bug c++/51382] Incorrect diagnostic "cannot appear in a constant-expression"

2011-12-01 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51382 --- Comment #3 from Paolo Carlini 2011-12-01 23:14:05 UTC --- Diego, I'm pretty sure this is a dup of PR51319.

[Bug c++/51382] Incorrect diagnostic "cannot appear in a constant-expression"

2011-12-01 Thread dnovillo at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51382 --- Comment #2 from dnovillo at google dot com 2011-12-01 22:39:02 UTC --- On Thu, Dec 1, 2011 at 17:19, paolo.carlini at oracle dot com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51382 > > --- Comment #1 from Paolo Carlini > 2011-12

[Bug c++/51382] Incorrect diagnostic "cannot appear in a constant-expression"

2011-12-01 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51382 --- Comment #1 from Paolo Carlini 2011-12-01 22:19:10 UTC --- PR51319 (or PRs referenced therein) ?