blob: 4e8350fad411124f599ed31ea00901a8b18b7245 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* { dg-do compile } */
/* { dg-options "-O2 -g -fdump-tree-optimized --param logical-op-non-short-circuit=1" } */
/* PR tree-optimization/85605 */
/* Like ssa-ifcombine-ccmp-1.c but with conversion from short to int in the
inner bb which should be able to move too. */
int t (int a, short b, int c)
{
if (a > 0)
{
if (c == b)
return 0;
}
return 1;
}
/* { dg-final { scan-tree-dump "\&" "optimized" } } */
|