diff mbox

patch fixing PR49008

Message ID 52FA9E8D.2000500@redhat.com
State New
Headers show

Commit Message

Vladimir Makarov Feb. 11, 2014, 10:05 p.m. UTC
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.
diff mbox

Patch

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));