This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch committed SH] Fix build failure
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 17 Sep 2015 16:47:29 +0900 (JST)
- Subject: [patch committed SH] Fix build failure
- Authentication-results: sourceware.org; auth=none
I've committed the attached obvious fix for build failure for SH.
object_allocator is changed so to remove the 2nd argument of its
constructor.
Regards,
kaz
--
2015-09-17 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.c (label_ref_list_d_pool): Adjust to
object_allocator change.
diff --git a/config/sh/sh.c b/config/sh/sh.c
index 25149a6..ec0abc5 100644
--- a/config/sh/sh.c
+++ b/config/sh/sh.c
@@ -4659,7 +4659,7 @@ typedef struct label_ref_list_d
} *label_ref_list_t;
static object_allocator<label_ref_list_d> label_ref_list_d_pool
- ("label references list", 30);
+ ("label references list");
/* The SH cannot load a large constant into a register, constants have to
come from a pc relative load. The reference of a pc relative load