comparison gcc/testsuite/gcc.dg/tree-ssa/ssa-ifcombine-ccmp-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do compile { target { ! { { logical_op_short_circuit && { ! avr-*-* } } || { m68k*-*-* mmix*-*-* bfin*-*-* v850*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* arc*-*-* mips*-*-* } } } } } */
2
3 /* { dg-options "-O2 -g -fdump-tree-optimized" } */
4 /* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
5
6 int t (int a, int b)
7 {
8 if (a > 0)
9 if (b > 0)
10 return 0;
11 return 1;
12 }
13 /* { dg-final { scan-tree-dump "\&" "optimized" } } */