This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] bogus signed/unsigned warning
- From: Richard Henderson <rth at redhat dot com>
- To: Ansgar Esztermann <ansgar at thphy dot uni-duesseldorf dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 7 Sep 2002 20:20:50 -0700
- Subject: Re: [Patch] bogus signed/unsigned warning
- References: <Pine.LNX.4.44.0208281515150.26522-100000@subraumtor.thphy.uni-duesseldorf.de>
On Wed, Aug 28, 2002 at 03:42:41PM +0200, Ansgar Esztermann wrote:
> * c-typeck.c (c_tree_expr_nonnegative_p): New function.
> (build_binary_op): Call c_tree_expr_nonnegative_p rather than
> tree_expr_nonnegative_p.
> (build_conditional_expr): Likewise.
>
> * c-tree.h (c_tree_expr_nonnegative_p): Declare.
>
> * gcc.dg/compare2.c: Remove xfail from cases 10 and 12.
Applied.
r~