* config/rs6000/rs6000.c (macho_branch_islands): Adjust for changes
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Aug 2012 07:30:24 +0000 (07:30 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Aug 2012 07:30:24 +0000 (07:30 +0000)
to vec.h.

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

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index c10e2f8..c7f8d1c 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-17  Iain Sandoe  <iain@codesourcery.com>
+
+       * config/rs6000/rs6000.c (macho_branch_islands): Adjust for changes
+       to vec.h.
+
 2012-08-17  Jakub Jelinek  <jakub@redhat.com>
 
        * doc/invoke.texi (-Wsizeof-pointer-memaccess): Document.
index 4571c6f..ba55321 100644 (file)
@@ -24902,7 +24902,7 @@ macho_branch_islands (void)
 
   while (!VEC_empty (branch_island, branch_islands))
     {
-      branch_island *bi = VEC_last (branch_island, branch_islands);
+      branch_island *bi = &VEC_last (branch_island, branch_islands);
       const char *label = IDENTIFIER_POINTER (bi->label_name);
       const char *name = IDENTIFIER_POINTER (bi->function_name);
       char name_buf[512];