This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/43064] improve location and text of diagnostics in constructor initializer lists


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]