From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8486 invoked by alias); 30 Apr 2018 19:04:05 -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 8435 invoked by uid 89); 30 Apr 2018 19:04:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,URIBL_RED autolearn=ham version=3.3.2 spammy=categories, homework, house X-HELO: mail-qt0-f194.google.com Received: from mail-qt0-f194.google.com (HELO mail-qt0-f194.google.com) (209.85.216.194) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Apr 2018 19:04:03 +0000 Received: by mail-qt0-f194.google.com with SMTP id d3-v6so12147951qtp.11 for ; Mon, 30 Apr 2018 12:04:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=21Hl+Cwg1n9zpkQOY2xz2/ZXuufF/GDjlM2yEsh2tH4=; b=VGhvsphaTRvptZWRQ5TW2JUh+B+8TKU4iLC9nPhZGxqa3ZbiePHDWGL659cV1TqpDV QU/H3MJDXZbwfziwjaNGxJzeZYqqejmZ8mYO/ONkFOQHbmbxkdrk0g3QRz/zL4vCMj51 lmHXsjKEIRGoaR4/4vhiDJPDWOrYmRg5MY6FdRwRVptznFckW4ESS6hsybxqLph9ROmA hyP7RufERCyzdMFBcAmFtzkcJyTqFsHqaSwIraBGO1AThV/4emD59gDr0Yst2n9qUwwB b4QYjgbq90Up6/e+tAOhZ85qgs1uWJl3ZpQauUGfVAIDT0uEO4Ft0r7oC1wQtD7vbXU9 9+Rg== X-Gm-Message-State: ALQs6tC/ocXfBLNulCYQIVioNUrtG4nHXGOaW0JxAc2gQpu/sDiQSmsT NMt1GNnZDljU2oTtcdn4cn7/bEnKjpNy/GEd7l7Lbw== X-Google-Smtp-Source: AB8JxZrA/AJ+heKK6E3uQqTVJtvSggWr1lypzFpFfcU3+UrqkKdik1CcWIBC4t6XbE0FUvo1hh96aasMKEiqSGYyTFc= X-Received: by 2002:a0c:c602:: with SMTP id v2-v6mr5377993qvi.11.1525115041790; Mon, 30 Apr 2018 12:04:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.22.9 with HTTP; Mon, 30 Apr 2018 12:04:01 -0700 (PDT) In-Reply-To: References: From: Will Hawkins Date: Mon, 30 Apr 2018 19:19:00 -0000 Message-ID: Subject: Re: [PATCH] Warn for ignored ASM labels on typdef declarations PR 85444 (v.2) To: Joseph Myers Cc: gcc-patches@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-04/txt/msg01341.txt.bz2 On Mon, Apr 30, 2018 at 7:51 AM, Joseph Myers wrote: > On Sat, 28 Apr 2018, Will Hawkins wrote: > >> + { >> + warning (OPT_Wignored_qualifiers, "asm-specifier is ignored in " >> + "typedef declaration"); > > This does not match the documented semantics of -Wignored-qualifiers. I > don't think it's appropriate to expand those semantics to include this > warning either. > I agree! It was, however, the closest of all the categories that I could find that seemed to match the warning that I am trying to emit. I will go back and review the categories and see if there is something that I missed. I am certainly not asking you to "do my homework" for me, but does anyone have suggestions for a category that might house this warning? Thanks! Will > -- > Joseph S. Myers > joseph@codesourcery.com