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

Re: Question on fixup_abnormal_edges


> 
> Hello,
> 
> In reload1.c, part of fixup_abnormal_edges reads like:
> 
>      [...]
>      for (e = bb->succ; e; e = e->succ_next)
>        if (e->flags & EDGE_FALLTHRU)
>          break;
>      [...]
>      insert_insn_on_edge (seq, e);
> 
> 
>  Is it expectable to have a null "e" after the loop, or is this a
>  "should never happen" ?

It should never happen.  Where are you getting it?

Honza
> 
>  If the former, what would be the appropriate action ?
> 
>  Thanks in advance for your help,
> 
>  Kind Regards,
> 
>  Olivier


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