This is the mail archive of the gcc-patches@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]

Re: Refinement of returning nonzero from cse_main


Richard

Richard Kenner wrote:
> 
> cse_main returns nonzero if jump needs to be rerun, but it was a bit
> too liberal when it thinks it sees a need to add a REG_LABEL note.  This
> fixes it.
> 
> Fri Feb 16 12:41:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
> 
>         * cse.c (new_label_ref): New variable.
>         (insert): Set it instead of recorded_label_ref.
>         (cse_basic_block): Set recorded_label_ref if new_label_ref use, has
>         CODE_LABEL for this function, and not already in REG_LABEL note.
> 
>[snip]
> 
> + /* Says which LABEL_REF was put in the hash table.  Used to see if we need
> +    to set the above flag.  */
> + static rtx new_label_ref;
> +

Doesn't this need registering as a new rtx garbage collection root?

>[snip]

Graham


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