This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/55974] [avr] Wrong suffix for built-in defines __INT24_MAX__ and __UINT24_MAX__ with -mint8
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Jan 2013 18:32:19 +0000
- Subject: [Bug target/55974] [avr] Wrong suffix for built-in defines __INT24_MAX__ and __UINT24_MAX__ with -mint8
- Auto-submitted: auto-generated
- References: <bug-55974-4@http.gcc.gnu.org/bugzilla/>
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=gcc&view=rev&rev=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