This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Thu, Mar 29, 2012 at 10:47 AM, Stephan Bergmann<sbergman@redhat.com> wrote:So an explicit -fnon-call-exceptions on the command line seems to indeed help. Unfortunately, moving that into a
#pragma GCC optimize ("non-call-exceptions")
at the top of the source file that defines callVirtualMethod (and nothing more) does *not* work. Is that a bug?
The optimize pragma has only very limited support for this kind of options, so yes, it's techincally a bug but don't hold your breath.
Anyway, would it be worthwhile filing an RFE for an asm annotation telling the compiler that it contains code that can throw?
I suppose yes.
Thanks, Stephan
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |