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] Make tail-call work on SSA form


> On Tue, 2003-11-18 at 12:42, Diego Novillo wrote:
> 
> > > 2003-11-18  Jan Hubicka  <jh@suse.cz>
> > > 	* tree-dfa.c (get_expr_operands): Parse properly more complex operands of
> > > 	CALL_EXPR.
> > > 	* tree-must-alias.c (tree_compute_must_alias, promote_var): Kill workaround
> > > 	for the bug.
> > > 
> > OK if it passes bootstrap, etc.
> > 
> BTW, could you also add
> 
> foo()
> {
>   int a;
>   bar (&a + 4);
> }
> 
> To the testsuite?  We currently ICE in make_decl_rtl with this.
OK, thanks.
The other part of patch is actually running into problem with the fact
that we place small arrays into registers now and we are not able to
resolve ARRAY_REF with variable offset.
I think this feature can go away with your scalar replacement stuff
completely.  How far did you get about this patch?
It would be interesting to try how your patch + removal of this beast
compare to original (the former consume less registers at the expense of
extra operations....)

Honza
> 
> 
> Thanks.  Diego.


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