On Wed, Dec 21, 2011 at 08:00:08AM -0800, Richard Henderson wrote: > On 12/21/2011 06:25 AM, Jakub Jelinek wrote: > > In my redhat/gcc-4_7-branch build with -fexceptions in XCFLAGS > > (comes from standard Fedora optimization flags) > > Really? Out of curiousity, why?
Because for C it allows more efficient pthread_cleanup_push/pop (using cleanup attribute). For C code that doesn't use the cleanup attribute it should otherwise not have any significant impact (and for C++ it is already a default anyway). Jakub