This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR c++/5310 Weird warnings about using (int)NULL


On Fri, Nov 16, 2007 at 09:55:17AM -0600, Gabriel Dos Reis wrote:
> | Actually, I was expecting some comments on how to make the patch less
> | ugly. convert_like_real is ugly enough. Also, is build_nop(totype,
> | integer_zero_node) the correct way to build a zero of type 'totype' ?

build_int_cst (totype, 0)

is preferrable.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]