This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about implicit memset invocation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]