Fix jit crash on aarch64

gcc/ChangeLog:
	* config/aarch64/cortex-a57-fma-steering.c
	(aarch64_register_fma_steering): Remove "static" from arguments
	to register_pass.

From-SVN: r233146
This commit is contained in:
David Malcolm 2016-02-04 19:30:28 +00:00 committed by David Malcolm
parent e0b059b1dd
commit 0168b518a0
2 changed files with 7 additions and 1 deletions

View 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

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