diff options
author | David Malcolm <dmalcolm@redhat.com> | 2016-03-01 01:02:49 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2016-03-01 01:02:49 +0000 |
commit | 7168133a372e15373f3687d9b5e01ce24a954de9 (patch) | |
tree | 24b174cddca2c8a46a928dffe42c5c6b0c8718a4 /gcc/gensupport.c | |
parent | f3c7a94580c1ca9d78bc246be19750ebd047124f (diff) | |
download | gcc-7168133a372e15373f3687d9b5e01ce24a954de9.zip gcc-7168133a372e15373f3687d9b5e01ce24a954de9.tar.gz gcc-7168133a372e15373f3687d9b5e01ce24a954de9.tar.bz2 |
PR preprocessor/69985: fix ICE with long lines in -Wformat
gcc/testsuite/ChangeLog:
PR preprocessor/69985
* gcc.dg/cpp/pr69985.c: New test case.
libcpp/ChangeLog:
PR preprocessor/69985
(linemap_position_for_loc_and_offset): Rename param from "offset"
to "column_offset". Right-shift the column_offset by m_range_bits
of the pertinent ordinary map whenever offsetting a
source_location. For clarity, offset the column by the column
offset, rather than the other way around.
From-SVN: r233836
Diffstat (limited to 'gcc/gensupport.c')
0 files changed, 0 insertions, 0 deletions