This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/43064] improve location and text of diagnostics in constructor initializer lists
- From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Jul 2018 20:50:40 +0000
- Subject: [Bug c++/43064] improve location and text of diagnostics in constructor initializer lists
- Auto-submitted: auto-generated
- References: <bug-43064-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43064
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org
--- Comment #8 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Looks like we're passing plain INTEGER_CST nodes around in initializers.
Extending the location wrapper code to wrap all such constants (and not just in
function call params like in GCC 8) might well fix this.
Or maybe just extend it to initializers.