This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2926] assert macro contains unreachable code
- From: "roche+kml2 at exalead dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 1 Jun 2007 13:33:19 -0000
- Subject: [Bug libc/2926] assert macro contains unreachable code
- References: <20060714195513.2926.Jerry.James@usu.edu>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From roche+kml2 at exalead dot com 2007-06-01 13:33 -------
The warning is only raised with GCC 3.3 (3.3.4), not GCC 4.1 (4.1.1):
$ gcc-3.3.4 -c test.c -Wall -pedantic
1.c: In function `foo':
1.c:2: warning: statement with no effect
$ gcc-4.1.1 -c 1.c -Wall -pedantic
(no warnings)
--
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.