[PATCH, i386]: Correct HAVE_AS_IX86_REP_LOCK_PREFIX configure test for Darwin

IainS developer@sandoe-acoustics.co.uk
Fri Jul 9 19:44:00 GMT 2010


On 9 Jul 2010, at 19:52, IainS wrote:

>
> On 9 Jul 2010, at 17:08, Uros Bizjak wrote:
>
>> Hello!
>>
>> Attached patch fixes HAVE_AS_IX86_REP_LOCK_PREFIX configure test for
>> Darwin and removes special handling from output_operand.
>>
>> 2010-07-09  Uros Bizjak  <ubizjak@gmail.com>
>>
>> 	* configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Also check
>> 	for "lock addl".
>> 	* configure: Regenerate.
>> 	* config/i386/i386.c (ix86_print_operand) <case ';'>:
>> 	Remove TARGET_MACHO.
>>
>> Patch was bootstrapped and regression tested on x86_64-pc-linux-gnu.
>> The patch was also tested on i686-apple-darwin{8,9} and
>> x86_64-apple-darwin10 by Iain.

Hm. but you did change the test from

#if !HAVE_AS_IX86_REP_LOCK_PREFIX

to

#ifndef HAVE_AS_IX86_REP_LOCK_PREFIX
	...
#endif

but

HAVE_AS_IX86_REP_LOCK_PREFIX is defined as 0 or 1

Iain.



More information about the Gcc-patches mailing list