aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/iresolve.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-08-16 13:42:56 -0400
committerJason Merrill <jason@gcc.gnu.org>2009-08-16 13:42:56 -0400
commit15305a736f7cb40174ae276912806eaf077de783 (patch)
tree9014dfecbe0670edc4ce4c440e01edcb80786afd /gcc/fortran/iresolve.c
parentd3ece023f3547db2d77a2d96ce0b8294815edcb3 (diff)
downloadgcc-15305a736f7cb40174ae276912806eaf077de783.zip
gcc-15305a736f7cb40174ae276912806eaf077de783.tar.gz
gcc-15305a736f7cb40174ae276912806eaf077de783.tar.bz2
Make TREE_USED match the [basic.def.odr] concept for FUNCTION_DECL and VAR_DECL...
Make TREE_USED match the [basic.def.odr] concept for FUNCTION_DECL and VAR_DECL, so mark_used only has effect the first time. * decl2.c (mark_used): Just return if TREE_USED is already set. Don't set TREE_USED if cp_unevaluated_operand is set. (tree_used_ok): New fn. * init.c (build_offset_ref): Check it instead of TREE_USED. * call.c (build_call_a): Likewise. * cp-tree.h: Declare it. (DECL_NO_LINKAGE_CHECKED): No longer needed. (struct lang_decl_base): Remove no_linkage_checked bitfield. From-SVN: r150807
Diffstat (limited to 'gcc/fortran/iresolve.c')
0 files changed, 0 insertions, 0 deletions