PR opt/8492

Graham Stott graham.stott@btinternet.com
Fri Jan 24 20:43:00 GMT 2003


Jan,

This code has a typo :-)

Jan Hubicka wrote:
[snip]
> *************** one_cprop_pass (pass, cprop_jumps, bypas
> *** 4503,4508 ****
> --- 4510,4518 ----
>         fprintf (gcse_file, "%d const props, %d copy props\n\n",
>   	       const_prop_count, copy_prop_count);
>       }
> +   /* Global analysis may get into infinite loops for unreachable blocks.  */
> +   if (changed && cprop_jump)
                      ^^^^^^^^^^ This should be cprop_jumps, cprop_jump is a function :-)

> +     delete_unreachable_blocks ();
>   
>     return changed;
>   }
> 

Graham



More information about the Gcc-patches mailing list