diff options
author | Richard Biener <rguenther@suse.de> | 2024-08-21 14:15:33 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-08-21 15:37:05 +0200 |
commit | 893cef363c46fa879b47d2b042c19c98bcd2b5f8 (patch) | |
tree | 0cb452ae6d0856ff63ba2e9310c2518d12bfa078 /libcpp | |
parent | f577959f420ae404f99f630dadc1c0370734d0da (diff) | |
download | gcc-893cef363c46fa879b47d2b042c19c98bcd2b5f8.zip gcc-893cef363c46fa879b47d2b042c19c98bcd2b5f8.tar.gz gcc-893cef363c46fa879b47d2b042c19c98bcd2b5f8.tar.bz2 |
tree-optimization/116406 - ICE with int<->float punning prevention
The following does away with the idea to use non-symmetrical
testing of mode_can_transfer_bits in hash-table equality testing.
It isn't feasible to always control query order to maintain
consistency.
PR tree-optimization/116406
* tree-ssa-sccvn.cc (vn_reference_eq): Never equate
float and int when the float mode cannot transfer bits.
Do not try to anticipate which is the mode we actually load
from.
* gcc.dg/tree-ssa/pr116406.c: New testcase.
* gcc.dg/tree-ssa/ssa-pre-30.c: On x86 dd -msse -mfpmath=sse.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions