This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] Fix MIPS -mint64 deprecation check
On Fri, 2005-03-11 at 17:41 +0000, Richard Sandiford wrote:
> 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 ;).
Ow ow ow. That's painful, just makes the head hurt. :)
OK. I suppose that's going to have to be good enough then.
-eric