blob: 5ed55fe2e232c7dcf9b9310e6bfd32a4914a99eb (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* PR tree-optimization/109424 */
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-phiopt1-details" } */
int f2(int x, int y)
{
return (x > y) ? ~x : ~y;
}
/* { dg-final { scan-tree-dump " = MAX_EXPR" "phiopt1"} } */
/* { dg-final { scan-tree-dump-times "changed to factor operation out from" 1 "phiopt1"} } */
|