PR 37217 ICE with -Wconversion

Joseph S. Myers joseph@codesourcery.com
Thu Aug 28 23:32:00 GMT 2008


On Tue, 26 Aug 2008, Manuel López-Ibáñez wrote:

> Bootstrapped and regression tested on x86_64-unknown-linux-gnu with
> --enable-languages=all,ada
> 
> OK for trunk?
> 
> 2008-08-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
> 
> 	PR 37217
> 	* c-common.c (convesion_warning): Check for null operands.
                           ^ missing 'r' here

> testsuite/
> 	* gcc.dg/pr37217.c: New.

What is the tree in question with a null operand?

The patch is OK if it's a tree for which the comments in tree.def specify 
that operand may be null.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Gcc-patches mailing list