[patch] Fix warning in ira.c
Steven Bosscher
stevenb.gcc@gmail.com
Wed May 30 17:46:00 GMT 2012
Hello,
I've committed this patch to fix a -Wmissing-prototypes warning in
ira.c. I don't understand why this didn't cause a bootstrap failure
(with -Werror) but oh well.
Ciao!
Steven
Index: ChangeLog
===================================================================
--- ChangeLog (revision 188024)
+++ ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2012-05-30 Steven Bosscher <steven at gcc dot gnu dot org>
+
+ * ira.c (allocate_initial_values): Make static.
+
2012-05-30 Uros Bizjak <ubizjak at gmail dot com>
* config/i386/i386.c (legitimize_tls_address) <TLS_MODEL_INITIAL_EXEC>:
Index: ira.c
===================================================================
--- ira.c (revision 188024)
+++ ira.c (working copy)
@@ -4036,7 +4036,7 @@ move_unallocated_pseudos (void)
/* If the backend knows where to allocate pseudos for hard
register initial values, register these allocations now. */
-void
+static void
allocate_initial_values (void)
{
if (targetm.allocate_initial_value)
More information about the Gcc-patches
mailing list