Below patch fixes a small copy-paste mistake, reported by Hui Wu.
(Whether the fix is correct, I'm not fully sure, but the code as
it is looks nonsensical.)


2014-02-06  Benno Schulenberg  <bensb...@justemail.net>

        PR target/49008
        * genautomata.c (add_presence_absence): Fix copy-paste error.


Index: gcc/genautomata.c
===================================================================
--- gcc/genautomata.c   (revision 207551)
+++ gcc/genautomata.c   (working copy)
@@ -2348,7 +2348,7 @@
                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));

Reply via email to