URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr27743.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do run { target { stdint_types } } } */ #include <stdint.h> extern void abort(void); int32_t bar (int32_t a) { return ((uint32_t) ((a) >> 2)) >> 15; } int main() { if (bar (0xffff3000) != 0x1ffff) abort (); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log