This is the mail archive of the gcc-patches@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] Minor fix to tail recursion code


In message <20040317221936.GC10517@redhat.com>, Richard Henderson writes:
 >On Wed, Mar 17, 2004 at 01:23:15PM -0800, Dale Johannesen wrote:
 >> On Mar 17, 2004, at 1:19 PM, law@redhat.com wrote:
 >> >! 		|| (TYPE_MAIN_VARIANT (TREE_TYPE (param))
 >> >! 		    != TYPE_MAIN_VARIANT (TREE_TYPE (TREE_VALUE (args))))))
 >> 
 >> I think it would be better to use the new langhook for this.
 >
 >Indeed.
I'm planning to break out a new function to check for type compatibility
and changing the various SSA bits to use that.  It would be fairly simple
for someone to then extend that to call a langhook for those cases which
can not be handled simply by looking at the main variant.

jeff




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