diagnostics: move output formats from diagnostic.{c,h} to their own files
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / cbranchcc4-2.c
blob528ba1a878d27466863836348f2e54077cdfdfcc
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-rtl-ce1" } */
3 /* { dg-final { scan-rtl-dump "noce_try_store_flag_constants" "ce1" } } */
5 /* The inner branch should be detected by ifcvt then be converted to a setcc
6 with a plus by noce_try_store_flag_constants. */
8 int test (unsigned int a, unsigned int b)
10 return (a < b ? 0 : (a > b ? 2 : 1));