This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/65536] LTO line number information garbled


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]