PATCH: Fix IRIX bootstrap

Mark Mitchell mark@codesourcery.com
Mon Nov 13 07:58:00 GMT 2000


>>>>> "Bernd" == Bernd Schmidt <bernds@redhat.co.uk> writes:

    Bernd> Wouldn't it be better if we worked towards making both the
    Bernd> fixup_var_refs code and ADDRESSOF unnecessary?  If we did
    Bernd> the optimizations Joe Buck has outlined (a bit of constant
    Bernd> propagation on trees), and allocated all pseudos/stack
    Bernd> slots for variables after finishing the whole tree, but
    Bernd> before expanding into rtl, then the need for both would go
    Bernd> away. 

Certainly the scatter-gather stuff (which was a large part of why we
did the tree-based inliner) would eliminate some of this.

But, I think there's still going to be a need for ADDRESSOF.  The
front-end will inline, and even eliminate some dead code, one day.
But the back-end will elimiinate more dead code, and it's only after
you've gotten rid of all dead code that you really know what needs to
go on the stack.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc-patches mailing list