URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gcc.dg/] [pr26427.c] - Rev 839
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-warning "this target does not support" } */ /* { dg-do run { target { *-*-darwin* } } } */ /* { dg-options { -fsection-anchors -O } } */ /* PR target/26427 */ struct a {}; static const int d = 1; static const struct a b = {}; static const int c = 1; int f(const int *, const struct a *, const int*, const int*); int g(void) { return f(&c, &b, &d, &c); } int f(const int *b, const struct a *c, const int *d, const int *e) { return *b == *d; } int main(void) { if (!g()) __builtin_abort(); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log