[Bug c++/66329] New: If condition evaluated wrongly for "y&1 == 0" condition

2015-05-28 Thread shimple0 at yahoo dot com
everity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: shimple0 at yahoo dot com Target Milestone: --- Created attachment 35649 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35649&action=edit test code of sample runs g

[Bug c++/66329] If condition evaluated wrongly for "y&1 == 0" condition

2015-05-28 Thread shimple0 at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66329 --- Comment #2 from sandeep --- (In reply to Markus Trippelsdorf from comment #1) > & has lower precedence than ==. Thanks Markus. It never occurred to me when hit by a bug in some other code. I myself was wondering how could this kind of bug st