Add a testcase for PR tree-optimization/63835

PR tree-optimization/63835
	* gcc.dg/pr63835.c: New test.

From-SVN: r217441
This commit is contained in:
H.J. Lu 2014-11-12 18:56:50 +00:00 committed by H.J. Lu
parent 2a49c16d6b
commit 3e147937ea
2 changed files with 21 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2014-11-12 H.J. Lu <hongjiu.lu@intel.com>
PR tree-optimization/63835
* gcc.dg/pr63835.c: New test.
2014-11-12 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/simd/vqdmlal_high_lane_s16_indices_1.c: New test.

View file

@ -0,0 +1,16 @@
/* { dg-do compile } */
/* { dg-options "-Os" } */
int a;
int
fn1 (int p)
{
return -p;
}
void
fn2 ()
{
fn1 (-(unsigned int) a);
}