URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [char-compare.c] - Rev 298
Compare with Previous | Blame | View Log
/* PR rtl-optimization/23241 */ /* Origin: Josh Conner <jconner@apple.com> */ /* { dg-do run } */ /* { dg-options "-O2" } */ extern void abort(void); struct fbs { unsigned char uc; } fbs1 = {255}; void fn(struct fbs *fbs_ptr) { if ((fbs_ptr->uc != 255) && (fbs_ptr->uc != 0)) abort(); } int main(void) { fn(&fbs1); return 0; }