On Mon, Feb 01, 2016 at 03:39:58AM +0100, Nicolai Stange wrote: > An address constant +/- an integer constant expression qualifies as an > address constant again. > Furthermore, the array-subscript operator "[]" may be used in the creation > of address constant. > > Handle both cases by making evaluate_ptr_add() check whether an integer > constant expression is added to an address constant and tag the result as > being an address constant again if so. > Fine for me. Feel free to add Reviewed-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html