1/* { dg-do compile } */
2/* { dg-options "-O0 -Werror-implicit-function-declaration -mmmx" } */
3
4/* { dg-add-options bind_pic_locally } */
5/* Test that the intrinsics compile without optimization.  All of them are
6   defined as inline functions in mmintrin.h that reference the proper
7   builtin functions.  Defining away "extern" and "__inline" results in
8   all of them being compiled as proper functions.  */
9
10#define extern
11#define __inline
12
13#include <mmintrin.h>
14