standard violation in exception handling
Ewgenij Gawrilow
gawrilow@math.TU-Berlin.DE
Mon Apr 19 05:57:00 GMT 1999
egcs 1.1.2 seems to produce code violating the ANSI Standard. More exactly,
par. 15.3.16, which states:
> The exception being handled is rethrown if control reaches the end of a
> handler of the function-try-block of a constructor or destructor.
The attached program tests whether an implicit `throw' is emitted at the end of
the catch clause in A::A().
More information about the Gcc-bugs
mailing list