[Bug tree-optimization/96514] [9 Regression] ICE: verify_flow_info failed (error: control flow in the middle of basic block 3)
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 2 12:21:11 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96514
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:6178c27b4bbea186305ecbfeb4b9939dece75a9d
commit r9-9086-g6178c27b4bbea186305ecbfeb4b9939dece75a9d
Author: Richard Biener <rguenther@suse.de>
Date: Fri Aug 7 10:16:05 2020 +0200
tree-optimization/96514 - avoid if-converting control-altering calls
This avoids if-converting when encountering control-altering calls.
2020-08-07 Richard Biener <rguenther@suse.de>
PR tree-optimization/96514
* tree-if-conv.c (if_convertible_bb_p): If the last stmt
is a call that is control-altering, fail.
* gcc.dg/pr96514.c: New testcase.
(cherry picked from commit c3f94f5786a014515c09c7852db228c74adf51e5)
More information about the Gcc-bugs
mailing list