Fix jit crash on aarch64
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 4 Feb 2016 19:30:28 +0000 (19:30 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 4 Feb 2016 19:30:28 +0000 (19:30 +0000)
gcc/ChangeLog:
* config/aarch64/cortex-a57-fma-steering.c
(aarch64_register_fma_steering): Remove "static" from arguments
to register_pass.

From-SVN: r233146

gcc/ChangeLog
gcc/config/aarch64/cortex-a57-fma-steering.c

index 7c2dae8..19fdcc7 100644 (file)
@@ -1,3 +1,9 @@
+2016-02-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * config/aarch64/cortex-a57-fma-steering.c
+       (aarch64_register_fma_steering): Remove "static" from arguments
+       to register_pass.
+
 2016-02-04  Wilco Dijkstra  <wdijkstr@arm.com>
 
        PR target/69619
index 5d2ec87..21159fe 100644 (file)
@@ -1082,7 +1082,7 @@ aarch64_register_fma_steering ()
 {
   opt_pass *pass_fma_steering = make_pass_fma_steering (g);
 
-  static struct register_pass_info fma_steering_info
+  struct register_pass_info fma_steering_info
     = { pass_fma_steering, "rnreg", 1, PASS_POS_INSERT_AFTER };
 
   register_pass (&fma_steering_info);