Hi!
On Thu, Sep 29, 2022 at 02:16:04PM +0800, Kewen.Lin wrote:
> >> +/* { dg-error "'-m64' requires a PowerPC64 cpu" "PR106680" { target
> >> powerpc*-*-linux* powerpc-*-rtems* } 0 } */
> >
> > Everything except AIX even? So it will include Darwin as well (and the
> > BSDs, and powerpc*-elf, etc.)
>
> I found this message only existed in file rtems.h and function
> rs6000_linux64_override_options,
> the latter is used by files linux64.h and freebsd64.h, I guess we just want
> to add one more
> powerpc*-*-freebsd*, but leave the others alone (and update this as needed
> later)?
Ah. This error should be generated by generic rs6000 code, not
separately by separate targets. Dunno if you want to fold that into the
current patch series.
Segher