Re: error in converting macro IS_EXPR_CODE_CLASS() to function

2013-12-29 Thread Prathamesh Kulkarni
On Fri, Dec 27, 2013 at 10:54 PM, Trevor Saunders wrote: > On Mon, Dec 23, 2013 at 09:26:41AM -0500, Prathamesh Kulkarni wrote: >> IS_EXPR_CODE_CLASS() is called at 18 places within gcc subdirectory, >> and except for expr_check(), tree_block(), tree_set_block() all the >> other callers pass argum

Re: error in converting macro IS_EXPR_CODE_CLASS() to function

2013-12-27 Thread Trevor Saunders
On Mon, Dec 23, 2013 at 09:26:41AM -0500, Prathamesh Kulkarni wrote: > IS_EXPR_CODE_CLASS() is called at 18 places within gcc subdirectory, > and except for expr_check(), tree_block(), tree_set_block() all the > other callers pass argument of type enum tree_code_class to > IS_EXPR_CODE_CLASS(). >

error in converting macro IS_EXPR_CODE_CLASS() to function

2013-12-23 Thread Prathamesh Kulkarni
IS_EXPR_CODE_CLASS() is called at 18 places within gcc subdirectory, and except for expr_check(), tree_block(), tree_set_block() all the other callers pass argument of type enum tree_code_class to IS_EXPR_CODE_CLASS(). These four callers (expr_check is overloaded) assign value of TREE_CODE_CLASS()