PATCH: reduce strlen() calls

Andrew Pinski pinskia@physics.uc.edu
Fri Jul 26 13:47:00 GMT 2002


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



More information about the Gcc-patches mailing list