From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12650 invoked by alias); 20 Apr 2007 07:15:07 -0000 Received: (qmail 12547 invoked by uid 48); 20 Apr 2007 07:14:54 -0000 Date: Fri, 20 Apr 2007 07:15:00 -0000 Message-ID: <20070420071454.12546.qmail@sourceware.org> From: "roche+kml2 at exalead dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20060714195513.2926.Jerry.James@usu.edu> References: <20060714195513.2926.Jerry.James@usu.edu> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/2926] assert macro contains unreachable code X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00077.txt.bz2 ------- Additional Comments From roche+kml2 at exalead dot com 2007-04-20 08:14 ------- This patch now raises a new gcc warning when compiling with -W and -pedantic for each assert() with a condition true at compile time. The following code snippet demonstrates the isssue: #include void foo(void) { assert(sizeof(char) == 1); } -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | http://sourceware.org/bugzilla/show_bug.cgi?id=2926 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.