[avr] Patch for -mint8 option

Svein E. Seldal Svein.Seldal@solidas.com
Sun Nov 24 23:55:00 GMT 2002


Hello,

I have put together a little patch for setting the size of the long long 
type when the -mint8 option is used. As there are no 32-bits type in 
-mint8 mode, and the fact that none of the other sizeof's are compliant 
to the C-specification, I think that it would be appropriate to do this.

I have also modified the specs to define the symbol __AVR_INT8__, making 
it possible for applications to differentiate when -mint8 are used or not.


Svein

gcc/ChangeLog:
2002-11-25  Svein E. Seldal  <Svein.Seldal@solidas.com>

	* config/avr/avr.h: Reduce the long long type to 32-bit in
	-mint8 mode and define __AVR_INT8__
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: avr-mint8.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20021124/7b908c2f/attachment.ksh>


More information about the Gcc-patches mailing list