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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernds at gcc dot gnu.org

--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
I think this issue was latent and exposed by r195702.  It didn't change
the way auto increment/decrement instructions were handled.

Problem can be worked around on hppa1.1 as follows:

Index: pa.c
===================================================================
--- pa.c    (revision 198081)
+++ pa.c    (working copy)
@@ -513,6 +513,12 @@
       write_symbols = NO_DEBUG;
     }

+#ifdef AUTO_INC_DEC
+  /* FIXME: Disable auto increment and decrement processing until reload
+     is completed.  See PR middle-end 56791.  */
+  flag_auto_inc_dec = reload_completed;
+#endif
+
   /* We only support the "big PIC" model now.  And we always generate PIC
      code when in 64bit mode.  */
   if (flag_pic == 1 || TARGET_64BIT)

Problem can duplicated on hpux11 by configuring for hppa1.1.

However, I can't see any way to fix this in the PA backend.

Reply via email to