From: Jakub Jelinek Date: Wed, 27 Feb 2019 15:22:16 +0000 (+0100) Subject: re PR tree-optimization/89280 (ICE: Segmentation fault (in is_gimple_reg_type)) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86863dad359e4cffb45dac103bc7c37142c7349d;p=gcc.git re PR tree-optimization/89280 (ICE: Segmentation fault (in is_gimple_reg_type)) PR tree-optimization/89280 * gcc.dg/torture/pr57147-2.c (SetNaClSwitchExpectations): Add static keyword. From-SVN: r269256 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8b6ecef774d..9d6742c70b1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-02-27 Jakub Jelinek + + PR tree-optimization/89280 + * gcc.dg/torture/pr57147-2.c (SetNaClSwitchExpectations): Add static + keyword. + 2019-02-27 Richard Biener * gcc.dg/gimplefe-36.c: New testcase. diff --git a/gcc/testsuite/gcc.dg/torture/pr57147-2.c b/gcc/testsuite/gcc.dg/torture/pr57147-2.c index bbfd13d2932..036a6d028e6 100644 --- a/gcc/testsuite/gcc.dg/torture/pr57147-2.c +++ b/gcc/testsuite/gcc.dg/torture/pr57147-2.c @@ -10,7 +10,7 @@ extern int _setjmp (struct __jmp_buf_tag __env[1]); jmp_buf g_return_jmp_buf; -void SetNaClSwitchExpectations (void) +static void SetNaClSwitchExpectations (void) { __builtin_longjmp (g_return_jmp_buf, 1); }