diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-11-09 18:09:44 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-11-09 18:09:44 +0100 |
commit | c47bee97fa9927563a5015b28e24a5505ba557a3 (patch) | |
tree | 25d71a8d63b489e51267aa227f35fdd7caf84c5d /gcc/coverage.c | |
parent | b03932cb99afb634786a8000e447fb21fad115d0 (diff) | |
download | gcc-c47bee97fa9927563a5015b28e24a5505ba557a3.zip gcc-c47bee97fa9927563a5015b28e24a5505ba557a3.tar.gz gcc-c47bee97fa9927563a5015b28e24a5505ba557a3.tar.bz2 |
re PR tree-optimization/92401 (ICE in fold_ternary_loc, at fold-const.c:11698)
PR tree-optimization/92401
* gimple-match-head.c (gimple_resimplify1): Call const_unop only
if res_op->code is an expression with code length 1.
* gimple-match-head.c (gimple_resimplify2): Call const_binop only
if res_op->code is an expression with code length 2.
* gimple-match-head.c (gimple_resimplify3): Call fold_ternary only
if res_op->code is an expression with code length 3.
* g++.dg/opt/pr92401.C: New test.
From-SVN: r278004
Diffstat (limited to 'gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions