PATCH: PR testsuite/25318 (-freorder-blocks-and-partition)
Janis Johnson
janis187@us.ibm.com
Sat Jan 28 01:01:00 GMT 2006
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
More information about the Gcc-patches
mailing list