On Wed, Feb 04, 2015 at 03:56:56AM -0200, Alexandre Oliva wrote:
> for gcc/ChangeLog
>
> PR debug/64817
> * cfgexpand.c (expand_debug_expr): Compute unsignedp from
> operands for tcc_comparison exprs. Fix typos.
>
> for gcc/testsuite/ChangeLog
>
> PR debug/64817
>
PR64817 is lucky that the compare in the testcase was <0 rather than
>0. expand_debug_expr used to take the signedness of the expr from the
result type, rather than from the operand types, so it the a < 0 test
was expanded as LTU rather than LT, and LTU compares with zero are
always false, so we s