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: [PATCH] Fix some type errors


Richard Henderson wrote:
> On Wed, May 18, 2005 at 05:46:29PM +0200, Richard Guenther wrote:
> 
>>! 				  fold_convert (char_type_node,
>>! 					        build1 (INDIRECT_REF, itype,
>>! 					                TREE_VALUE (arglist))),
> 
> 
> Any reason not to use build_fold_indirect_ref here?  Then
> we're absolutely sure that the type is correct.

Well, not until build_fold_indirect_ref is fixed...  But I can delay
this until the patch for this goes in.

> 
> 
>>! 				  fold_convert (char_type_node,
>>! 					        integer_zero_node));
> 
> 
> build_int_cst (char_type_node, 0);
> 

Ok.

Richard.


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