From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by sourceware.org (Postfix) with ESMTPS id 4C99C382C407 for ; Tue, 22 Feb 2022 14:32:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4C99C382C407 Received: by mail-wm1-x32a.google.com with SMTP id j9-20020a05600c190900b0037bff8a24ebso2018892wmq.4 for ; Tue, 22 Feb 2022 06:32:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1SRBVMCEo60eDlQQhJHOgl52fyntAbCQslT/mEPt5sQ=; b=7RsI0Jm2gS8CtTW4hTik/CqSe/FmaJwGB1/NtFcFue9cGXSXhQsl2Npnxn00oBNkf7 939U60ABxpE8cDttTMmoc0CThFQFY2AGgxAB86+UBKYcLdgPVgloo7wcG3MKOKForP+b RiPA7DUgTFoCz6jlX07rHYF/TWUsLv9VD5EIGf+uMc9FXCbVt/iCySFlgEZ2SriS0fQL GMq6Mc24nCo3+PZbwxt9ZWLQ+41Pk6ymV26d6/BpJddjxDwbK8bMQaz1KwSxGP2VoUjV CsiFvlOGHSt2FR99JEVvwJZ2g+wyDJe9R53eZT8sm7FPWfv/4KjKXuI7pJ1Vxhiwu071 2Izw== X-Gm-Message-State: AOAM53156WmljDeGIhFUfdGP+ClR+gG9SCRn+1ql9IfmFwKYXYzO3PqE 54ZyjVIEA9WmulHBJzTp40C+uX2D8N+I96QOfQo= X-Google-Smtp-Source: ABdhPJw5/U0+4ozPvtbpxsZQXhNDTrZlFesjeBcwVoBdl35aauSHFOrX8zOmwjvWjQ7yBrFaNkPVBuzS/DtHO2Kzl28= X-Received: by 2002:a7b:c347:0:b0:37e:68e6:d85c with SMTP id l7-20020a7bc347000000b0037e68e6d85cmr3543559wmj.176.1645540322283; Tue, 22 Feb 2022 06:32:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Tue, 22 Feb 2022 14:31:51 +0000 Message-ID: Subject: Re: Doubt regarding dg-directives To: Krishna Narayanan Cc: gcc-help X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2022 14:32:04 -0000 On Tue, 22 Feb 2022 at 11:43, Krishna Narayanan via Gcc-help < gcc-help@gcc.gnu.org> wrote: > Hello, > I had been working on a testcase,in which there had to be a warning on > a specific line. On giving the /* { dg warning "text" } */ to that > That should be dg-warning, did you get it right in the test? > line ,the test outcome is FAIL(test for warnings) even though the > warning was expected. > Can you help me out with this,why did this happen? > Thanks, > Krishna Narayanan. >