diff options
author | Richard Biener <rguenther@suse.de> | 2022-06-01 15:42:06 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-06-02 08:35:23 +0200 |
commit | 4a6b8d9aad9f68eec223cc126d9effbf45e37271 (patch) | |
tree | 9facd460dc0d8d3ad5ad0ac3918844ccb2a5866b /gcc/gcov-tool.cc | |
parent | 3164de6ac1b8473e60f6b85e94b15930694c80d7 (diff) | |
download | gcc-4a6b8d9aad9f68eec223cc126d9effbf45e37271.zip gcc-4a6b8d9aad9f68eec223cc126d9effbf45e37271.tar.gz gcc-4a6b8d9aad9f68eec223cc126d9effbf45e37271.tar.bz2 |
tree-optimization/105802 - another unswitching type issue
This also fixes the type of the irange used for unswitching of
switch statements.
PR tree-optimization/105802
* tree-ssa-loop-unswitch.cc (find_unswitching_predicates_for_bb):
Make sure to also compute the range in the type of the switch index.
* g++.dg/opt/pr105802.C: New testcase.
Diffstat (limited to 'gcc/gcov-tool.cc')
0 files changed, 0 insertions, 0 deletions