Commit 9763b6a7 by Pitchumani Sivanupandi Committed by Mike Stump

sra-13.c: Fix for 16 bit int.

2013-04-02  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	    * gcc.dg/tree-ssa/sra-13.c: Fix for 16 bit int.

From-SVN: r197366
parent 7a80735b
2013-04-02 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
* gcc.dg/tree-ssa/sra-13.c: Fix for 16 bit int.
2013-04-02 Richard Biener <rguenther@suse.de>
PR tree-optimization/56778
......
......@@ -95,7 +95,7 @@ main (void)
b = 0;
gu1.b.l = 20000000;
s = bar ();
if (s != 20000000)
if (s != (int)20000000)
__builtin_abort ();
if (gu2.b.l != 20000000)
__builtin_abort ();
......
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