--- Comment #2 from bangerth at gmail dot com 2009-01-30 15:58 ---
The standard details certain side effects of throwing exceptions such
as allocating and freeing memory as well as setting expressions that
std::uncaught_exception can evaluate. These side effects can not
always be omitted
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Severity|normal |enhancement
Keywords||missed-op
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-29 01:50 ---
You would think that but I think no C++ compiler does that optimization at all.
They might get rid of empty final's but not throw catches.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38658