[Bug target/100530] [9/10/11/12 Regression] ICE with -g: in add_dwarf_attr with __seg_gs (Alternative address-space) global variable since r8-4385-ga297ccb52e0c894e
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jun 11 16:22:20 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100530
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcb314 at hotmail dot com
--- Comment #4 from David Binderman <dcb314 at hotmail dot com> ---
I see this also with the source code for ./gcc.target/i386/pr100936.c
and flag -g:
$ /home/dcb/gcc/results.20210611.asan.ubsan/bin/gcc -c -g
./gcc.target/i386/pr100936.c
./gcc.target/i386/pr100936.c:5:1: internal compiler error: in add_dwarf_attr,
at
dwarf2out.c:4493
5 | __seg_gs int var;
| ^~~~~~~~
0x88a057 add_dwarf_attr(die_struct*, dw_attr_struct*)
../../trunk.git/gcc/dwarf2out.c:4493
More information about the Gcc-bugs
mailing list