diff options
| author | Jason Merrill <jason@redhat.com> | 2005-11-07 01:17:47 -0500 |
|---|---|---|
| committer | Jason Merrill <jason@gcc.gnu.org> | 2005-11-07 01:17:47 -0500 |
| commit | 96c993a8902b5579e463de5aa60855ee304bfce6 (patch) | |
| tree | b3954c1365c27900e303289a67fbfaf60e6de188 /libjava/classpath/gnu/java | |
| parent | c0572427ed71b533279fd15dfa22473b7cefaf9a (diff) | |
| download | gcc-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 'libjava/classpath/gnu/java')
0 files changed, 0 insertions, 0 deletions
