alias.c (compare_base_decls): Simplify in-symtab check.
authorNathan Sidwell <nathan@acm.org>
Wed, 23 Dec 2015 14:47:39 +0000 (14:47 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 23 Dec 2015 14:47:39 +0000 (14:47 +0000)
commit7ec4f3438cd3fc7a83a32d6c9b910b26a220376e
tree23ff2500b938c7cf94d14dd55668e27574e466b8
parent986e29bc6a3df0269268d7045058049beb26e1cb
alias.c (compare_base_decls): Simplify in-symtab check.

gcc/
* alias.c (compare_base_decls): Simplify in-symtab check.
* cgraph.h (decl_in_symtab_p): Check DECL_IN_CONSTANT_POOL.

testsuite/
* gcc.dg/alias-15.c: New.

From-SVN: r231928
gcc/ChangeLog
gcc/alias.c
gcc/cgraph.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/alias-15.c [new file with mode: 0644]