This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: document edge flags
- To: Zack Weinberg <zack at codesourcery dot com>
- Subject: Re: document edge flags
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 5 Nov 2001 08:47:56 -0800
- Cc: Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org
- References: <20011030144119.B30945@atrey.karlin.mff.cuni.cz> <20011030074203.J28319@codesourcery.com> <20011104231349.B17976@redhat.com> <20011105000317.K267@codesourcery.com>
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~