blob: b33621f7a9a900eabefcd69ac571d365194b7d4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-options "-mcpu=power5" } */
/* This test should result in a compile-time warning because the
* __builtin_cmpb () function is not supported when -mcpu=power5
*/
#include <altivec.h>
int int cmpb (int arg1, int arg2)
{
/* { dg-warning "implicit declaration of function" } */
return __builtin_cmpb (arg1, arg2);
}
|