1  /* { dg-do compile { target { powerpc*-*-* } } } */
       2  /* { dg-require-effective-target ilp32 } */
       3  /* { dg-require-effective-target powerpc_p9vector_ok } */
       4  /* { dg-options "-mdejagnu-cpu=power9" } */
       5  
       6  /* This test only runs on 32-bit configurations, where a compiler error
       7     should be issued because this builtin is not available on
       8     32-bit configurations.  */
       9  
      10  #include <altivec.h>
      11  
      12  __ieee128
      13  insert_exponent (unsigned __int128 *significand_p, /* { dg-error "'__int128' is not supported on this target" } */
      14  		 unsigned long long int *exponent_p)
      15  {
      16    unsigned __int128 significand = *significand_p;  /* { dg-error "'__int128' is not supported on this target" } */
      17    unsigned long long int exponent = *exponent_p;
      18  
      19    return scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vsx_scalar_insert_exp' requires the" } */
      20  }