diff options
author | Alex Coplan <Alex.Coplan@arm.com> | 2020-05-07 11:34:06 +0100 |
---|---|---|
committer | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2020-05-07 11:34:06 +0100 |
commit | 9cd70f3f0fa45cbe899da5ecd0b0c6da0657fd62 (patch) | |
tree | e024402f6dcf9a49b0413e9150a4aadff30a278a | |
parent | 283cb9ea6293e813e48a1b769e1e0779918ea20a (diff) | |
download | gcc-9cd70f3f0fa45cbe899da5ecd0b0c6da0657fd62.zip gcc-9cd70f3f0fa45cbe899da5ecd0b0c6da0657fd62.tar.gz gcc-9cd70f3f0fa45cbe899da5ecd0b0c6da0657fd62.tar.bz2 |
AArch32: fix bootstrap failure
The attached patch fixes a bootstrap failure on AArch32 introduced by
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=308bc496884706af4b3077171cbac684c7a6f7c6
This makes the declaration of arm_add_stmt_cost match the definition, and removes the redundant
class keyword from the definition.
2020-05-07 Alex Coplan <alex.coplan@arm.com>
* config/arm/arm.c (arm_add_stmt_cost): Fix declaration, remove class
from definition.
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1bda34..a48f6a9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-05-07 Alex Coplan <alex.coplan@arm.com> + + * config/arm/arm.c (arm_add_stmt_cost): Fix declaration, remove class + from definition. + 2020-05-07 Richard Biener <rguenther@suse.de> PR tree-optimization/57359 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index bbd7dc5..d507819 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -306,7 +306,7 @@ static bool aarch_macro_fusion_pair_p (rtx_insn*, rtx_insn*); static int arm_builtin_vectorization_cost (enum vect_cost_for_stmt type_of_cost, tree vectype, int misalign ATTRIBUTE_UNUSED); -static unsigned arm_add_stmt_cost (void *data, int count, +static unsigned arm_add_stmt_cost (vec_info *vinfo, void *data, int count, enum vect_cost_for_stmt kind, struct _stmt_vec_info *stmt_info, int misalign, @@ -12131,7 +12131,7 @@ arm_builtin_vectorization_cost (enum vect_cost_for_stmt type_of_cost, /* Implement targetm.vectorize.add_stmt_cost. */ static unsigned -arm_add_stmt_cost (class vec_info *vinfo, void *data, int count, +arm_add_stmt_cost (vec_info *vinfo, void *data, int count, enum vect_cost_for_stmt kind, struct _stmt_vec_info *stmt_info, int misalign, enum vect_cost_model_location where) |