tree-optimization/112369 - strip_float_extensions and vectors
commitd803438e0c4016aff720fad418377c5b13567063
authorRichard Biener <rguenther@suse.de>
Mon, 6 Nov 2023 07:58:18 +0000 (6 08:58 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 6 Nov 2023 08:55:27 +0000 (6 09:55 +0100)
treedb7dacb71da4e2456017c0b1b0adbbd0a6e7f8c2
parent3f9ff6e81b2554ed87131b3c6d25cf72130fbbfc
tree-optimization/112369 - strip_float_extensions and vectors

The following fixes an error in strip_float_extensions when facing
vector conversions.

PR tree-optimization/112369
* tree.cc (strip_float_extensions): Use element_precision.

* gcc.dg/pr112369.c: New testcase.
gcc/testsuite/gcc.dg/pr112369.c [new file with mode: 0644]
gcc/tree.cc