aboutsummaryrefslogtreecommitdiff
path: root/libgcc/crtstuff.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-05-31 00:13:48 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-05-31 00:13:48 +0100
commitd72a3672c5450f76ca056b0bcc45b8dd55965802 (patch)
tree6b69441661652d6e8a63c134717bbe9eaf3f1894 /libgcc/crtstuff.c
parentb67b9225f72e4b2d58e535c78dbeff83f94c8f66 (diff)
downloadgcc-d72a3672c5450f76ca056b0bcc45b8dd55965802.zip
gcc-d72a3672c5450f76ca056b0bcc45b8dd55965802.tar.gz
gcc-d72a3672c5450f76ca056b0bcc45b8dd55965802.tar.bz2
PR c++/77777 improve location for diagnostic
Pass in the location of the invalid expression, not the next input location (which might be a comma or closing parenthesis on a different line). gcc/cp: PR c++/77777 * call.c (resolve_args): Use location of expression, not current input location. gcc/testsuite: PR c++/77777 * g++.dg/diagnostic/pr77777.C: New test. From-SVN: r260979
Diffstat (limited to 'libgcc/crtstuff.c')
0 files changed, 0 insertions, 0 deletions