1  /* PR target/104362 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-mavx512f" } */
       4  
       5  struct _Unwind_Context
       6  {
       7    void *ra;
       8    char array[48];
       9  };
      10  
      11  extern long uw_install_context_1 (struct _Unwind_Context *);
      12  
      13  void
      14  _Unwind_RaiseException (void)
      15  {
      16    struct _Unwind_Context this_context, cur_context;
      17    __builtin_memset(&this_context, 55, sizeof(this_context));
      18    long offset = uw_install_context_1 (&this_context);
      19    __builtin_memcpy (&this_context, &cur_context,
      20                      sizeof (struct _Unwind_Context));
      21    void *handler = __builtin_frob_return_addr ((&cur_context)->ra);
      22    uw_install_context_1 (&cur_context);
      23    __builtin_eh_return (offset, handler);
      24  }