[RFA:] testsuite: robustify g++.old-deja/g++.eh/badalloc1.C for 64-bit systems
Tue Sep 2 15:47:00 GMT 2014
On Sep 2, 2014, at 3:28 AM, Hans-Peter Nilsson <email@example.com> wrote:
> In a native x86_64-linux toolchain in which
> eh-table-registration is done explicitly (i.e. dl_iterate_phdr
> and PT_GNU_EH_FRAME is *not* assumed, as that eliminates the
> issue), the memory overhead for exception-initialization goes
> beyond the 32768 bytes assumed in badalloc1.C and the test fails
> for reasons not intended by the test.
> Ok to commit?
If someone with deeper insight into the details wants to chime in, or robustify it some more… the test strikes me as unfortunately brittle.
I’d be tempted to make it the maximal size on any system (subject to smaller systems limiting it, cause they are small).
More information about the Gcc-patches