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]

Re: ARM ISR routines.


> Hi Graham,
> 
> > Why not use the HOST_UNIT macro instead of these casts
> 
> Because HOST_UNIT is only for constants, and will not work on arbitrary
> expressions.  (Check out the appending of 'UL' in __STDC__ mode.)
> 

HOST_UINT is currently broken and generates ANSI/K+R warnings with the 
default bootstrap arguments.  We need to get rid of it/change it into a 
form that really works with default options.  It was compilers that 
generated warnings for ((unsigned HOST_WIDE_INT)0xffffffff) that were 
broken and the existing hack makes things worse not better.

I think Graham's suggestion is reasonable.

R.


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