This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR testsuite/25318 (-freorder-blocks-and-partition)
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 27 Jan 2006 16:39:26 -0800
- Subject: Re: PATCH: PR testsuite/25318 (-freorder-blocks-and-partition)
- References: <200601280027.QAA23338@hpsje.cup.hp.com>
On Fri, Jan 27, 2006 at 04:27:13PM -0800, Steve Ellcey wrote:
> The test g++.dg/other/pr22003.C fails on machines that don't support
> -freorder-blocks-and-partition since that option is required for the
> test.
>
> This patch adds an check_effective_target for the flag and uses that
> instead of dg-require-named-sections to determine if it should run the
> tests. Named sections are necessary, but not sufficient to support
> -freorder-blocks-and-partition so some tests that have named sections
> don't support -freorder-blocks-and-partition and thus have a test
> failure.
>
> Tested on HPPA HP-UX, IA64 HP-UX, and IA64 Linux with no regressions.
OK for trunk and the 4.1-branch, but remove the comment:
/* -freorder-blocks-and-partition is not supported on machines */
/* that do not support named sections. */
It explained the use of dg-require-named-sections and is no longer
relevant.
Janis