]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix jit crash on aarch64
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Feb 2016 19:30:28 +0000 (19:30 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
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.

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

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

index 7c2dae8528723c9d045db93ff2327f175aede1c5..19fdcc7f8bb1afbb9aac7acaeb797f9b760cb3df 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 5d2ec879504fc0242251d84833bb22e93da20e70..21159fe2ca6f5a6aaae23277a0a45e0fe6e91a9a 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);