This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/61886] [4.8/4.9/5 Regression] LTO breaks fread with _FORTIFY_SOURCE=2
- From: "jakub at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 06 Oct 2014 22:38:48 +0000
- Subject: [Bug lto/61886] [4.8/4.9/5 Regression] LTO breaks fread with _FORTIFY_SOURCE=2
- Auto-submitted: auto-generated
- References: <bug-61886-4 at http dot gcc dot gnu dot org/bugzilla/>
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