From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38611 invoked by alias); 16 Jun 2015 07:47:22 -0000 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 Received: (qmail 37976 invoked by uid 89); 16 Jun 2015 07:47:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx2.suse.de Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 16 Jun 2015 07:47:21 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 065A5AC62; Tue, 16 Jun 2015 07:47:17 +0000 (UTC) From: Andreas Schwab To: Nathan Sidwell Cc: Jason Merrill , GCC Patches Subject: Re: [C++/58583] ICE instantiating NSDMIs References: <557384CB.1020301@acm.org> <5575D517.1030708@redhat.com> <5576EE23.6030806@acm.org> X-Yow: Please come home with me... I have Tylenol!! Date: Tue, 16 Jun 2015 08:20:00 -0000 In-Reply-To: <5576EE23.6030806@acm.org> (Nathan Sidwell's message of "Tue, 09 Jun 2015 09:46:11 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-06/txt/msg01063.txt.bz2 Nathan Sidwell writes: > PR c++/58583 > * g++.dg/cpp0x/nsdmi-template14.C: New test. spawn -ignore SIGHUP /usr/local/gcc/gcc-20150616/Build/gcc/testsuite/g++2/../../xg++ -B/usr/local/gcc/gcc-20150616/Build/gcc/testsuite/g++2/../../ /usr/local/gcc/gcc-20150616/gcc/testsuite/g++.dg/cpp0x/nsdmi-template14.C -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/usr/local/gcc/gcc-20150616/Build/ia64-suse-linux/libstdc++-v3/include/ia64-suse-linux -I/usr/local/gcc/gcc-20150616/Build/ia64-suse-linux/libstdc++-v3/include -I/usr/local/gcc/gcc-20150616/libstdc++-v3/libsupc++ -I/usr/local/gcc/gcc-20150616/libstdc++-v3/include/backward -I/usr/local/gcc/gcc-20150616/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++11 -pedantic-errors -Wno-long-long -S -o nsdmi-template14.s. /usr/local/gcc/gcc-20150616/gcc/testsuite/g++.dg/cpp0x/nsdmi-template14.C:14:6: error: recursive instantiation of non-static data member initializer for 'B<1>::p'. compiler exited with status 1 output is: /usr/local/gcc/gcc-20150616/gcc/testsuite/g++.dg/cpp0x/nsdmi-template14.C:14:6: error: recursive instantiation of non-static data member initializer for 'B<1>::p'. FAIL: g++.dg/cpp0x/nsdmi-template14.C -std=c++11 (test for errors, line 4) FAIL: g++.dg/cpp0x/nsdmi-template14.C -std=c++11 (test for errors, line 6) PASS: g++.dg/cpp0x/nsdmi-template14.C -std=c++11 (test for errors, line 14) PASS: g++.dg/cpp0x/nsdmi-template14.C -std=c++11 (test for excess errors) Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."