]> gcc.gnu.org Git - gcc.git/commit
diagnostic-show-locus: tweak rejection logic
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 2 Jul 2021 19:19:44 +0000 (15:19 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 2 Jul 2021 19:19:44 +0000 (15:19 -0400)
commit83dd64bdada58b3ca0aa53495a02fd2b3c3dd4d4
tree8b33109f272da63cd7c282655463b89d7a99b00b
parent8d58bfb78c8dc6f5bdf7786b96f26329e0d36b80
diagnostic-show-locus: tweak rejection logic

gcc/ChangeLog:
* diagnostic-show-locus.c (diagnostic_show_locus): Don't reject
printing the same location twice if there are fix-it hints,
multiple locations, or a label.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/diagnostic-show-locus.c
This page took 0.06015 seconds and 6 git commands to generate.