This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/2926] assert macro contains unreachable code


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]