This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/49308] [4.7 Regression] segfault in rest_of_handle_ud_dce () at gcc/gcc/dce.c:518


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49308

--- Comment #6 from Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> 2011-06-07 07:45:53 UTC ---
(In reply to comment #5)
> Your gdb is very old.
> Then
> rm dce.o; make CFLAGS="-g -O0" cc1 cc1plus f951
> and retry.

upgraded gdb instead (7.2). Now I have:

(gdb) p *defs
Cannot access memory at address 0xafafafafafafafaf
(gdb) p *defs->ref
Cannot access memory at address 0xafafafafafafafaf
(gdb) p (*use_rec)->base.chain
$1 = (struct df_link *) 0xafafafafafafafaf
(gdb) p (*use_rec)
$2 = (df_ref) 0x1638760


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]