Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/pr52631.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -fno-tree-forwprop -fdump-tree-fre1-details" } */ unsigned f(unsigned a) { #if __SIZEOF_INT__ == 2 unsigned b = a >> 15; #else unsigned b = a >> 31; #endif return b&1; } /* We want to verify that we replace the b & 1 with b. */ /* { dg-final { scan-tree-dump-times "Replaced b_\[0-9\]+ & 1 with b_\[0-9\]+ in" 1 "fre1"} } */