Add new test-case.
gcc/testsuite/ChangeLog: PR tree-optimization/98084 * gcc.dg/tree-ssa/pr98094.c: New test.
This commit is contained in:
parent
a35d5e9365
commit
d01ebe56c2
|
@ -0,0 +1,21 @@
|
|||
/* PR tree-optimization/98084 */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2" } */
|
||||
|
||||
struct
|
||||
{
|
||||
unsigned a : 10;
|
||||
} b;
|
||||
|
||||
int c;
|
||||
void e();
|
||||
void d ()
|
||||
{
|
||||
c = b.a;
|
||||
if (c == 8 || c == 0)
|
||||
;
|
||||
else if (c > 8 * 8)
|
||||
;
|
||||
else if (c < 8 * 8)
|
||||
e ();
|
||||
}
|
Loading…
Reference in New Issue