diff options
author | Dorit Nuzman <dorit@il.ibm.com> | 2007-09-12 07:09:38 +0000 |
---|---|---|
committer | Dorit Nuzman <dorit@gcc.gnu.org> | 2007-09-12 07:09:38 +0000 |
commit | 220e82b4ef8828d304c75096ccef70ccbd1b6259 (patch) | |
tree | 18bb8c77492d8df34a4817732cf34d1240279236 /gcc/testsuite/gcc.dg | |
parent | bf019a1f7f992a1feb985c4b656e527475e73a30 (diff) | |
download | gcc-220e82b4ef8828d304c75096ccef70ccbd1b6259.zip gcc-220e82b4ef8828d304c75096ccef70ccbd1b6259.tar.gz gcc-220e82b4ef8828d304c75096ccef70ccbd1b6259.tar.bz2 |
re PR tree-optimization/33373 (ICE in vectorizable_type_demotion, at tree-vect-transform.c:4098)
PR tree-optimization/33373
* tree-vect-analyze (vect_determine_vectorization_factor): Call
TREE_INT_CST_LOW when comparing TYPE_SIZE_UNIT.
From-SVN: r128415
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/pr33373.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/pr33373.c b/gcc/testsuite/gcc.dg/vect/pr33373.c new file mode 100644 index 0000000..b11cfb4 --- /dev/null +++ b/gcc/testsuite/gcc.dg/vect/pr33373.c @@ -0,0 +1,8 @@ +/* { dg-do compile } */ +void DOSMEM_FillIsrTable(int*isr) { + int i; + + for (i=0; i<256; i++) + isr[i]=(((short)((i*4) & 0xFFFF)) | (0xf000 & 0xFFFF) << 16); +} +/* { dg-final { cleanup-tree-dump "vect" } } */ |