Commit 6573c644 by H.J. Lu Committed by H.J. Lu

Define _ILP32 and __ILP32__ for x32

	* config/i386/i386-c.c (ix86_target_macros): Define _ILP32
	and __ILP32__ for x32.

From-SVN: r186429
parent 8e8483e6
2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386-c.c (ix86_target_macros): Define _ILP32
and __ILP32__ for x32.
2012-04-13 Martin Jambor <mjambor@suse.cz>
PR middle-end/52939
......
......@@ -383,6 +383,11 @@ ix86_target_macros (void)
cpp_define (parse_in, "__amd64__");
cpp_define (parse_in, "__x86_64");
cpp_define (parse_in, "__x86_64__");
if (TARGET_X32)
{
cpp_define (parse_in, "_ILP32");
cpp_define (parse_in, "__ILP32__");
}
}
else
{
......
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