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 8b6ecef774dae4aa177332f189587fb870df8d93..9d6742c70b1db01126153467332913b29694eded 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 bbfd13d2932b7f0329a6b985f81373e05b2eb994..036a6d028e6dec9b79742d217ae5746b3370c82e 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);
 }