[Bug bootstrap/54688] [4.8 regression] violation of implicit restriction "No_Elaboration_Code" on a-ioexce.ads

bernds at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 27 13:28:00 GMT 2012


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

--- Comment #11 from Bernd Schmidt <bernds at gcc dot gnu.org> 2012-09-27 13:28:12 UTC ---
Hmm, strange. What if you just make a change like this:

@@ -4600,8 +4600,7 @@ parse_add_or_inc (struct mem_inc_info *m
   if (!REG_P (SET_DEST (pat)))
     return false;

-  if (GET_CODE (SET_SRC (pat)) != PLUS
-      && GET_CODE (SET_SRC (pat)) != MINUS)
+  if (GET_CODE (SET_SRC (pat)) != PLUS)
     return false;

   mii->inc_insn = insn;



More information about the Gcc-bugs mailing list