This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Avoid potential bogus warnings in the C front-end
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 May 2005 10:47:59 +0000 (UTC)
- Subject: Re: [PATCH] Avoid potential bogus warnings in the C front-end
- References: <Pine.LNX.4.44.0505152150520.1773-100000@www.eyesopen.com>
On Sun, 15 May 2005, Roger Sayle wrote:
> 2005-05-15 Roger Sayle <roger@eyesopen.com>
>
> * c-common.c (c_common_truthvalue_conversion): Use fold_build2
> instead of build_binary_op when performing code transformations
> to avoid diagnostics about constructs not it the user's code.
OK.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)