[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sparse
Subject:    Re: [PATCH v2 06/13] expression, evaluate: add support for recognizing address constants
From:       Luc Van Oostenryck <luc.vanoostenryck () gmail ! com>
Date:       2016-01-26 3:10:49
Message-ID: 20160126031048.GL46188 () macpro ! local
[Download RAW message or body]

On Mon, Jan 25, 2016 at 03:56:23PM +0100, Nicolai Stange wrote:
> @@ -563,6 +566,14 @@ static struct symbol *evaluate_ptr_add(struct expression *expr, struct symbol *i
>  	classify_type(degenerate(expr->left), &ctype);
>  	base = examine_pointer_target(ctype);
>  
> +	/*
> +	 * An address constant +/- an integer constant expression
> +	 * yields an address constant again [6.6(7)].
> +	 */
> +	if((expr->left->flags & EXPR_FLAG_ADDR_CONST_EXPR) &&

Missing ' ' in 'if('

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic