http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
CC| |dodji at gcc dot gnu.org
Component|c++ |pch
Target Milestone|--- |4.7.0
Summary|Options "-g3" or "-ggdb3" |[4.7 Regression] Options
|or "-g3 -gdwarf-2" and |"-g3" or "-ggdb3" or "-g3
|other "-g..level3" - |-gdwarf-2" and other
|internal compiler error |"-g..level3" - internal
| |compiler error
--- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-03
09:07:39 UTC ---
Confirmed with the recipie in comment #8 (using glibc 2.11.1 headers). It's
enough to use -g3 vs. -g2, suspect Dodji's work here.
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff61f4f58 in *__GI___libc_free (mem=0x10000030b0) at malloc.c:3736
3736 malloc.c: No such file or directory.
in malloc.c
(gdb) up
#1 0x00000000009cf9c7 in output_macinfo ()
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:20940
20940 free (CONST_CAST (char *, ref->info));
(gdb) p *ref
$2 = {code = 5 '\005', lineno = 1, info = 0x10000030b0 "__STDC__ 1"}