[Bug tree-optimization/98455] [11 Regression] ICE: verify_gimple failed (error: invalid 'PHI' argument; error: incompatible types in 'PHI' argument 2) since r11-5642-gc961e94901eb793b
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 13 10:33:48 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98455
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:7875e8dc831f30eec7203e090a209efe4c01a27d
commit r11-6635-g7875e8dc831f30eec7203e090a209efe4c01a27d
Author: Martin Liska <mliska@suse.cz>
Date: Tue Jan 12 13:40:44 2021 +0100
if-to-switch: fix also virtual phis
gcc/ChangeLog:
PR tree-optimization/98455
* gimple-if-to-switch.cc (condition_info::record_phi_mapping):
Record also virtual PHIs.
(pass_if_to_switch::execute): Return TODO_cleanup_cfg only
conditionally.
gcc/testsuite/ChangeLog:
PR tree-optimization/98455
* gcc.dg/tree-ssa/pr98455.c: New test.
More information about the Gcc-bugs
mailing list