[Bug c++/92974] diagnostic missing source information

2019-12-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92974 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92974] diagnostic missing source information

2019-12-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92974 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Fri Dec 20 23:25:44 2019 New Revision: 279685 URL: https://gcc.gnu.org/viewcvs?rev=279685=gcc=rev Log: PR c++/92974 - bogus location for enum and non-enum in ?: warning.

[Bug c++/92974] diagnostic missing source information

2019-12-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92974 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/92974] diagnostic missing source information

2019-12-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92974 --- Comment #2 from Marek Polacek --- We have a good location when processing the template: (gdb) p loc $4 = (const op_location_t &) @0x7fffc3d0: {m_operator_loc = 0, m_combined_loc = 2147483648} (gdb) p loc.m_combined_loc $5 = 2147483648

[Bug c++/92974] diagnostic missing source information

2019-12-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92974 Marek Polacek changed: What|Removed |Added Keywords||diagnostic