> 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);
>       }

Nothing at all, with or without the options.

> That's what the sparc.exp test is using.

And that's what I tested of course.

> 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.

-Wall does yield a warning:

vis.c: In function '_vis3_fpadd64':
vis.c:4:3: warning: implicit declaration of function '__builtin_vis_fpadd64' 
[-Wimplicit-function-declaration]

-- 
Eric Botcazou

Reply via email to