From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5541 invoked by alias); 28 Nov 2012 08:51:10 -0000 Received: (qmail 5488 invoked by uid 48); 28 Nov 2012 08:50:55 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/55429] new UNRESOLVED: 20_util/enable_shared_from_this/cons/constexpr.cc scan-assembler on darwin Date: Wed, 28 Nov 2012 08:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg02679.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55429 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jwakely.gcc at gmail dot | |com, paolo.carlini at | |oracle dot com --- Comment #8 from Dominique d'Humieres 2012-11-28 08:50:55 UTC --- The following patch (borrowed from gcc/testsuite/lib/gcc-dg.exp) fixes the on x86_64-apple-darwin10: --- ../_clean/libstdc++-v3/testsuite/lib/libstdc++.exp 2012-11-24 01:46:03.000000000 +0100 +++ libstdc++-v3/testsuite/lib/libstdc++.exp 2012-11-27 22:35:33.000000000 +0100 @@ -389,14 +389,21 @@ if { [info procs saved-dg-test] == [list proc dg-test { args } { global additional_prunes global errorInfo + global testname_with_flags if { [ catch { eval saved-dg-test $args } errmsg ] } { set saved_info $errorInfo set additional_prunes "" + if [info exists testname_with_flags] { + unset testname_with_flags + } unset_timeout_vars error $errmsg $saved_info } set additional_prunes "" + if [info exists testname_with_flags] { + unset testname_with_flags + } unset_timeout_vars } } Notes: (1) I don't understand why this triggered on darwin only; (2) the option -save-temps is not necessary in libstdc++-v3/testsuite/20_util/enable_shared_from_this/cons/constexpr.cc libstdc++-v3/testsuite/20_util/shared_ptr/cons/constexpr.cc libstdc++-v3/testsuite/20_util/unique_ptr/cons/constexpr.cc libstdc++-v3/testsuite/20_util/weak_ptr/cons/constexpr.cc libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc see http://gcc.gnu.org/ml/libstdc++/2012-11/msg00148.html .