[Bug bootstrap/69123] [6 Regression] --with-build-config='bootstrap-O3 bootstrap-debug' miscompiled stage 2

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 5 23:15:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69123

--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #10)
> This change makes it to compile:
> 
> diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
> index 07eea84..43a85b7 100644
> --- a/gcc/var-tracking.c
> +++ b/gcc/var-tracking.c
> @@ -4968,7 +4968,7 @@ dataflow_set_different (dataflow_set *old_set,
> dataflow_set *new_set)
>    if (old_set->vars == new_set->vars)
>      return false;
>  
> -  if (shared_hash_htab (old_set->vars)->elements ()
> +  if (0 && shared_hash_htab (old_set->vars)->elements ()
>        != shared_hash_htab (new_set->vars)->elements ())
>      return true;

This patch bootstraps GCC using -O3 without any regressions.


More information about the Gcc-bugs mailing list