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 optimization/10817] gcc does not optimize result=0;if(t!=0)result=t; to result=t;


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


kazu at cs dot umass dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kazu at cs dot umass dot edu


------- Additional Comments From kazu at cs dot umass dot edu  2003-07-15 06:08 -------
I created a very simple patch for the if conversion pass to optimize
this for most, if not all, targets.  The problem is that the
optimization doesn't trigger in several hundreds real world source
files that I have.


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