diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2016-10-03 14:05:46 +0000 |
---|---|---|
committer | Bernd Edlinger <edlinger@gcc.gnu.org> | 2016-10-03 14:05:46 +0000 |
commit | 1adae327479aaff6d8020d9df6e401b7075c5672 (patch) | |
tree | bf3d97cb2d5979631ce86c0a5481f6a726caf672 /gcc/tree-ssa-threadbackward.c | |
parent | d07b0a23a5b00c9f51ff052f60c911013f036a7c (diff) | |
download | gcc-1adae327479aaff6d8020d9df6e401b7075c5672.zip gcc-1adae327479aaff6d8020d9df6e401b7075c5672.tar.gz gcc-1adae327479aaff6d8020d9df6e401b7075c5672.tar.bz2 |
re PR preprocessor/77699 (suspicious code in get_next_line)
2016-10-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR preprocessor/77699
* input.c (maybe_grow): Don't allocate one byte extra headroom.
(get_next_line): Return false on error.
(read_next_line): Removed, use get_next_line instead.
(read_line_num): Don't copy the line.
(location_get_source_line): Don't use static data.
(selftest::test_reading_source_line): Add more test cases.
From-SVN: r240713
Diffstat (limited to 'gcc/tree-ssa-threadbackward.c')
0 files changed, 0 insertions, 0 deletions