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: document edge flags


On Mon, Nov 05, 2001 at 12:03:17AM -0800, Zack Weinberg wrote:
>  ... indicates an edge which will be traversed by normal advancement
>  of the PC; the processor does not execute a jump.

Better.

> /* EDGE_ABNORMAL edges cannot be redirected.  For instance, computed
>    'goto' produces abnormal edges, since the compiler does not know
>    how to adjust the calculation of the destination address.  */

Good.

> Does this mean that if you write
> 
>   try {
>     a();
>   } catch (...) { /* stuff */ }
> 
> and a may throw, there is no EDGE_EH edge from a to the catch block?

No, a call is defined as a trapping insn for the purposes of EH.


r~


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