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 tree-optimization/15618] Missed bool optimization


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-23 17:22 -------
To fix the second one, you change if (Boolvalue != 0) to be just if (BoolValue)
To fix the first one you have to combine the return statement on the tree level.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15618


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