* config/i386/i386-c.c (ix86_target_macros): Define _ILP32
and __ILP32__ for x32.
From-SVN: r186429
+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
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
{