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] | |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50317
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-27 10:16:54 UTC ---
So with the optimization it at least should not print
(gdb) print *p[1]
Cannot access memory at address 0x0
but instead
(gdb) print *p[1]
<optimized out>
not sure if that is a gdb bug though ('p' is optimized out - does the
debug info say that 'p' is zero?). Jan, can you investigate that at
the gdb side?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |