On Tue, Oct 27, 2020 at 10:05:45AM +1030, Alan Modra wrote:
> aix64.opt is used for all rs6000-aix targets, linux64.opt for 64-bit
> and biarch powerpc linux targets.  powerpc linux errors for -mcmodel
> when -m32 (yes, even when biarch Segher).

>From sysv4.h:
#ifndef RS6000_BI_ARCH
# define SUBSUBTARGET_OVERRIDE_OPTIONS                                  \
do {                                                                    \
  if ((TARGET_DEFAULT ^ rs6000_isa_flags) & OPTION_MASK_64BIT)          \
    error ("%<-m%s%> not supported in this configuration",              \
           (rs6000_isa_flags & OPTION_MASK_64BIT) ? "64" : "32");       \
} while (0)
#endif

so you cannot get that warning on a biarch build.  But apparently this
was a 64-bit compiler and that handles it all differently.  What a mess.


Segher

Reply via email to