OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20021007-1.c] - Diff between revs 297 and 338

Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 338
/* PR c/7411 */
/* PR c/7411 */
/* Verify that GCC simplifies the null addition to i before
/* Verify that GCC simplifies the null addition to i before
   virtual register substitution tries it and winds up with
   virtual register substitution tries it and winds up with
   a memory to memory move.  */
   a memory to memory move.  */
 
 
void foo ()
void foo ()
{
{
   int i = 0,j;
   int i = 0,j;
 
 
   i+=j=0;
   i+=j=0;
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.