[patch] Fix bogus source locations with optimization

Eric Botcazou ebotcazou@adacore.com
Mon Mar 28 21:20:00 GMT 2011


> Oh, I didn't realize curr_location is of type location_t.  I'm not very
> familiar with these bits.  Btw, insn_locators_alloc initializes it with -1
> while it should probably initialize it with UNKNOWN_LCOATION as well.

Indeed, will adjust them afterwards.

> So it looks like the patch is perfect after all.  And ok.

Thanks.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list