[ast-optimizer-branch]: Don't inline calls to constant functions in loops

Jason Merrill jason@redhat.com
Thu May 9 10:47:00 GMT 2002


>>>>> "Daniel" == Daniel Berlin <dberlin@dberlin.org> writes:

> I'm working on this part as well.

Cool, thanks.

> Just make sure the vtable is marked as const, so i can detect the 
> calculations as loop invariant.

Do you mean set TREE_CONSTANT on the INDIRECT_REFs, as in this patch
(relative to my checkin of a minute ago)?

Jason

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 693 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20020509/ea4a4114/attachment.bin>


More information about the Gcc-patches mailing list