------- Comment #3 from burnus at gcc dot gnu dot org 2008-05-29 12:40 -------
Confirm.
==1593== Invalid read of size 1
==1593== at 0xB51CD1: linemap_add (line-map.c:111)
That is libcpp/line-map.c:111:
source_location start_location = set->highest_location + 1;
I quickly looked at the source code and in the debugger, but I could not find
the problem. I had to add more comment lines to the 8-line test case, otherwise
valgrind wouldn't diagnose the invalid read.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-05-29 12:40:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36276