[Bug tree-optimization/96514] [9/10 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
Fri Sep 11 12:12:07 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96514
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:a568a893f38a9cd32ddffd32bb9b6636deeeb5f1
commit r10-8747-ga568a893f38a9cd32ddffd32bb9b6636deeeb5f1
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