This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Fun with exceptions -- opinions needed
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: law at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: 16 Jun 2003 13:22:15 -0400
- Subject: Re: [tree-ssa] Fun with exceptions -- opinions needed
- References: <200306132347.h5DNlHRZ030233@speedy.slc.redhat.com>
law wrote:
> [...] OK. So think about what happens if "get" throws an exception
> in the statement "i = get (strm.5)". Right, the side effect of
> assigning a new value to "i" does not happen.
Can someone explain why such a side-effect would be expected? I
couldn't find a reference in Stroustrup about what is supposed to
happen to the LHS of an assignment interrupted by an exception.
- FChE