[Bug ipa/93763] [10 Regression] ice in propagate_vals_across_arith_jfunc, at ipa-cp.c:2039

asolokha at gmx dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 25 10:40:00 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93763

--- Comment #9 from Arseny Solokha <asolokha at gmx dot com> ---
(In reply to David Binderman from comment #8)
> (In reply to CVS Commits from comment #7)
> >     Seems the test has been badly reduced (if the original doesn't emit
> >     warnings, it is always better in the reduction script avoid introducing
> > new     ones).
> 
> I am no expert at creduce. Any guidance on suitable flags for this
> case, or indeed the general case, would be most welcome.
> 
> Should, for instance, -std=xyz flags be preserved ?

Sorry for intervening. If you ask me, I have this in my reduction script:

$GCCBINARY_GOOD -w -c $GCCOPTS_GOOD $INPUTFILE || exit 1
timeout 8 $GCCBINARY_BAD -w -c $GCCOPTS_BAD $INPUTFILE > $OUTPUTFILE 2>&1 &&
exit 1

where $GCCBINARY_BAD obviously corresponds to a version that has an issue in
question and $GCCBINARY_GOOD to a version that doesn't, similarly for the sets
of flags. It works in most cases where ICEs happen on inherently valid code.


More information about the Gcc-bugs mailing list