[Bug tree-optimization/97381] [11 Regression] ice error: invalid types in nop conversion
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 12 18:06:20 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97381
--- Comment #6 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:46f4a397ab0907ce5786e1f0b92030a73e8b89ef
commit r11-3836-g46f4a397ab0907ce5786e1f0b92030a73e8b89ef
Author: Andrew MacLeod <amacleod@redhat.com>
Date: Mon Oct 12 13:00:12 2020 -0400
Do not ignore failures from gimple_range_calc_op2.
We were ignoring the return value if op2 returned false and getting garbage
ranges propagated.
gcc/ChangeLog:
PR tree-optimization/97381
* gimple-range-gori.cc (gori_compute::compute_operand2_range): If a
range cannot be
calculated through operand 2, return false.
gcc/testsuite/ChangeLog:
* gcc.dg/pr97381.c: New test.
More information about the Gcc-bugs
mailing list