From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by sourceware.org (Postfix) with ESMTPS id D5F903858003 for ; Tue, 22 Feb 2022 11:42:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D5F903858003 Received: by mail-pf1-x42b.google.com with SMTP id z15so5976803pfe.7 for ; Tue, 22 Feb 2022 03:42:12 -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:from:date:message-id:subject:to; bh=EXiog140ogO43bkijW5R1OQExXyDTgNTmL3/CS3eT1Q=; b=UjuMLR8yMzE3GEUcK6TlmjKtDnZD72zjsLIDdttleyVnjWpeqp6osAX6z4NdC2lGWn EGXz4cDM4zwyGiyNPbKBqLEayTD8/1RTkNEMVCbAFpZva/GDC0KNqI+60J/ZLc4Wc+35 xQSqclXDf8HkKEnn9B4faWky3aglZOb6xjINSTIfKt0hA4Gy63BDho/VgRv6N87l1lX+ BBqFLcA44Rrg8mRhUg3ETo4B07vZgtIdGKOqhVzIEjzkmB5p70+6fao98vaO/IrhrH5L 1QDPaojimFvh8oDzhiV5qQB1N+FwFwJ2Cg+50wvMMedyVnXSH8j0+bMR8tJOBanuTuMR VpYg== X-Gm-Message-State: AOAM533ikQ+rrqX82eQHgHZBsAyGQyAD0pXf+6AcBc6VEc709yTxfSFX SL3iVnGNsw2AtnYBjY2Xbx9E3Ic3mjH5E85ycTZv9xWSZ9c= X-Google-Smtp-Source: ABdhPJyfyyuyjLmG8EfzVUsJzYv4MvWQTYopp9gJjxvHBUyyWH6uoYaGsgN84RTazMJ09VpfExF3otCGvWXUNcKiCoE= X-Received: by 2002:aa7:8888:0:b0:4df:3c7f:8f3e with SMTP id z8-20020aa78888000000b004df3c7f8f3emr24435683pfe.36.1645530131561; Tue, 22 Feb 2022 03:42:11 -0800 (PST) MIME-Version: 1.0 From: Krishna Narayanan Date: Tue, 22 Feb 2022 17:12:00 +0530 Message-ID: Subject: Doubt regarding dg-directives To: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, 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-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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 11:42:14 -0000 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 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.