From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4457 invoked by alias); 3 Dec 2011 19:11:16 -0000 Received: (qmail 4448 invoked by uid 22791); 3 Dec 2011 19:11:15 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 03 Dec 2011 19:11:01 +0000 From: "pnewell at cs dot cmu.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/51391] Differences between setting Winline in command-line and through pragma GCC diagnostic Date: Sat, 03 Dec 2011 19:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pnewell at cs dot cmu.edu X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-12/txt/msg00264.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51391 --- Comment #15 from pnewell at cs dot cmu.edu 2011-12-03 19:10:39 UTC --- Manu: Yes, Andrew did a great job of letting me know what the issue was and gave me the necessary information to have a work-around within 1/2 hour. Fantastic turnaround in my book, many thanks to him! I appreciate the confirm that it is a bug. I can also believe that if they go through different code paths there is a good chance there are more of these "opps" situations. I'd rather not use #pragmas, but with third party code it becomes necessary to get rid of all the warnings one can't do anything about (except tell the third party ... and that hasn't produced any results yet). I am not surprised that the fix is quick but the build/testing makes it a bit of a question whether someone is going to want to do all that legwork. It isn't exactly a show-stopper (smile) and, since I am stuck on F14 until spring of 2012, I wouldn't be able to make use of the patch until I upgrade. But the fix is there (thanks) and I'll just see what happens. Mostly, I wanted to tell both Andrew and you that I very impressed with how this bug was handled. A very prompt response, solid info on what the issue is, and an honest assessment of its chances for fixing. This is the first bug I have submitted to gcc bugzilla and I certainly feel that it was worth the effort for me to package up an example to send to you. Thanks, Paul