This is the mail archive of the
mailing list for the GCC project.
Re: Can we speed up the gcc_target structure?
On Sun, 18 Jan 2004, Kaveh R. Ghazi wrote:
> Something I considered was const-ifying the targetm structure so that
> GCC might optimize some of the call points better. This would work,
> but for the unfortunate tendency of GCC to modify these values at
> runtime. I can work around that by inserting an extra function layer,
> except for targetm members that aren't functions already themselves.
> Take a look at the targetm.asm_out.unaligned_op.di assignment in
When --enable-intermodule is used, does (or should) the compiler manage to
detect which parts of the target structure are in fact constant (even
Joseph S. Myers