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] Don't fold condition (again) in gfc_trans_runtime_check


On Fri, Jan 13, 2006 at 03:32:28PM +0100, Richard Guenther wrote:
> 
> Using grep is immediately followed by pressure to do some cleanups 
> again...  As in, don't use fold () because it's not recursive, instead
> use fold_buildN where appropriate.
> 
> Gone over all users of gfc_trans_runtime_check and verified we used
> fold_buildN for the condition we pass to gfc_trans_runtime_check.  Or 
> fixed it with this patch.
> 
> Ok for mainline?
> 
> Thanks,
> Richard.
> 
> 
> 2006-01-13  Richard Guenther  <rguenther@suse.de>
> 
> 	* trans-expr.c (gfc_conv_function_call): Use fold_build2.
> 	* trans-stmt.c (gfc_trans_goto): Likewise.  Use build_int_cst.
> 	* trans.c (gfc_trans_runtime_check): Don't fold the condition
> 	again.
> 

OK.

-- 
Steve


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