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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR target/48213 */
2
/* { dg-do compile } */
3
/* { dg-options "-g -O2" } */
4
/* { dg-options "-g -O2 -fpic" { target fpic } } */
5
 
6
struct S { int (*s) (void); };
7
int bar (void);
8
 
9
void
10
foo (struct S *x)
11
{
12
  if (x->s != bar)
13
    bar ();
14
}

powered by: WebSVN 2.1.0

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