C++ exception handling optimization performance

2015-04-24 Thread David Sankel
Hello all, With gcc, does the fact that some branch results in a C++ exception effect the performance of a function when that exception branch isn't entered? In other words, does the presence of a throw effect the optimizer in any way? -- David Sankel -- David Sankel Stellar Scienc

Should G++ reject initializer list narrowing conversions in -std=C++11 -pedantic mode?

2012-12-26 Thread David Sankel
-pedantic" mode reject these programs with an error? As it is now, I don't see an easy way for a user to determine if these warnings are due to C++ 2011 non-conformance or just bad programming practices. Thanks, David Ref: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 -- David Sa