Commit faf32f4a by Roger Sayle Committed by Roger Sayle

re PR middle-end/26729 (bad bitops folding)


	PR middle-end/26729
	* gcc.dg/pr26729-1.c: New test case.

From-SVN: r113764
parent 56106c2e
2006-05-14 Roger Sayle <roger@eyesopen.com>
PR middle-end/26729
* gcc.dg/pr26729-1.c: New test case.
2006-05-13 Zdenek Dvorak <dvorakz@suse.cz>
* gcc.dg/pr27003.c: New test.
/* { dg-do run } */
/* { dg-options "-O2" } */
void abort(void);
__attribute__((noinline))
int f (unsigned short word) {
return (word & 0x1) && (((unsigned short) (word & 0x8000)) == 0x8000);
}
int main(void) {
if (!f(0x8001))
abort();
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment