This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 9 bcopys (5 top dir, 4 cp dir), please help identify memmoves
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: 9 bcopys (5 top dir, 4 cp dir), please help identify memmoves
- From: Andreas Schwab <schwab at suse dot de>
- Date: 12 Mar 2001 10:01:56 +0100
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- References: <200103111741.MAA18848@caip.rutgers.edu>
"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
|> cp/class.c:1220: bcopy ((PTR) &TREE_VEC_ELT (method_vec, 0),
This is clearly a memcpy.
|> cp/class.c:1259: bcopy ((PTR) &TREE_VEC_ELT (method_vec, slot),
And this one's a memmove.
|> cp/decl.c:3694: bcopy ((char *) newdecl + sizeof (struct tree_common),
|> cp/decl.c:3732: bcopy ((char *) newdecl + sizeof (struct tree_common),
Both are memcpy's.
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5