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: PATCH: PR testsuite/25318 (-freorder-blocks-and-partition)


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


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