[Bug c/3074] Statement with no effect not flagged with -Wall
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 22 21:50:00 GMT 2003
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-22 21:50 -------
The problem is that fold-const is changing the line to:
((void)(a == 1 ? 5 : 0), a == 2 ? (a == 1 ? 5 : 0) | 1 : (a == 1 ? 5 : 0))
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-05-25 15:34:22 |2003-11-22 21:50:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3074
More information about the Gcc-bugs
mailing list