From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30552 invoked by alias); 21 Oct 2008 23:49:44 -0000 Received: (qmail 30310 invoked by uid 48); 21 Oct 2008 23:48:23 -0000 Date: Tue, 21 Oct 2008 23:49:00 -0000 Message-ID: <20081021234823.30309.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: "flameeyes at gentoo 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/msg01376.txt.bz2 ------- Comment #6 from flameeyes at gentoo dot org 2008-10-21 23:48 ------- Created an attachment (id=16525) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16525&action=view) Preprocessed test case That's because I forgot to turn on -O2 :/ tc-htons-unrechable.c: In function ‘my_htons’: tc-htons-unrechable.c:5:10: warning: will never be executed [-Wunreachable-code] this is the warning that it throws. -- flameeyes at gentoo dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16524|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37881