Commit 259620a8 by Mark Mitchell Committed by Jeff Law

calls.c (expand_call): Don't confuse member functions named realloc...

        * calls.c (expand_call): Don't confuse member functions named
        realloc, setjmp, and so forth with the standard library
        functions of the same names.

From-SVN: r17684
parent c26046c2
1998-02-02 Mark Mitchell <mmitchell@usa.net>
* calls.c (expand_call): Don't confuse member functions named
realloc, setjmp, and so forth with the standard library
functions of the same names.
Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
* stmt.c (expand_asm_operands): Correctly identify asm statements
......
......@@ -851,7 +851,11 @@ expand_call (exp, target, ignore)
is_longjmp = 0;
is_malloc = 0;
if (name != 0 && IDENTIFIER_LENGTH (DECL_NAME (fndecl)) <= 15)
if (name != 0 && IDENTIFIER_LENGTH (DECL_NAME (fndecl)) <= 15
/* Exclude functions not at the file scope, or not `extern',
since they are not the magic functions we would otherwise
think they are. */
&& DECL_CONTEXT (fndecl) == NULL_TREE && TREE_PUBLIC (fndecl))
{
char *tname = name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment