http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50678
--- Comment #46 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-10-18 16:03:20 UTC --- > that seems reasonable if the result can be cached - otherwise it's potentially > a big hit. We don't really care about performances here: a signal has been raised and we're about to throw a DWARF exception, so everything is already quite costly. But saving the result in a static variable should indeed be possible.