URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20030811-1.c] - Rev 825
Go to most recent revision | Compare with Previous | Blame | View Log
/* Origin: PR target/11535 from H. J. Lu <hjl@lucon.org> */ void vararg (int i, ...) { (void) i; } int i0[0], i1; void test1 (void) { int a = (int) (long long) __builtin_return_address (0); vararg (0, a); } void test2 (void) { i0[0] = (int) (long long) __builtin_return_address (0); } void test3 (void) { i1 = (int) (long long) __builtin_return_address (0); } void test4 (void) { volatile long long a = (long long) __builtin_return_address (0); i0[0] = (int) a; } int main (void) { return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log