use of memset and optimization

Sam Hartman hartmans at MIT.EDU
Fri Nov 8 00:57:00 EST 2002


How does the compiler know that memset has no side effects without
cross-function optimization.  I agree that this could be an issue for
some compilers, I'm just surprised that gcc is smart enough to
optimize this.




More information about the krbdev mailing list