Exact meaning of __attribute__(__const__)

Matthias Clasen matthiasc@poet.de
Fri Oct 5 01:20:00 GMT 2001


The gcc manual states that const functions may not read global memory.

Is it really that strict or is it permittable for a const function  to read
global memory which doesn't change over time (which I've heard) ?

Thanks in advance,

Matthias



More information about the Gcc-help mailing list