This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C++ PATCH for c++/71274 (deprecated warning without use)


In this testcase we were giving a deprecated declaration warning
without the deprecated declaration ever having been used, because we
called mark_used when checking whether the variable is constant.  What
we really want from mark_used is the instantiation semantics, so let's
split that out.

Tested x86_64-pc-linux-gnu, applying to trunk.

Attachment: 71274.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]