Question about implicit memset invocation
Ian Lance Taylor
ian@airs.com
Wed Dec 28 13:03:00 GMT 2005
Eric Fisher <joefoxreal@gmail.com> writes:
> I'd like to know since gcc implicitly call memset function to perform
> optimization and my c libraries are unusable for now. Can I take
> another way? Say don't call memset. How to do that?
In your tm.h file define CLEAR_BY_PIECES_P to always return 1.
(CLEAR_BY_PIECES_P is documented in the internals manual, in
doc/tm.texi).
In general it would probably be better to temporarily add a trivial
memset function to libgcc.
Ian
More information about the Gcc
mailing list