[PATCH][GCC] Fix oversized shifts in PR/88903 testcase.

Tamar Christina Tamar.Christina@arm.com
Mon Jan 21 15:58:00 GMT 2019


Hi All,

The testcase for PR/tree-optimization 88903 hits
undefined behavior for the overwide shifts.  This is
causing the testcases to fail for all Arm platforms.

This updates the testcase to add an explicit & such
that the behavior is consistent.

Regtested on aarch64-none-linux-gnu and no issues.

Ok for trunk?

Thanks,
Tamar

gcc/testsuite/ChangeLog:

2019-01-21  Tamar Christina  <tamar.christina@arm.com>

	PR/tree-optimization 88903
	* gcc.dg/vect/pr88903-1.c: Add explicit &.

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb10608.patch
Type: text/x-diff
Size: 729 bytes
Desc: rb10608.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190121/c33bf3dc/attachment.bin>


More information about the Gcc-patches mailing list