[Bug target/55974] [avr] Wrong suffix for built-in defines __INT24_MAX__ and __UINT24_MAX__ with -mint8

2013-01-14 Thread gjl at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55974



--- Comment #1 from Georg-Johann Lay gjl at gcc dot gnu.org 2013-01-14 
18:28:37 UTC ---

Author: gjl

Date: Mon Jan 14 18:28:24 2013

New Revision: 195169



URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=195169

Log:

PR target/55974

* config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH

etc. to 1 and not to __flash.

Use LL suffix for __INT24_MAX__ with -mint8.

Use ULL suffix for __UINT24_MAX__ with -mint8.





Modified:

trunk/gcc/ChangeLog

trunk/gcc/config/avr/avr-c.c


[Bug target/55974] [avr] Wrong suffix for built-in defines __INT24_MAX__ and __UINT24_MAX__ with -mint8

2013-01-14 Thread gjl at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55974



--- Comment #2 from Georg-Johann Lay gjl at gcc dot gnu.org 2013-01-14 
18:32:19 UTC ---

Author: gjl

Date: Mon Jan 14 18:32:05 2013

New Revision: 195170



URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=195170

Log:

Backport from 2013-01-14 trunk r195169.

PR target/55974

* config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH

etc. to 1 and not to __flash.

Use LL suffix for __INT24_MAX__ with -mint8.

Use ULL suffix for __UINT24_MAX__ with -mint8.





Modified:

branches/gcc-4_7-branch/gcc/ChangeLog

branches/gcc-4_7-branch/gcc/config/avr/avr-c.c


[Bug target/55974] [avr] Wrong suffix for built-in defines __INT24_MAX__ and __UINT24_MAX__ with -mint8

2013-01-14 Thread gjl at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55974



Georg-Johann Lay gjl at gcc dot gnu.org changed:



   What|Removed |Added



   Priority|P3  |P5

 Status|UNCONFIRMED |RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.7.3



--- Comment #3 from Georg-Johann Lay gjl at gcc dot gnu.org 2013-01-14 
18:33:35 UTC ---

Fixed in 4.7.3