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: verbose terminate() on by default


Daniel Jacobowitz <drow@mvista.com> writes:

| > It currenlty uses:
| > 
| >    * free() // to free the storage allocated by the demangler

I forgot to precise tha free(0 is already used in libsupc++.

| >    * abort() // which is already used in libsupc++
| >    * fprintf() // which might be effcienly replaced by write() or puts().
| 
| OK.  I suspect both I and Alex would be happier if this were replaced
| by a write () before putting it into libsupc++.

OK.  Phil, please, would you mind moving __verbose_terminate_handler()
definition to libstdc++/eh_terminate.cc and making its definition
static?

-- Gaby


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