[Bug tree-optimization/97378] [11 Regression] ICE in tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 since r11-3685-gfcae5121154d1c33
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 12 16:53:09 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97378
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Aldy Hernandez <aldyh@gcc.gnu.org>:
https://gcc.gnu.org/g:82118acc18e416b9c82c82ce7737f5e6246d6574
commit r11-3830-g82118acc18e416b9c82c82ce7737f5e6246d6574
Author: Aldy Hernandez <aldyh@redhat.com>
Date: Mon Oct 12 10:41:21 2020 -0400
operator_trunc_mod::wi_fold: Return VARYING for mod by zero.
gcc/ChangeLog:
PR tree-optimization/97378
* range-op.cc (operator_trunc_mod::wi_fold): Return VARYING for mod
by zero.
gcc/testsuite/ChangeLog:
* gcc.dg/pr97378.c: New test.
More information about the Gcc-bugs
mailing list