[Bug c++/50943] asm goto in templated code causes internal compiler segfaults
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 1 13:16:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50943
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-11-01
Ever Confirmed|0 |1
Known to fail| |4.7.0
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-11-01 13:15:42 UTC ---
Confirmed. The frontend fails to re-map the labels in the asm goto statement
leading to disagreement at gimplification time:
stmt <cleanup_point_expr 0x14248dbb8 type <void_type 0x14233abd0 void>
side-effects tree_1
arg 0 <asm_expr 0x142324b40 type <void_type 0x14233abd0 void>
side-effects public
..
arg 4 <tree_list 0x14248dac8
purpose <string_cst 0x142489f40 constant "other"> value
<label_decl 0x14248e080 other>>
...
stmt <label_expr 0x14248dc08 type <void_type 0x14233abd0 void>
side-effects
arg 0 <label_decl 0x14248e200 other type <void_type 0x14233abd0 void>
VOID file t.ii line 7 col 1
align 1 context <function_decl 0x142481500 work> initial
<error_mark 0x142329d68>>
t.ii:7:1>
More information about the Gcc-bugs
mailing list