[Bug lto/65536] LTO line number information garbled
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 25 23:36:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65536
--- Comment #39 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #36)
> Manuel,
> I returned back looking for reason lines are going out wrong when we get
> short on locators. I do not understand the following code:
I just noticed that linemap_add increases the highest_location by one everytime
it is called, but there is no overflow check there. Thus, the source_locations
may indeed overflow.
More information about the Gcc-bugs
mailing list