aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde@tbsaunde.org>2021-07-07 21:30:03 -0400
committerTrevor Saunders <tbsaunde@tbsaunde.org>2021-07-15 01:10:34 -0400
commit329769b72001dcca18a120ab751f58de1b716ff8 (patch)
tree8e5ea3b9fd2f4f396aa894207b07dab508cca9d8 /gcc/gimplify.c
parent28ca8446417d1af3ea00912e76ff46244b2a4075 (diff)
downloadgcc-329769b72001dcca18a120ab751f58de1b716ff8.zip
gcc-329769b72001dcca18a120ab751f58de1b716ff8.tar.gz
gcc-329769b72001dcca18a120ab751f58de1b716ff8.tar.bz2
use diagnostic location in diagnostic_report_current_function
It appears that input_location was used here before the diagnostic's location was available, and never updated, when the other part of the header was added that uses it, so this makes it consistent. gcc/ChangeLog: * tree-diagnostic.c (diagnostic_report_current_function): Use the diagnostic's location, not input_location. Signed-off-by: Trevor Saunders <tbsaunde@tbsaunde.org>
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions