Commit 1db2f288 by Alan Modra Committed by Alan Modra

re PR tree-optimization/44507 (vectorization ANDs array elements together incorrectly)

	PR tree-optimization/44507
	* gcc.dg/vect/pr44507.c (seeIf256ByteArrayIsConstant): Correct cast.

From-SVN: r160821
parent 39f579c7
2010-06-16 Alan Modra <amodra@gmail.com>
PR tree-optimization/44507
* gcc.dg/vect/pr44507.c (seeIf256ByteArrayIsConstant): Correct cast.
2010-06-15 Jason Merrill <jason@redhat.com>
* g++.dg/overload/arg3.C: Adjust error locations.
......
......@@ -16,7 +16,7 @@ int seeIf256ByteArrayIsConstant(
index < 64;
index += (int)sizeof(unsigned int))
{
curVal = *((unsigned long *)(&pArray[index]));
curVal = *((unsigned int *)(&pArray[index]));
orVal = orVal | curVal;
andVal = andVal & curVal;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment