[Bug c/57653] filename information discarded when using -imacros
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jun 23 13:49:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653
--- Comment #12 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Allan McRae from comment #11)
> Created attachment 30345 [details]
> log of gdb session
>
> Here is the log from my gdb session.
>
> Arch builds with no patches, just a could of small sed lines that should not
> affect this. See our build script (plain bash):
> https://projects.archlinux.org/svntogit/packages.git/tree/trunk/
> PKGBUILD?h=packages/gcc
Does it do a full bootstrap? My gdb session looks more optimized than yours.
Perhaps it is a bug in the host compiler?
My version also does not ever execute this:
Breakpoint 1, linemap_add (set=0x7ffff7ff9000, reason=LC_ENTER, sysp=2,
to_file=0x140e270 "/usr/include/stdc-predef.h", to_line=1)
at /build/gcc-git/src/gcc/libcpp/line-map.c:291
In fact, I don't have this file.
manuel@gcc10:~$ cat /etc/debian_version
6.0.6
so the presence of the file may make a difference (unfortunately, I don't have
root access to gcc10 to fake the file and test).
More information about the Gcc-bugs
mailing list