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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [cxxbitfields-6.c] - Rev 686

Compare with Previous | Blame | View Log

/* PR middle-end/50141 */
/* { dg-do compile } */
/* { dg-options "-O2 --param allow-store-data-races=0" } */
 
struct S
{
  int i:8;
};
 
void bar (struct S, int);
 
void
foo (struct S s, int i)
{
  s.i = i;
  bar (s, i);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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