1  /* PR target/100761
       2     This was triggering an ICE in mips_expand_vec_unpack when compiled with
       3     -mmsa -mloongson-mmi. */
       4  
       5  /* { dg-do compile } */
       6  /* { dg-options "-mmsa -mloongson-mmi" } */
       7  
       8  typedef __INT8_TYPE__ int8_t;
       9  typedef __INT16_TYPE__ int16_t;
      10  typedef int8_t i8x8 __attribute__((__vector_size__(8)));
      11  typedef int16_t i16x8 __attribute__((__vector_size__(16)));
      12  
      13  i8x8 a;
      14  
      15  void f() {
      16    i16x8 b = __builtin_convertvector (a, i16x8);
      17  }