From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25434 invoked by alias); 21 Oct 2008 23:38:10 -0000 Received: (qmail 23950 invoked by uid 48); 21 Oct 2008 23:36:50 -0000 Date: Tue, 21 Oct 2008 23:38:00 -0000 Message-ID: <20081021233650.23949.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/37881] -Wunreachable-code warns for system headers macros In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "manu at gcc dot gnu dot org" 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: 2008-10/txt/msg01374.txt.bz2 ------- Comment #5 from manu at gcc dot gnu dot org 2008-10-21 23:36 ------- (In reply to comment #4) > Created an attachment (id=16524) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16524&action=view) [edit] > Preprocessed test case > I don't see that htons was expanded as a macro there. Moreover, I am interested in the output from the compiler when you use -Wunreachable-code together with the options I mentioned (that is, the output given by gcc when it throws a warning that you think it should not throw). Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37881