https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71572
Vegard Nossum <vegard.nossum at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vegard.nossum at gmail dot com
--- Comment #3 from Vegard Nossum <vegard.nossum at gmail dot com> ---
FWIW this still ICEs on latest trunk (r258271) for me. It also reproduces using
"+r" instead of "+g".
An alternative test case (which is admittedly invalid code) is:
void f() {
int a[0 / 0];
asm("" : "+r" (a));
}