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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [vrp-7.c] - Diff between revs 149 and 154

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

Rev 149 Rev 154
 
 
void abort (void);
void abort (void);
 
 
struct T
struct T
{
{
  int b : 1;
  int b : 1;
} t;
} t;
 
 
void __attribute__((noinline)) foo (int f)
void __attribute__((noinline)) foo (int f)
{
{
  t.b = (f & 0x10) ? 1 : 0;
  t.b = (f & 0x10) ? 1 : 0;
}
}
 
 
int main (void)
int main (void)
{
{
  foo (0x10);
  foo (0x10);
  if (!t.b)
  if (!t.b)
    abort ();
    abort ();
  return 0;
  return 0;
}
}
 
 

powered by: WebSVN 2.1.0

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