This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH rs6000] Fix for builtins-4-runnable.c testcase FAIL on power7/BE 32-bit


Hi Carl,

On Fri, Feb 09, 2018 at 02:09:06PM -0800, Carl Love wrote:
> As pointed out, the dg arguments in new test file was missing the
> {target 128}.  I updated the arguments to be 
> 
>     { dg-do run { target { int128 && powerpc64*-*-* } } }
> 
> Without the powerpc64*-*-* the test was still tried to compiled the
> test case in 32-bit mode on BE and failed.

If the dg-do target clause fails, you still get the default dg-do value,
which is "compile" for most testcases.

You want to use  dg-require-effective-target int128  if the testcase
cannot compile without int128.  Could you try that?

Btw, your patch is completely whitespace-damaged which makes it very hard
to read (and impossible to apply).  Please fix your setup :-)


Segher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]