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: [tree-ssa] Fun with exceptions -- opinions needed


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


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