diff options
author | Richard Biener <rguenther@suse.de> | 2024-10-15 10:23:06 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-10-15 11:15:25 +0200 |
commit | 28982c271cbbed3580e4c7c784892694c3b6b2de (patch) | |
tree | a2d8380ff459b2d85586a5d882cbe872f6676bfb /libcpp/files.cc | |
parent | 79b881df72c946f2ba61879c36ae93b0cb974617 (diff) | |
download | gcc-28982c271cbbed3580e4c7c784892694c3b6b2de.zip gcc-28982c271cbbed3580e4c7c784892694c3b6b2de.tar.gz gcc-28982c271cbbed3580e4c7c784892694c3b6b2de.tar.bz2 |
tree-optimization/117138 - fix ICE with vector comparison in COND_EXPR
The range folding code of COND_EXPRs missed a check whether the
comparison operand type is supported.
PR tree-optimization/117138
* gimple-range-fold.cc (fold_using_range::condexpr_adjust):
Check if the comparison operand type is supported.
* gcc.dg/torture/pr117138.c: New testcase.
Diffstat (limited to 'libcpp/files.cc')
0 files changed, 0 insertions, 0 deletions