diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2022-08-08 15:13:51 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2022-08-08 16:08:51 -0400 |
commit | ef623bb58594958a7959f8f031f65a50eb0e5890 (patch) | |
tree | 857027e0fbb693afd507c6c34169a3802ba036c8 /gcc/errors.cc | |
parent | 053876cdbe8057210e6f4da4eec2df58f92ccd4c (diff) | |
download | gcc-ef623bb58594958a7959f8f031f65a50eb0e5890.zip gcc-ef623bb58594958a7959f8f031f65a50eb0e5890.tar.gz gcc-ef623bb58594958a7959f8f031f65a50eb0e5890.tar.bz2 |
Evaluate condition arguments with the correct type.
Processing of a cond_expr requires that a range of the correct type for the
operands of the cond_expr is passed in.
PR tree-optimization/106556
gcc/
* gimple-range-gori.cc (gori_compute::condexpr_adjust): Use the
type of the cond_expr operands being evaluted.
gcc/testsuite/
* gfortran.dg/pr106556.f90: New.
Diffstat (limited to 'gcc/errors.cc')
0 files changed, 0 insertions, 0 deletions