From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46667 invoked by alias); 6 Mar 2019 15:06:31 -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 46655 invoked by uid 89); 6 Mar 2019 15:06:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Hx-languages-length:377 X-HELO: mail-qt1-f193.google.com Received: from mail-qt1-f193.google.com (HELO mail-qt1-f193.google.com) (209.85.160.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 06 Mar 2019 15:06:29 +0000 Received: by mail-qt1-f193.google.com with SMTP id d18so13124927qtg.12 for ; Wed, 06 Mar 2019 07:06:29 -0800 (PST) Return-Path: Received: from [192.168.1.115] (209-6-216-142.s141.c3-0.smr-cbr1.sbo-smr.ma.cable.rcncustomer.com. [209.6.216.142]) by smtp.gmail.com with ESMTPSA id r44sm1119821qtb.53.2019.03.06.07.06.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 07:06:26 -0800 (PST) Subject: Re: [C++ PATCH] Allow value initialization of classes with flexible array member (PR c++/87148) To: Jakub Jelinek Cc: gcc-patches@gcc.gnu.org References: <20190305222345.GE7611@tucnak> From: Jason Merrill Message-ID: Date: Wed, 06 Mar 2019 15:08:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190305222345.GE7611@tucnak> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00274.txt.bz2 On 3/5/19 5:23 PM, Jakub Jelinek wrote: > Hi! > > In this PR, Jonathan argues that we should accept value initialization of > classes with flexible array member. > > The following patch does that. Bootstrapped/regtested on x86_64-linux > and i686-linux, ok for trunk? OK. Jason