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

* [Bug c++/56130] __attribute__((deprecated)) does not affect C++ reference
  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 ` chen3feng at gmail dot com
  2013-08-21 11:31 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: chen3feng at gmail dot com @ 2013-01-28 13:18 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from chen3feng <chen3feng at gmail dot com> 2013-01-28 13:17:52 UTC ---
Tested on gcc 4.1.2 4.5.3 4.6.3 4.7.2


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

* [Bug c++/56130] __attribute__((deprecated)) does not affect C++ reference
  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
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-21 11:31 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-08-21
     Ever confirmed|0                           |1


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

* [Bug c++/56130] __attribute__((deprecated)) does not affect C++ reference
  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
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-21 12:06 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2013-08-21 00:00:00         |
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com
   Target Milestone|---                         |4.9.0

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mine.


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

* [Bug c++/56130] __attribute__((deprecated)) does not affect C++ reference
  2013-01-28 13:16 [Bug c++/56130] New: __attribute__((deprecated)) does not affect C++ reference chen3feng at gmail dot com
                   ` (2 preceding siblings ...)
  2013-08-21 12:06 ` paolo.carlini at oracle dot com
@ 2013-08-21 19:07 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-21 19:07 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed for 4.9.0 (r201906)


^ 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).