This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/46528] [4.6 Regression] profiledbootstrap failure


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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #20 from Uros Bizjak <ubizjak at gmail dot com> 2010-11-25 19:34:03 UTC ---
(In reply to comment #17)
> Please try
> 
> Index: gcc/profile.c
> ===================================================================
> --- gcc/profile.c       (revision 167127)
> +++ gcc/profile.c       (working copy)
> @@ -940,7 +943,8 @@ branch_prob (void)
>           for (gsi = gsi_last_bb (bb); !gsi_end_p (gsi); gsi_prev (&gsi))
>             {
>               last = gsi_stmt (gsi);
> -             if (gimple_has_location (last))
> +             if (!is_gimple_debug (last)
> +                 && gimple_has_location (last))
>                 break;
>             }

Great, this bootstrapped OK for -enable-languages=c.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]