aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/scanner.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2016-02-23 17:44:28 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2016-02-23 17:44:28 +0000
commit196440f844be32600507b6a026bca318675d5cd0 (patch)
tree6c0de6232fb3db3c73408db9d8aeaa7ce4297065 /gcc/fortran/scanner.c
parent1d3121af3ad1eb7eb240b0b949d4b57415497463 (diff)
downloadgcc-196440f844be32600507b6a026bca318675d5cd0.zip
gcc-196440f844be32600507b6a026bca318675d5cd0.tar.gz
gcc-196440f844be32600507b6a026bca318675d5cd0.tar.bz2
PR preprocessor/69126: avoid comparing ad-hoc and non-ad-hoc locations
gcc/testsuite/ChangeLog: PR preprocessor/69126 PR preprocessor/69543 * c-c++-common/pr69126-2-long.c: New test. * c-c++-common/pr69126-2-short.c: New test. * c-c++-common/pr69543-1.c: Remove xfail. libcpp/ChangeLog: PR preprocessor/69126 PR preprocessor/69543 * line-map.c (linemap_compare_locations): At the function top, replace inlined bodies of get_location_from_adhoc_loc with calls to get_location_from_adhoc_loc. Add a pair of calls to get_location_from_adhoc_loc at the bottom of the function, to avoid meaningless comparisons of ad-hoc and non-ad-hoc locations. From-SVN: r233638
Diffstat (limited to 'gcc/fortran/scanner.c')
0 files changed, 0 insertions, 0 deletions