Patchwork [v3] libstdc++/46683

login
register
mail settings
Submitter Paolo Carlini
Date Nov. 28, 2010, 10:24 a.m.
Message ID <4CF22DEA.5090602@oracle.com>
Download mbox | patch
Permalink /patch/73326/
State New
Headers show

Comments

Paolo Carlini - Nov. 28, 2010, 10:24 a.m.
Hi,

for some reason, I never really found the time to investigate,
dg-require* must come last in a block of dg-* directives. Testes
x86_64-linux, committed.

Paolo.

/////////////////////
2010-11-28  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/46683
	* testsuite/ext/profile/mh.cc: Move dg-require* directives to the end.
	* testsuite/ext/profile/all.cc: Likewise.

Patch

Index: testsuite/ext/profile/mh.cc
===================================================================
--- testsuite/ext/profile/mh.cc	(revision 167218)
+++ testsuite/ext/profile/mh.cc	(working copy)
@@ -1,10 +1,10 @@ 
-// { dg-require-profile-mode "" }
 // { dg-do compile { target *-*-linux* } }
 // { dg-xfail-if "" { uclibc } { "*" } { "" } }
+// { dg-require-profile-mode "" }
 
 // -*- C++ -*-
 
-// Copyright (C) 2006, 2007, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2007, 2009, 2010 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
Index: testsuite/ext/profile/all.cc
===================================================================
--- testsuite/ext/profile/all.cc	(revision 167218)
+++ testsuite/ext/profile/all.cc	(working copy)
@@ -1,11 +1,11 @@ 
-// { dg-require-profile-mode "" }
 // { dg-options "-std=gnu++0x -O0" }
 // { dg-options "-std=gnu++0x -O0 -D_GLIBCXX_PROFILE_NO_THREADS" { target { ! tls_native } } }
 // { dg-do compile }
+// { dg-require-profile-mode "" }
 
 // -*- C++ -*-
 
-// Copyright (C) 2006, 2007, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2007, 2009, 2010 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the