URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [combine-mul.c] - Rev 848
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2" } */ /* { dg-require-effective-target nonpic } */ /* { dg-final { scan-assembler-not "12345" } } */ static inline unsigned int myrnd (void) { static unsigned int s = 1388815473; s *= 1103515245; s += 12345; } struct __attribute__ ((packed)) A { unsigned short i:1, l:1, j:3, k:11; }; struct A sA; void testA (void) { char *p = (char *) &sA; *p++ = myrnd (); *p++ = myrnd (); sA.k = -1; }
Go to most recent revision | Compare with Previous | Blame | View Log