This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] for PR21817


Hello,

for_each_index does not handle VECTOR_CST, which causes this PR.
Bootstrapped & regtested on i686.

Zdenek

	PR tree-optimization/21817
	* tree-ssa-loop-im.c (for_each_index): Handle VECTOR_CST.

Index: tree-ssa-loop-im.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-loop-im.c,v
retrieving revision 2.28
diff -c -3 -p -r2.28 tree-ssa-loop-im.c
*** tree-ssa-loop-im.c	19 Feb 2005 09:25:59 -0000	2.28
--- tree-ssa-loop-im.c	30 May 2005 14:25:15 -0000
*************** for_each_index (tree *addr_p, bool (*cbc
*** 194,199 ****
--- 194,200 ----
  	case PARM_DECL:
  	case STRING_CST:
  	case RESULT_DECL:
+ 	case VECTOR_CST:
  	  return true;
  
  	default:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]