This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][libstdc++][testsuite] Mark as UNSUPPORTED tests that don't fit into tiny memory model
- From: Mike Stump <mikestump at comcast dot net>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, libstdc++ at gcc dot gnu dot org
- Date: Tue, 9 Dec 2014 12:14:35 -0800
- Subject: Re: [PATCH][libstdc++][testsuite] Mark as UNSUPPORTED tests that don't fit into tiny memory model
- Authentication-results: sourceware.org; auth=none
- References: <5486DA30 dot 5070600 at arm dot com>
On Dec 9, 2014, at 3:17 AM, Kyrill Tkachov <kyrylo.tkachov@arm.com> wrote:
> In the gcc and g++ testsuite we already catch such cases and mark them as UNSUPPORTED. In libstdc++.exp there is no such functionality.
> I'm not very happy that it had to be copied, but I couldn't find a way to include the gcc definition sanely.
> Is this a sane approach to what I'm trying to solve?
Ok.
If you would like, you can try and pull the common parts out into a new file, and include (load) that file from the two places that currently do that. If they are exactly identical, should be trivial enough. If not exactly the same, I’d do two patches, once to make them the same, then, the second one to split them out.