[Bug lto/61886] [4.8/4.9/5 Regression] LTO breaks fread with _FORTIFY_SOURCE=2

jakub at redhat dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 6 22:38:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61886

--- Comment #16 from Jakub Jelinek <jakub at redhat dot com> ---
On Tue, Oct 07, 2014 at 12:18:24AM +0200, Jan Hubicka wrote:
> > On Mon, Oct 06, 2014 at 11:55:23PM +0200, Jan Hubicka wrote:
> > > Hi,
> > > I am testing this variant of the patch.
> > > For gcc-4.9 branch it may make sense to enable the new patch for LTO only.
> > 
> > Not printing the inlining backtrace would be IMHO a significant regression.
> 
> OK, how do I print it?  I keep the BLOCK of the original expresison, so it is there.

%K in the format string, assuming the call has locus with the right block,
should do that.  At least with -g, without -g or with LTO it will be less
accurate.

    Jakub



More information about the Gcc-bugs mailing list