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

            Bug ID: 57229
           Summary: 4.6/4.7/4.8 inconsistent check for
                    PRE_MODIFY/POST_MODIFY in post_reload
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rwahl at gmx dot de

Created attachment 30077
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30077&action=edit
Proposed fix.

I have found an inconsistency in postreload.c: move2add_note_store(). While
reload_combine_note_store() has been fixed to deal with PRE_MODIFY/POST_MODIFY
in PR 47008 this change is missing for move2add_note_store(). This actually may
lead to wrong code for the msp430 arch (which currently is not yet officially
supported). But I think the code should be fixed anyway to avoid any surprise
when some arch is triggering it. See the attached fix.

This is the URL of the mspgcc bug report:
https://sourceforge.net/p/mspgcc/bugs/353/

Reply via email to