[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 22 14:46:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257
--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #4)
> Adding a nop before the .byte fixes this:
> + if (debug_info_level >= DINFO_LEVEL_TERSE)
> + fputs ("\tnop\n", asm_out_file);
Hmm, this'll probably break bootstrap-debug. So I'll need to add the nop
unconditionally.
More information about the Gcc-bugs
mailing list