]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/110506 - ICE in pattern recog with TYPE_PRECISION
authorRichard Biener <rguenther@suse.de>
Mon, 3 Jul 2023 07:17:06 +0000 (09:17 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 3 Jul 2023 08:02:25 +0000 (10:02 +0200)
commit000590c074615cbfffb6ad854a6474e623801460
treee685d82ce050283de2c70be172f6085ff8a3e697
parentbd7e9856fe5bbeb487797476c4fffb660f63cf4f
tree-optimization/110506 - ICE in pattern recog with TYPE_PRECISION

The following re-orders checks to make sure we check TYPE_PRECISION
on an integral type.

PR tree-optimization/110506
* tree-vect-patterns.cc (vect_recog_rotate_pattern): Re-order
TYPE_PRECISION access with INTEGRAL_TYPE_P check.

* gcc.dg/pr110506-2.c: New testcase.
gcc/testsuite/gcc.dg/pr110506-2.c [new file with mode: 0644]
gcc/tree-vect-patterns.cc
This page took 0.06069 seconds and 5 git commands to generate.