[{"id":1769290,"web_url":"http://patchwork.ozlabs.org/comment/1769290/","msgid":"<e6af0ad5-070b-9f65-712b-d85010cd40d9@redhat.com>","list_archive_url":null,"date":"2017-09-15T16:11:28","subject":"Re: [c-family] Issue a warning in C++ on pragma scalar_storage_order","submitter":{"id":4400,"url":"http://patchwork.ozlabs.org/api/people/4400/","name":"Jeff Law","email":"law@redhat.com"},"content":"On 09/15/2017 05:07 AM, Eric Botcazou wrote:\n> Hi,\n> \n> this plugs the hole reported by Florian on the gcc@ list, namely that no \n> warning is issued with -Wall in C++ on pragma scalar_storage_order.\n> \n> Tested on x86_64-suse-linux, OK for the mainline?  And some branches?\n> \n> \n> 2017-09-15  Eric Botcazou  <ebotcazou@adacore.com>\n> \n> \t* c-pragma.c (handle_pragma_scalar_storage_order): Expand on error\n> \tmessage for non-uniform endianness and issue a warning in C++.\n> \n> \n> 2017-09-15  Eric Botcazou  <ebotcazou@adacore.com>\n> \n> \t* g++.dg/sso-1.C: New test.\n> \t* g++.dg/sso-2.C: Likewise.\n> \nOK.\njeff","headers":{"Return-Path":"<gcc-patches-return-462278-incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list gcc-patches@gcc.gnu.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-462278-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"HpgrezXw\"; dkim-atps=neutral","sourceware.org; auth=none","ext-mx02.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx02.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=law@redhat.com"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xv0lJ04fcz9s3w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 02:11:39 +1000 (AEST)","(qmail 92027 invoked by alias); 15 Sep 2017 16:11:33 -0000","(qmail 92016 invoked by uid 89); 15 Sep 2017 16:11:32 -0000","from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by\n\tsourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tFri, 15 Sep 2017 16:11:31 +0000","from smtp.corp.redhat.com\n\t(int-mx01.intmail.prod.int.phx2.redhat.com\n\t[10.5.11.11])\t(using TLSv1.2 with cipher AECDH-AES256-SHA\n\t(256/256 bits))\t(No client certificate requested)\tby\n\tmx1.redhat.com (Postfix) with ESMTPS id 67DD7806B3;\n\tFri, 15 Sep 2017 16:11:30 +0000 (UTC)","from localhost.localdomain (ovpn-112-55.rdu2.redhat.com\n\t[10.10.112.55])\tby smtp.corp.redhat.com (Postfix) with ESMTP\n\tid 9224C704A2; Fri, 15 Sep 2017 16:11:29 +0000 (UTC)"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:subject:to:references:from:message-id:date:mime-version\n\t:in-reply-to:content-type:content-transfer-encoding; q=dns; s=\n\tdefault; b=X82UFcFcXBong6jf1vTCkJ6WFo5VnlRLusoFpDXmODvOMU8sbqLfj\n\thKMItXYsSRg4AwgbPMYoP//uCpU1R/d9cPao3IzZz2KMf8yB7W4AHzwRZr6eJymk\n\tQI5+IyCf8WuKLEZsVws1AT35uTDSLMsE1h8uCVtgIxMx4vWgj90gis=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:subject:to:references:from:message-id:date:mime-version\n\t:in-reply-to:content-type:content-transfer-encoding; s=default;\n\tbh=Cn0Yb8Z8lmD+hYKDNvxv83OQ66Q=; b=HpgrezXwkdOvlQEZCG13hGsbPyDh\n\tqN2KNaPtBobYwlbRWTlXMLiutTyHt6uYkHNBdSMCtTcy7EDPEUH7Tc/xhtf+j76s\n\t+XE5lalrLbg/iS+PQJouagm+VQ3LDhR8FydWwdxWd8me+EsNU3WSxcGUPawisEcx\n\tsiX8MCtjV7xA9zM=","Mailing-List":"contact gcc-patches-help@gcc.gnu.org; run by ezmlm","Precedence":"bulk","List-Id":"<gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>","List-Archive":"<http://gcc.gnu.org/ml/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-help@gcc.gnu.org>","Sender":"gcc-patches-owner@gcc.gnu.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-1.9 required=5.0 tests=BAYES_00,\n\tRP_MATCHES_RCVD,\n\tSPF_HELO_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"mx1.redhat.com","DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com 67DD7806B3","Subject":"Re: [c-family] Issue a warning in C++ on pragma scalar_storage_order","To":"Eric Botcazou <ebotcazou@adacore.com>, gcc-patches@gcc.gnu.org","References":"<14071962.Srb1NyX0Vs@polaris>","From":"Jeff Law <law@redhat.com>","Message-ID":"<e6af0ad5-070b-9f65-712b-d85010cd40d9@redhat.com>","Date":"Fri, 15 Sep 2017 10:11:28 -0600","User-Agent":"Mozilla/5.0 (X11; Linux x86_64;\n\trv:52.0) Gecko/20100101 Thunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<14071962.Srb1NyX0Vs@polaris>","Content-Type":"text/plain; charset=windows-1252","Content-Transfer-Encoding":"7bit","X-IsSubscribed":"yes"}}]