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: [RFA:] testsuite: robustify g++.old-deja/g++.eh/badalloc1.C for 64-bit systems


On Sep 2, 2014, at 3:28 AM, Hans-Peter Nilsson <hans-peter.nilsson@axis.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?

Ok.

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).

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