Commit fb46286e by Richard Biener Committed by Richard Biener

re PR rtl-optimization/71984 (wrong code with -O -mavx512cd)

2016-08-04  Richard Biener  <rguenther@suse.de>

	PR middle-end/71984
	* gcc.dg/torture/pr71984.c: Guard correctness check for
	little-endian.

From-SVN: r239114
parent b29fcf3b
2016-08-04 Richard Biener <rguenther@suse.de>
PR middle-end/71984
* gcc.dg/torture/pr71984.c: Guard correctness check for
little-endian.
2016-08-03 Andrew Pinski <apinski@cavium.com>
* gcc.c-torture/compile/20160802-1.c: New testcase.
......
......@@ -15,7 +15,9 @@ int
main ()
{
u8 x = foo((v64u64){0x0706050403020100UL});
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
if (x != 5)
__builtin_abort ();
#endif
return 0;
}
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