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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr51505.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR rtl-optimization/51505 */
2
/* { dg-do compile } */
3
/* { dg-options "-O --param max-cse-insns=1" } */
4
struct S
5
{
6
char a[256];
7
};
8
 
9
int bar(struct S, char[16]);
10
 
11
void foo ()
12
{
13
  struct S u, s1, s2;
14
  char e[256];
15
  char i;
16
  e[i] = ~s1.a[i] & s2.a[i];
17
  if (bar(u, e))
18
    __builtin_abort ();
19
}

powered by: WebSVN 2.1.0

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