Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/tree-ssa/reassoc-34.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* { dg-do run { target { ! "m68k*-*-* mmix*-*-* bfin*-*-* v850*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* hppa*-*-* nios2*-*-*"} } } */ | 1 /* { dg-do run { target { ! "m68k*-*-* mmix*-*-* bfin*-*-* v850*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* hppa*-*-* nios2*-*-*"} } } */ |
2 | 2 |
3 /* { dg-options "-O2 -fno-inline -fdump-tree-reassoc1-details" } */ | 3 /* { dg-options "-O2 -fno-inline -fdump-tree-reassoc1-details" } */ |
4 /* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */ | 4 /* { dg-additional-options "-mbranch-cost=2" { target branch_cost } } */ |
5 | 5 |
6 int test (int a, int b, int c) | 6 int test (int a, int b, int c) |
7 { | 7 { |
8 if (a == 10 || a == 12) | 8 if (a == 10 || a == 12) |
9 return b; | 9 return b; |