This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch fixing PR49008


  The following patch fixes

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49008

  This typo was not important as the code worked correctly in the most
cases as units required precence of only one another unit mostly.

  Committed as rev. 207701.

2014-02-11  Vladimir Makarov  <vmakarov@redhat.com>

        PR target/49008
        * genautomata.c (add_presence_absence): Fix typo with
        {final_}presence_list.

Index: genautomata.c
===================================================================
--- genautomata.c	(revision 207697)
+++ genautomata.c	(working copy)
@@ -2348,7 +2348,7 @@ add_presence_absence (unit_set_el_t dest
 		for (prev_el = (presence_p
 				? (final_p
 				   ? dst->unit_decl->final_presence_list
-				   : dst->unit_decl->final_presence_list)
+				   : dst->unit_decl->presence_list)
 				: (final_p
 				   ? dst->unit_decl->final_absence_list
 				   : dst->unit_decl->absence_list));

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]