Is it true that strlen(CONST_STRING) is optimized? I think it is, and I just tried it on: Reading specs from /usr/local/bin/../lib/gcc-lib/sparc-sun- solaris2.8/3.0.4/specs Configured with: ./configure --prefix=/usr/local/stow/gcc-3.0.4 Thread model: posix gcc version 3.0.4 And it seems it is on even -O0. Thanks, Andrew Pinski