]> git.ipfire.org Git - thirdparty/gcc.git/commit
Avoid shorten_binary_op on VECTOR_TYPE
authorRichard Biener <rguenther@suse.de>
Fri, 23 Jun 2023 08:01:38 +0000 (10:01 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 26 Jun 2023 11:02:35 +0000 (13:02 +0200)
commit5b3d421be747386349981c6291f0af1756b1112c
tree78f334048be3fdf3afc1c691d8a1d00d6ccbf1b7
parentc3bdee86183b3d84f269e9775b2603f8f8221417
Avoid shorten_binary_op on VECTOR_TYPE

When we disallow TYPE_PRECISION on VECTOR_TYPEs it shows that
shorten_binary_op performs some checks on that that are likely
harmless in the end.  The following bails out early for
VECTOR_TYPE operations to avoid those questionable checks.

gcc/c-family/
* c-common.cc (shorten_binary_op): Exit early for VECTOR_TYPE
operations.
gcc/c-family/c-common.cc