[committed] Fix MIPS -mint64 deprecation check

Richard Sandiford rsandifo@redhat.com
Fri Mar 11 17:41:00 GMT 2005


Eric Christopher <echristo@redhat.com> writes:
>> But as per the covering note, target_flags_explicit doesn't (and isn't
>> supposed to) tell you whether -mint64 was used on the command line.
>> It just means that _some_ option explicitly set the value of MASK_INT64.
>> In the case of -mlong32, that's not the same thing at all.
>> 
>
> I see what you mean, except for the example :)

  {"long32",		 -(MASK_LONG64 | MASK_INT64),			\
     N_("Use 32-bit long type")},					\

I.e. -mlong32 explicitly clears the value of the MASK_INT64 bit,
overriding whatever the default is.  Thus MASK_INT64 will be set
in target_flags_explicit if you use -mlong32 (and that's by design,
in case you're wondering ;).

Richard




More information about the Gcc-patches mailing list