From: Eric Botcazou <ebotca...@adacore.com>
Date: Tue, 11 Oct 2011 20:10:34 +0200

>>      * gcc.target/sparc/sparc.exp: Add vis3 target test.
> 
> This doesn't work.  The code always compiles:

What does "gcc -mcpu=niagara3 -mvis" give to you for the following
source file:

        long long
        _vis3_fpadd64 (long long __X, long long __Y)
        {
            return __builtin_vis_fpadd64 (__X, __Y);
        }

That's what the sparc.exp test is using.  I would expect that to spit
out a warning.  Do I need to explicitly add "-Wall", "-Wno-implicit" or
similar?  Similar tests in i386.exp don't seem to need this and that
was what I used as my template.


Reply via email to