This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 c/3074] Statement with no effect not flagged with -Wall


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


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