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:
parent
2a49c16d6b
commit
3e147937ea
2 changed files with 21 additions and 0 deletions
|
@ -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.
|
||||
|
|
16
gcc/testsuite/gcc.dg/pr63835.c
Normal file
16
gcc/testsuite/gcc.dg/pr63835.c
Normal 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);
|
||||
}
|
Loading…
Add table
Reference in a new issue