This is the mail archive of the gcc@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]

Re: tree_ssa_useless_type_conversions


In message <20031106174726.GT13705@kam.mff.cuni.cz>, Jan Hubicka writes:
 >Hi,
 >I run into problems with operations having different types as operands
 >(similar to one causing string-opt failures I just fixed).  These seems
 >to be commig from the fact that phi nodes already does have such a wrong
 >types after dominator optimizations because of
 >tree_ssa_useless_type_conversion
 >
 >What is our expected behaviour here?  Should simplifiers/expanders deal
 >with such a type differences or should we always care to re-invent the
 >nop?
Can you be more specific?

tree_ssa_useless_type_conversion is designed to flag totally pointless
type conversions.  If it's removing something that the simplifiers or
expanders need, then we need to look closely at the code in question
to determine what the right course of action would be.

Jeff





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