This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Warning patch
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: Warning patch
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 08 Jun 1998 02:11:24 -0600
- cc: egcs-patches at cygnus dot com, wilson at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199806050752.AAA04729@yorick.cygnus.com>you write:
> Do all C compilers support cast to void?
>
> 1998-06-05 Jason Merrill <jason@yorick.cygnus.com>
>
> * tree.h (TREE_VEC_END): Cast unused value to void.
>
> * i386.c (print_operand): Use %lx for long operand.
I think we may already be using a cast to void elsewhere, so we're
probably OK.
The x86 change is fine too (I first thought we should be using
HOST_WIDE_INT_PRINT_HEX, but it turns out "long" really is the
right thing for that code.
jeff