From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id C50AD385840D for ; Tue, 23 Apr 2024 19:51:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C50AD385840D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C50AD385840D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713901888; cv=none; b=LpA9dpT1PA1y2mvp4y24NP3JPDk7+xuJKdzl2m3Lz2Qf3kH8XvjeKkMGleemTvU9g7Wm2WDx2kpp/Dwdxe3qlv5rZUW9buVZDIvLaJDVUW3HRekGglaew9jwh6zGb5IZvtwL/V7JQFZBxT3M5BClzATuyeHwIB9d6ElD+uQckJA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713901888; c=relaxed/simple; bh=dF1xGWOkGyBMi0AnTHjYMKy5gQrZjflI/UYEDBGyRG4=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=mPvAuKbzTh0E/9roiNfS+dQQ8C211vcuTREDq7WEQ/hchExUn9NsZ2fYUqfRDStAFaqp/N64SFJho1FGaYppbJX3foh5dQN6H8akPbTD4y5jFoFYc1udUpMhc4qr9xSRb5bhM0UawZ54d+GlbYwO539dhzfvqdScD+1Iu4Ae0gY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713901886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=s/qsB8Y9kw/ANJwNu/+N1RiyZbqOtjXWiqIf/bbVfzE=; b=CTaPmJA1E+mK5xzgvWk8uH1k0MsPL7agBZR6qXtzGYeXj1deNA6gk8eiUtxVWSpQSxv0Ra Y9u5Y3Je7cgwpC3HxMN1XIHPelC7MqZ0vFsnGtnZrAK+HfBn7i5xYBXHg9MoEb4dJo4LYo HWfboG/NbXoGPyhdEUYAcwaXmegSfFY= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-619-2BnOiYJfMeSF9aO2aV_uBA-1; Tue, 23 Apr 2024 15:51:24 -0400 X-MC-Unique: 2BnOiYJfMeSF9aO2aV_uBA-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-343f8b51910so3940056f8f.3 for ; Tue, 23 Apr 2024 12:51:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713901883; x=1714506683; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=s/qsB8Y9kw/ANJwNu/+N1RiyZbqOtjXWiqIf/bbVfzE=; b=lzlzdIWT/XkRCrUk6Qth7qyZtd4kb03i4jE9KtZFdiFtQ+rk4ptC/OPUSWEfOJtTzM iV0azRrzY5MZsNDvnYYq8qOU6tyS3c1C4iWh9kBvN1LBVhpUbGkxIytzH8h++sqx5QPW SZjD/DCqcM7mylbN272vH7ow00FjUAmbgEgsPHkrGP9cUKOS8zQ2UCYh6tF1KeB+dXP9 IEPz0Ozxdvzyyd5YQKEZrZRUcZlqCMC5AP+n0BBbdbqKc9XF7XfFul8xAx9nUrf7uD3M xIP95tEJJX2NtCCLMG7x3Pcy7TzmToCM/6vbuZ3xZGJtRB/1w452D4sPcyVrdVyWHqy/ qfjw== X-Forwarded-Encrypted: i=1; AJvYcCXQWCFEbNViR2Mjj9dY7cnbHd9bng3c9MFcenwXPO6T81jUGhN9JMYl0mV+dGiCOqrS+vAw9aVdhNQZlzBHwcNdbN4w4SQ65w== X-Gm-Message-State: AOJu0YwfIgw5pshXU+gFvLGLfkOKsw/uaJ1XKQ30TyHDMUMxtsq1Qweg qIsSMKeIyGx1BezXDmwKI+DpgRbyMDe2qiAaTD+oVtcHU1uUq0X+bjiMSTVoNsCxZW77RwKOivO /pSstKkT0qEWhO2Ygn2QtAnwJ7BcGoR+WEtUI5HWpdibZj6nI0V77Sa0= X-Received: by 2002:a05:6000:128a:b0:349:cd18:abbd with SMTP id f10-20020a056000128a00b00349cd18abbdmr137008wrx.46.1713901883727; Tue, 23 Apr 2024 12:51:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHO2KA4//3EnfQ4ZOMUVFbu978zZmpsLcqePZekYdscCr3fS+h0IT60lSlqRqM/GTg6+4ZK/g== X-Received: by 2002:a05:6000:128a:b0:349:cd18:abbd with SMTP id f10-20020a056000128a00b00349cd18abbdmr136989wrx.46.1713901883346; Tue, 23 Apr 2024 12:51:23 -0700 (PDT) Received: from digraph.polyomino.org.uk (digraph.polyomino.org.uk. [2001:8b0:bf73:93f7::51bb:e332]) by smtp.gmail.com with ESMTPSA id t15-20020adfeb8f000000b00349ff2e0345sm15461169wrn.70.2024.04.23.12.51.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 12:51:23 -0700 (PDT) Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.95) (envelope-from ) id 1rzMAj-001xRi-Nz; Tue, 23 Apr 2024 19:51:21 +0000 Date: Tue, 23 Apr 2024 19:51:21 +0000 (UTC) From: Joseph Myers To: Qing Zhao cc: richard.guenther@gmail.com, uecker@tugraz.at, siddhesh@gotplt.org, keescook@chromium.org, gcc-patches@gcc.gnu.org Subject: Re: [RFC][PATCH v1 2/4] C and C++ FE changes to support flexible array members in unions and alone in structures. In-Reply-To: <20240419184317.2138890-3-qing.zhao@oracle.com> Message-ID: References: <20240419184317.2138890-1-qing.zhao@oracle.com> <20240419184317.2138890-3-qing.zhao@oracle.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, 19 Apr 2024, Qing Zhao wrote: > gcc/c/ChangeLog: > > * c-decl.cc (finish_struct): Change errors to pedwarns for the cases > flexible array members in union or alone in structures. The C front-end changes are OK for GCC 15 once everything else in the series is ready for inclusion (in particular, the testsuite changes). -- Joseph S. Myers josmyers@redhat.com