This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51382] Incorrect diagnostic "cannot appear in a constant-expression"
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 01 Dec 2011 23:19:05 +0000
- Subject: [Bug c++/51382] Incorrect diagnostic "cannot appear in a constant-expression"
- Auto-submitted: auto-generated
- References: <bug-51382-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51382
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 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 dump_decl.