Re: [PATCH] Fix PR49189

2011-05-27 Thread Eric Botcazou
> 2011-05-27 Richard Guenther > > PR middle-end/49189 > * fold-const.c (fold_unary_loc): Do not re-fold folding conversions > of comparisons. > > * gnat.dg/bit_packed_array5.adb: New testcase. > * gnat.dg/bit_packed_array5.ads: Likewise. Thanks a lot! I managed to

[PATCH] Fix PR49189

2011-05-27 Thread Richard Guenther
This fixes PR49189 by re-installing the non-folding of conversions of comparison results. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2011-05-27 Richard Guenther PR middle-end/49189 * fold-const.c (fold_unary_loc): Do not re-fold folding conversion