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/15547] [tree-ssa] don't generate if (a != 0) for if (a)


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-20 01:07 -------
The reason why this is not done this way as it would prevent some optimizations from happening and it 
is not the way it is done for most targets (yes x86 is the exception here).  Anywas this function should 
be optimized to "a==0" but is not as the return expressions are not merged to.

-- 


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


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