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:28:37 +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 #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=gcc&view=rev&rev=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