Preprocess constants.

Alexandre Oliva aoliva@redhat.com
Sun Jul 1 06:43:00 GMT 2001


On Jun 30, 2001, Paul Faure <paul@engsoc.org> wrote:

> And it took a good couple of mins to run. Is there any way to get the
> compiler to execute the code only once if I know that the int argument
> will never change ? ie.

See attributes const and pure in the GCC manual.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-help mailing list