This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] warn about out of range shift counts


On Wed, Apr 15, 2009 at 12:36:55PM +0100, Jan Beulich wrote:
> gas/
> 2009-04-15  Jan Beulich  <jbeulich@novell.com>
> 
> 	* expr.c: Include limits.h if available, and #define CHAR_BITS
> 	otherwise.
> 	(expr): Check range of shift count when evaluating a constant
> 	expression.

You are including limits.h too early.  It must be somwhere after as.h
if you expect HAVE_LIMITS_H to be defined.  Otherwise OK.

-- 
Alan Modra
Australia Development Lab, IBM


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