From patchwork Thu Jun 5 08:10:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 356215 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 61F6914009C for ; Thu, 5 Jun 2014 18:10:26 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; q=dns; s=default; b=kmZzPhilHfh7Yopx K2hUt1dpARTMmh3FNgqPFfEcl02FZ0b8v6tAK6P4TjBrr+YxtC5g1qjcg+Lm9QRq 9ySYC4+VGBzlMn616tcKWd1QaZPZ1HcKgcAttoshWFO0qKUnZn4oeLYw27l+bP7m PkNpSO+Is+oN8lilWzYfn46kSR8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=default; bh=9jjMu+K6s+UFNF9iI+CmNa MGcmM=; b=B62GgRWXht6n44J3Fsd1P7q2gQbcC5u+lLwmZLmZOkK73mVKOC1EEE fsDReODgy8rpgtM4j5yZ8OEghbjWEzz8tjEfza+me5CB954umbO3/9NKhENT/Fic p7u7fafe6if3YaVhDQq56YBz73IeiUyre9+WZszuTqMgZE7qHUsXY= Received: (qmail 9577 invoked by alias); 5 Jun 2014 08:10:15 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 9556 invoked by uid 89); 5 Jun 2014 08:10:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD autolearn=ham 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; Thu, 05 Jun 2014 08:10:08 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AC84DAC34; Thu, 5 Jun 2014 08:10:05 +0000 (UTC) From: Andreas Schwab To: Jason Merrill Cc: gcc-patches List Subject: Re: C++ PATCH for c++/61382 (init-list evaluation order) References: <538F4056.7020009@redhat.com> X-Yow: Let me do my TRIBUTE to FISHNET STOCKINGS... Date: Thu, 05 Jun 2014 10:10:05 +0200 In-Reply-To: <538F4056.7020009@redhat.com> (Jason Merrill's message of "Wed, 04 Jun 2014 11:50:46 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 * g++.dg/cpp0x/initlist86.C (main): Initialize i. diff --git a/gcc/testsuite/g++.dg/cpp0x/initlist86.C b/gcc/testsuite/g++.dg/cpp0x/initlist86.C index 16af476..ace2ef9 100644 --- a/gcc/testsuite/g++.dg/cpp0x/initlist86.C +++ b/gcc/testsuite/g++.dg/cpp0x/initlist86.C @@ -11,7 +11,7 @@ extern "C" int printf (const char *, ...); int main() { - int i; + int i = 0; A a{i++,i++}; if (a.i != 0 || a.j != 1) __builtin_abort();