This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch fixing PR49008
- From: Vladimir Makarov <vmakarov at redhat dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 11 Feb 2014 17:05:01 -0500
- Subject: patch fixing PR49008
- Authentication-results: sourceware.org; auth=none
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));