commit | ef623bb58594958a7959f8f031f65a50eb0e5890 | [log] [tgz] |
---|---|---|
author | Andrew MacLeod <amacleod@redhat.com> | Mon Aug 08 15:13:51 2022 -0400 |
committer | Andrew MacLeod <amacleod@redhat.com> | Mon Aug 08 16:08:51 2022 -0400 |
tree | 857027e0fbb693afd507c6c34169a3802ba036c8 | |
parent | 053876cdbe8057210e6f4da4eec2df58f92ccd4c [diff] |
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.