[Bug bootstrap/58186] LTO profiledbootstrap fails in stage feedback for fortran/frontend-passes.c with "edge ... has no corresponding call_stmt"

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Sep 6 20:27:00 GMT 2013


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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jan Hubicka from comment #4)
> This ought to be fixed now.  Does it still reproduce to you?

Yes, the profiledbootstrap is OK in r202335, although following patch is needed
to avoid "may be used undefined" warning:

--cut here--
Index: ipa-prop.c
===================================================================
--- ipa-prop.c  (revision 202335)
+++ ipa-prop.c  (working copy)
@@ -3526,7 +3526,7 @@ ipa_modify_call_arguments (struct cgraph_edge *cs,
        {
          tree expr, base, off;
          location_t loc;
-         unsigned int deref_align;
+         unsigned int deref_align = 0;
          bool deref_base = false;

          /* We create a new parameter out of the value of the old one, we can
--cut here--


More information about the Gcc-bugs mailing list