[PATCH ping] ppc64 check for incompatible setting of minimal-toc

Douglas B Rupp rupp@adacore.com
Mon Jun 1 17:13:11 GMT 2020


Greetings,

Curious if you've had a chance to look at this patch yet?

--Doug

On 5/18/20 4:02 PM, Douglas B Rupp wrote:
> Greetings,
>
> The attached patch is proposed for rs6000/linux64.h.
>
> The problem it addresses is that the current checking only tests for 
> existence not for an incompatible/compatible setting.
>
> For example:
>
> $ powerpc64-linux-gnu-gcc -mcmodel=medium -mminimal-toc foo.c
> is an incompatible set of switches
>
> however
>
> $ powerpc64-linux-gnu-gcc -mcmodel=medium -mno-minimal-toc foo.c
> is ok.
>
> Currently both are reported as incompatible.
>
> --Douglas Rupp, AdaCore
>


More information about the Gcc-patches mailing list