* tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.

From-SVN: r30974
This commit is contained in:
Zack Weinberg 1999-12-16 09:58:23 +00:00 committed by Jeff Law
parent 27114460d3
commit 3d62d65114
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
* tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
* i386.md (movqi): Use "nonimmediate_operand" for output operand.

View File

@ -1165,8 +1165,11 @@ struct tree_type
/* Nonzero for any sort of ..._DECL node means this decl node represents
an inline instance of some original (abstract) decl from an inline function;
suppress any warnings about shadowing some other variable. */
#define DECL_FROM_INLINE(NODE) (DECL_ABSTRACT_ORIGIN (NODE) != (tree) 0)
suppress any warnings about shadowing some other variable.
FUNCTION_DECL nodes can also have their abstract origin set to themselves
(see save_for_inline_copying). */
#define DECL_FROM_INLINE(NODE) (DECL_ABSTRACT_ORIGIN (NODE) != (tree) 0 \
&& DECL_ABSTRACT_ORIGIN (NODE) != (NODE))
/* Nonzero if a _DECL means that the name of this decl should be ignored
for symbolic debug purposes. */