]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR tree-optimization/89280
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Feb 2019 15:22:16 +0000 (15:22 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Feb 2019 15:22:16 +0000 (15:22 +0000)
* gcc.dg/torture/pr57147-2.c (SetNaClSwitchExpectations): Add static
keyword.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@269256 138bc75d-0d04-0410-961f-82ee72b054a4

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);
 }