From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27502 invoked by alias); 17 Jul 2011 03:34:16 -0000 Received: (qmail 27207 invoked by uid 22791); 17 Jul 2011 03:34:14 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_CX X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 17 Jul 2011 03:33:57 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6H3Xu7w006590 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 16 Jul 2011 23:33:56 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p6H3XuAv026708; Sat, 16 Jul 2011 23:33:56 -0400 Received: from [0.0.0.0] (ovpn-113-36.phx2.redhat.com [10.3.113.36]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p6H3Xsjq015969; Sat, 16 Jul 2011 23:33:55 -0400 Message-ID: <4E225822.2090503@redhat.com> Date: Sun, 17 Jul 2011 08:08:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: Matthias Klose CC: gcc-patches List Subject: Re: PATCH to support running the G++ testsuite in C++0x mode References: <4E1DFFF9.4030005@redhat.com> <4E209523.7010404@redhat.com> <4E214E35.5020401@ubuntu.com> In-Reply-To: <4E214E35.5020401@ubuntu.com> Content-Type: multipart/mixed; boundary="------------040707080307040201090309" Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg01342.txt.bz2 This is a multi-part message in MIME format. --------------040707080307040201090309 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 271 On 07/16/2011 04:39 AM, Matthias Klose wrote: > The change to the toplevel Makefile.in was made in the generated file. Oops, I was forgetting about the new Makefile system. This patch fixes that, and also adds a check-target-libmudflap-c++ target to check-c++. Jason --------------040707080307040201090309 Content-Type: text/x-patch; name="check-c++0x-3.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="check-c++0x-3.patch" Content-length: 2602 commit b1d35a4f5c4b4f0ae6fef6aea0698febecfb8c9b Author: Jason Merrill Date: Sat Jul 16 22:05:47 2011 -0400 * Makefile.def (language=c++): Add check-c++0x and check-target-libmudflap-c++. * Makefile.tpl (check-target-libmudflap-c++): New. * Makefile.in: Regenerate. diff --git a/Makefile.def b/Makefile.def index 0cc6ef6..5116341 100644 --- a/Makefile.def +++ b/Makefile.def @@ -511,8 +511,9 @@ dependencies = { module=configure-target-newlib; on=all-ld; }; dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; }; languages = { language=c; gcc-check-target=check-gcc; }; -languages = { language=c++; gcc-check-target=check-c++; - lib-check-target=check-target-libstdc++-v3; }; +languages = { language=c++; gcc-check-target="check-c++ check-c++0x"; + lib-check-target=check-target-libstdc++-v3; + lib-check-target=check-target-libmudflap-c++; }; languages = { language=fortran; gcc-check-target=check-fortran; lib-check-target=check-target-libquadmath; lib-check-target=check-target-libgfortran; }; diff --git a/Makefile.in b/Makefile.in index e80f048..3b8e6c7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -40120,6 +40120,13 @@ maintainer-clean-target-libgomp: +@if target-libmudflap +.PHONY: check-target-libmudflap-c++ +check-target-libmudflap-c++: + $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap + +@endif target-libmudflap + # ---------- # GCC module # ---------- @@ -40153,13 +40160,8 @@ check-gcc-c++: r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); -check-gcc-c++0x: - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++0x); -check-c++: check-gcc-c++ check-target-libstdc++-v3 check-gcc-c++0x + (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++ check-c++0x); +check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++ .PHONY: check-gcc-fortran check-fortran check-gcc-fortran: diff --git a/Makefile.tpl b/Makefile.tpl index ea3d08d..0d2a0bf 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -1393,6 +1393,13 @@ ENDIF raw_cxx +] [+ ENDFOR recursive_targets +] [+ ENDFOR target_modules +] +@if target-libmudflap +.PHONY: check-target-libmudflap-c++ +check-target-libmudflap-c++: + $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap + +@endif target-libmudflap + # ---------- # GCC module # ---------- --------------040707080307040201090309--