This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question about implicit memset invocation
- From: Ian Lance Taylor <ian at airs dot com>
- To: Eric Fisher <joefoxreal at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 27 Dec 2005 23:47:58 -0800
- Subject: Re: Question about implicit memset invocation
- References: <d6afecde0512272321m7f546305o@mail.gmail.com>
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