public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/56130] New: __attribute__((deprecated)) does not affect C++ reference
@ 2013-01-28 13:16 chen3feng at gmail dot com
  2013-01-28 13:18 ` [Bug c++/56130] " chen3feng at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: chen3feng at gmail dot com @ 2013-01-28 13:16 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56130

             Bug #: 56130
           Summary: __attribute__((deprecated)) does not affect C++
                    reference
    Classification: Unclassified
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: chen3feng@gmail.com


int g_nn;
int& g_n __attribute__((deprecated)) = g_nn;

int main()
{
    g_n = 1;
}

Compile with -Wall
No any warning.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-21 19:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-28 13:16 [Bug c++/56130] New: __attribute__((deprecated)) does not affect C++ reference chen3feng at gmail dot com
2013-01-28 13:18 ` [Bug c++/56130] " chen3feng at gmail dot com
2013-08-21 11:31 ` paolo.carlini at oracle dot com
2013-08-21 12:06 ` paolo.carlini at oracle dot com
2013-08-21 19:07 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).