This is the mail archive of the gcc-patches@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]

Re: [C++ patch] Set attributes for C++ runtime library calls


On 08/22/2013 09:19 AM, Jan Hubicka wrote:
  - I tried to track functions that lead to terminate() and not mark them
    as ECF_LEAF.  This is because user can set handler.  If the handler
    can resonably expect the static vars defined in its unit to be
    in the final form, we can not consider it ECF_LEAF.
    Perhaps there are cases where terminate() is called only for programs
    already after undefined effect?

Not really; terminate() is an alternative to undefined behavior.

  - Is do_end_catch nothrow? It does not seem to be declared so in libsupc++

No, destroying the exception object might throw.

Bootstrapped/regtested x86_64-linux, OK?

OK.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]