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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr51505.c] - Rev 801

Go to most recent revision | Compare with Previous | Blame | View Log

/* PR rtl-optimization/51505 */
/* { dg-do compile } */
/* { dg-options "-O --param max-cse-insns=1" } */
struct S
{
char a[256];
};
 
int bar(struct S, char[16]);
 
void foo ()
{
  struct S u, s1, s2;
  char e[256];
  char i;
  e[i] = ~s1.a[i] & s2.a[i];
  if (bar(u, e))
    __builtin_abort ();
}
 

Go to most recent revision | 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.