[Bug c/92249] ICE in c_parser_gimple_compound_statement w/ GIMPLE testcases
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 28 09:05:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92249
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2019-10-28
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Arseny Solokha from comment #0)
> gcc-10.0.0-alpha20191027 snapshot (r277495) and 9.2 ICE when compiling the
> following testcase reduced from testsuite/gcc.dg/vect/slp-reduc-10[abcde].c
> (added in r277406) w/ -fgimple:
>
> void __GIMPLE (ssa)
> foo (void)
> {
> return;
> }
That's invalid GIMPLE source for SSA GIMPLE. I expect there are very many
ice-on-invalid here. I'll fix this one though.
> gcc fails on the original testcases w/ -fno-gimple:
>
> % gcc-10.0.0-alpha20191027 -fno-gimple -c
> gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c
> gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c:5:5: error: '__GIMPLE' only valid
> with '-fgimple'
> 5 | int __GIMPLE (ssa,guessed_local(118111600),startwith("dce3"))
> | ^~~~~~~~
That's expected.
More information about the Gcc-bugs
mailing list