re PR tree-optimization/89280 (ICE: Segmentation fault (in is_gimple_reg_type))
authorJakub Jelinek <jakub@redhat.com>
Wed, 27 Feb 2019 15:22:16 +0000 (16:22 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 27 Feb 2019 15:22:16 +0000 (16:22 +0100)
PR tree-optimization/89280
* gcc.dg/torture/pr57147-2.c (SetNaClSwitchExpectations): Add static
keyword.

From-SVN: r269256

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr57147-2.c

index 8b6ecef..9d6742c 100644 (file)
@@ -1,3 +1,9 @@
+2019-02-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/89280
+       * gcc.dg/torture/pr57147-2.c (SetNaClSwitchExpectations): Add static
+       keyword.
+
 2019-02-27  Richard Biener  <rguenther@suse.de>
 
        * gcc.dg/gimplefe-36.c: New testcase.
index bbfd13d..036a6d0 100644 (file)
@@ -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);
 }