]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix PR58513 for -fPIC
authorJames Greenhalgh <james.greenhalgh@arm.com>
Thu, 26 Sep 2013 14:08:44 +0000 (14:08 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Thu, 26 Sep 2013 14:08:44 +0000 (14:08 +0000)
gcc/testsuite/

* g++.dg/vect/pr58513.cc (op): Make static.

From-SVN: r202947

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/vect/pr58513.cc

index 9c95ef02e7423bcc161bc4fae3d6aa7cad08883f..f6b3c70b73072a130b86e32edf44156740baf4ab 100644 (file)
@@ -1,3 +1,7 @@
+2013-09-26  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * g++.dg/vect/pr58513.cc (op): Make static.
+
 2013-09-26  Richard Biener  <rguenther@suse.de>
 
        * gcc.dg/tree-ssa/coalesce-2.c: New testcase.
index 25630479e9ecf6e84b0bfd6bb5c3292129abb9d8..08a175c8e740600dce01cdd794cb05f6b5151633 100644 (file)
@@ -1,7 +1,7 @@
 // { dg-do compile }
 // { dg-require-effective-target vect_int }
 
-int op (const int& x, const int& y) { return x + y; }
+static int op (const int& x, const int& y) { return x + y; }
 
 void foo(int* a)
 {