diff options
author | Richard Biener <rguenther@suse.de> | 2022-03-22 12:28:30 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-03-22 14:05:18 +0100 |
commit | 08f263e703c4100fa7b9f08cb26cee6c0bd75e4a (patch) | |
tree | 73f342eb7ef4faaae9f3266b2481e882ae4b52ce /gcc/fold-const.cc | |
parent | ef0e11ac88a1d7833cff5ec9ab26e99991d053c9 (diff) | |
download | gcc-08f263e703c4100fa7b9f08cb26cee6c0bd75e4a.zip gcc-08f263e703c4100fa7b9f08cb26cee6c0bd75e4a.tar.gz gcc-08f263e703c4100fa7b9f08cb26cee6c0bd75e4a.tar.bz2 |
tree-optimization/105012 - fix ICE from local DSE of if-conversion
The following guards dse_classify_store with the same condition as
the DSE pass does - availability of a virtual definition. For
the PR we run into the fortran frontend generating a clobber for
a FUNCTION_DECL lhs which is ignored by the operand scanner and has
no virtual operands assigned. Apart from fixing the frontend the
following fixes the ICE by adjusting if-conversion.
2022-03-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/105012
* tree-if-conv.cc (ifcvt_local_dce): Only call
dse_classify_store when we have a VDEF.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions