This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Use .opt files for the m68k port


Andreas Schwab <schwab@suse.de> writes:
> Richard Sandiford <rsandifo@redhat.com> writes:
>> This patch makes the m68k port use the .opt machinery.  It turned out
>> not to be as hairy as I'd feared.  Two main points:
>>
>>   - MASK_NO_STRICT_ALIGNMENT has become MASK_STRICT_ALIGNMENT and the
>>     latter is now on by default.  (The associated TARGET_* variable
>>     was already called TARGET_STRICT_ALIGNMENT.)
>
> Note that m68k-linux ignores -m[no-]strict-align (STRICT_ALIGNMENT is
> always 0).  Perhaps the default for MASK_STRICT_ALIGNMENT should depend on
> whether TARGET_DEFAULT contains MASK_68020.  Then the override of
> STRICT_ALIGNMENT for m68k-linux could be removed.

Thanks for the heads-up.  I'd rather leave those changes to the m68k
folks though.  What you say might make more sense (I've no opinion
either way) but it would have been just as easy to do it that way using
the old TARGET_SWITCHES definition.  Someone might have decided that the
current set-up was better for some reason.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]