aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20021007-1.c
blob: de4c0defae9f21adb0eff110394115c78aac2ca4 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR c/7411 */
/* Verify that GCC simplifies the null addition to i before
   virtual register substitution tries it and winds up with
   a memory to memory move.  */
                        
void foo ()     
{
   int i = 0,j;
 
   i+=j=0;
}