[PATCH, rs6000] Fix PR79268

David Edelsohn dje.gcc@gmail.com
Sun Jan 29 23:23:00 GMT 2017


On Sun, Jan 29, 2017 at 6:17 PM, Segher Boessenkool
<segher@kernel.crashing.org> wrote:

>> --- gcc/testsuite/gcc.target/powerpc/pr79268.c        (revision 0)
>> +++ gcc/testsuite/gcc.target/powerpc/pr79268.c        (working copy)
>> @@ -0,0 +1,18 @@
>> +/* { dg-do compile { target { powerpc64le-*-* } } } */
>
> Is that correct?  Shouldn't it be target powerpc*-*-* and use -m64 -mlittle
> -mabi=elfv2 ?  Or use some LE selector, LP64, etc.

The testcase will not run on AIX, so powerpc*-*-* is a bad choice.  We
also want to avoid setting 32/64 command line options in the testcase.
Selectors would be better: lp64, etc.

>
> Target doesn't mean very much.
>
> Does it not run fine on BE / elfv1 anyway?

Thanks, David



More information about the Gcc-patches mailing list