This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19778] Unnecessary jumps for comparisons
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Sep 2009 21:02:50 -0000
- Subject: [Bug tree-optimization/19778] Unnecessary jumps for comparisons
- References: <bug-19778-2744@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from falk at debian dot org 2009-09-29 21:02 -------
Of course the optimization would be wrong if the second clause had side
effects, but it doesn't and this will frequently be the case. So this is
definitely a valid and in my opinion worthwhile optimization.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19778