[Bug target/84146] ICE with -mcet in dwarf2out_var_location, involving sigsetjmp

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 31 13:04:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84146

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
/* PR target/84146 */
/* { dg-do compile } */
/* { dg-options "-O2 -g -mcet -fcf-protection=full" } */

int __setjmp (void **);
void *buf[64];

void
foo (void)
{
  __setjmp (buf);
  for (;;)
    ;
}


More information about the Gcc-bugs mailing list