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] | |
On 09/09/14 23:03 +0200, François Dumont wrote:
On 09/09/2014 19:29, Jonathan Wakely wrote:Sure, no problem. In the patch I am preparing for profile mode failure in allocation will just mean that the involved container won't be profiled so that I can add noexcept wherever it is needed for consistency with normal mode. I hope to be able to submit this patch in a week or two.On 14/08/14 21:22 +0200, François Dumont wrote:I am preparing a patch for profile mode so I will submit modification for this mode with this big patch.btw, François, for profile mode I think we should just do something like this patch. I feel quite strongly that if using Debug Mode or Profile Mode makes your program run out of memory where it wouldn't usually fail, then terminating is reasonable. The point of Profile Mode is not to test abnormal execution of your program because that won't give you useful profile information for the normal case. It's more important for the noexcept specification to be consistent across normal/debug/profile modes than for profile mode to fail gracefully via bad_alloc in out-of-memory scenarios.
Great - thanks for working on it.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |