aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2005-11-07 01:17:47 -0500
committerJason Merrill <jason@gcc.gnu.org>2005-11-07 01:17:47 -0500
commit96c993a8902b5579e463de5aa60855ee304bfce6 (patch)
treeb3954c1365c27900e303289a67fbfaf60e6de188 /gcc/fortran
parentc0572427ed71b533279fd15dfa22473b7cefaf9a (diff)
downloadgcc-96c993a8902b5579e463de5aa60855ee304bfce6.zip
gcc-96c993a8902b5579e463de5aa60855ee304bfce6.tar.gz
gcc-96c993a8902b5579e463de5aa60855ee304bfce6.tar.bz2
re PR c++/17256 (undefined but used static or inline functions should be diagnosed)
PR c++/17256 * decl2.c (cp_finish_file): Fix conditions for undefined warning. Set TREE_NO_WARNING instead of TREE_PUBLIC. * pt.c (instantiate_pending_templates): Set DECL_INITIAL to avoid a warning on a function we didn't instantiate because of excessive recursion. Co-Authored-By: James A. Morrison <phython@gcc.gnu.org> From-SVN: r106581
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions