Non-optimal access to constants

Ian Lance Taylor iant@google.com
Fri Jun 11 17:31:00 GMT 2010


Nadezhda Ivanоvna Vyukova <niva@niisi.msk.ru> writes:

> Q: Is it possible to make GCC use a common base register for
> accessing all of the constants in a function?

Sounds like you want the -fsection-anchors option, which was
introduced in gcc 4.2.

Ian



More information about the Gcc-help mailing list