From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12651 invoked by alias); 2 Dec 2018 16:38:42 -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 12640 invoked by uid 89); 2 Dec 2018 16:38:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=sk:gimple-, sk:gimple X-HELO: gcc1-power7.osuosl.org Received: from gcc1-power7.osuosl.org (HELO gcc1-power7.osuosl.org) (140.211.15.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 02 Dec 2018 16:38:40 +0000 Received: by gcc1-power7.osuosl.org (Postfix, from userid 10019) id 32E6C1240899; Sun, 2 Dec 2018 16:38:38 +0000 (UTC) From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Cc: jakub@redhat.com, Joseph Myers , jason@redhat.com, nathan@acm.org, polacek@redhat.com, Segher Boessenkool Subject: [PATCH v2 0/2] asm qualifiers (PR55681) and asm inline Date: Sun, 02 Dec 2018 16:38:00 -0000 Message-Id: X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg00039.txt.bz2 Hi! v2, with the input from Joseph taken into account. This is the same "asm inline" patch as before, but now preceded by a patch that makes all orderings of volatile/goto/inline valid, all other type qualifiers invalid, all repetitions of qualifiers invalid. Tested on powerpc64-linux {-m32,-m64}. Is this okay for trunk? Segher gcc/c/c-parser.c | 91 +++++++++++++++--------- gcc/c/c-tree.h | 3 +- gcc/c/c-typeck.c | 3 +- gcc/cp/cp-tree.h | 2 +- gcc/cp/parser.c | 92 +++++++++++++++++-------- gcc/cp/pt.c | 2 +- gcc/cp/semantics.c | 3 +- gcc/doc/extend.texi | 23 +++++-- gcc/gimple-pretty-print.c | 2 + gcc/gimple.h | 24 ++++++- gcc/gimplify.c | 1 + gcc/ipa-icf-gimple.c | 3 + gcc/testsuite/c-c++-common/torture/asm-inline.c | 53 ++++++++++++++ gcc/testsuite/gcc.dg/asm-qual-1.c | 10 ++- gcc/testsuite/gcc.dg/asm-qual-2.c | 46 +++++++++++++ gcc/tree-core.h | 3 + gcc/tree-inline.c | 3 + gcc/tree.h | 3 + 18 files changed, 294 insertions(+), 73 deletions(-) create mode 100644 gcc/testsuite/c-c++-common/torture/asm-inline.c create mode 100644 gcc/testsuite/gcc.dg/asm-qual-2.c -- 1.8.3.1