diff options
author | Richard Biener <rguenther@suse.de> | 2023-06-23 10:08:50 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-06-23 11:22:39 +0200 |
commit | 4127e0f3313c961b4b4e5efad85a25c40c2510c2 (patch) | |
tree | cea7bd96181360e0621cc50ead3563b59783c825 /libcpp/charset.cc | |
parent | 1fe09b90f856ba27c3e44dda156b28adb5d4d8ea (diff) | |
download | gcc-4127e0f3313c961b4b4e5efad85a25c40c2510c2.zip gcc-4127e0f3313c961b4b4e5efad85a25c40c2510c2.tar.gz gcc-4127e0f3313c961b4b4e5efad85a25c40c2510c2.tar.bz2 |
Properly guard vect_look_through_possible_promotion
The function ends up getting called on VECTOR_TYPEs which it
really isn't prepared for and with the TYPE_PRECISION checking
changes will ICE. The following exits early when the type
to work on isn't scalar integral.
* tree-vect-patterns.cc (vect_look_through_possible_promotion):
Exit early when the type isn't scalar integral.
Diffstat (limited to 'libcpp/charset.cc')
0 files changed, 0 insertions, 0 deletions