Commit b2ef48ef by Georg-Johann Lay Committed by Georg-Johann Lay

avr-c.c (avr_cpu_cpp_builtins): Restore built-in defines for __UINT24_MAX__...

	* config/avr/avr-c.c (avr_cpu_cpp_builtins): Restore built-in
	defines for __UINT24_MAX__, __INT24_MAX__, __INT24_MIN__ 
	unintentionally removed in r184616.

From-SVN: r184692
parent 283b5296
2012-03-01 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Restore built-in
defines for __UINT24_MAX__, __INT24_MAX__, __INT24_MIN__
unintentionally removed in r184616.
2012-03-01 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
* doc/invoke.texi: Document AMD bdver2 and remove mentioning
......
......@@ -165,9 +165,8 @@ avr_cpu_cpp_builtins (struct cpp_reader *pfile)
}
}
/* Define builtin macros so that the user can
easily query if or if not a specific builtin
is available. */
/* Define builtin macros so that the user can easily query if or
if not a specific builtin is available. */
for (i = 0; avr_builtin_name[i]; i++)
{
......@@ -176,4 +175,10 @@ avr_cpu_cpp_builtins (struct cpp_reader *pfile)
cpp_define (pfile, avr_toupper (Name, name));
}
/* Builtin macros for the __int24 and __uint24 type. */
cpp_define (pfile, "__INT24_MAX__=8388607L");
cpp_define (pfile, "__INT24_MIN__=(-__INT24_MAX__-1)");
cpp_define (pfile, "__UINT24_MAX__=16777215UL");
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment