public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28985]  New: class member access using a qualified-id fails to check for match of classes
@ 2006-09-08 18:01 amylaar at gcc dot gnu dot org
  2006-09-09  4:11 ` [Bug c++/28985] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2006-09-08 18:01 UTC (permalink / raw)
  To: gcc-bugs

The following code violates clause 4 of 3.4.5

class C {};

void
f ()
{
  C o;

  class C {};

  o.C::~C ();
}


-- 
           Summary: class member access using a qualified-id fails to check
                    for match of classes
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org


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


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

* [Bug c++/28985] [4.0/4.1/4.2 Regression] class member access using a qualified-id fails to check for match of classes
  2006-09-08 18:01 [Bug c++/28985] New: class member access using a qualified-id fails to check for match of classes amylaar at gcc dot gnu dot org
@ 2006-09-09  4:11 ` pinskia at gcc dot gnu dot org
  2006-09-10 22:09 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-09  4:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-09-09 04:10 -------
Confirmed, a regression from 3.3.3 which gave:
t.cc: In function `void f()':
t.cc:10: error: lookup of `C' in the scope of `class C' (`class C') does not
   match lookup in the current scope (`class f()::C')


To me this looks related to PR 28513.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |3.4.0 4.0.0 4.1.0 4.2.0
      Known to work|                            |3.3.3 3.2.3 3.0.4 2.95.3
   Last reconfirmed|0000-00-00 00:00:00         |2006-09-09 04:10:48
               date|                            |
            Summary|class member access using a |[4.0/4.1/4.2 Regression]
                   |qualified-id fails to check |class member access using a
                   |for match of classes        |qualified-id fails to check
                   |                            |for match of classes
   Target Milestone|---                         |4.0.4


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


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

* [Bug c++/28985] [4.0/4.1/4.2 Regression] class member access using a qualified-id fails to check for match of classes
  2006-09-08 18:01 [Bug c++/28985] New: class member access using a qualified-id fails to check for match of classes amylaar at gcc dot gnu dot org
  2006-09-09  4:11 ` [Bug c++/28985] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-09-10 22:09 ` mmitchel at gcc dot gnu dot org
  2007-02-03 19:44 ` [Bug c++/28985] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-09-10 22:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mmitchel at gcc dot gnu dot org  2006-09-10 22:09 -------
The rules in the standard regarding destructor lookup, what constitues the same
name, etc., are not well-specified.  The last time I investigated this, the EDG
front end used rules which did not seem to match the standard, but, IIRC, John
Spicer argued that was a bug in the standard.

In any case, this case is certainly invalid, but it may also be dangerous to
try to fix it.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c++/28985] [4.0/4.1/4.2/4.3 Regression] class member access using a qualified-id fails to check for match of classes
  2006-09-08 18:01 [Bug c++/28985] New: class member access using a qualified-id fails to check for match of classes amylaar at gcc dot gnu dot org
  2006-09-09  4:11 ` [Bug c++/28985] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
  2006-09-10 22:09 ` mmitchel at gcc dot gnu dot org
@ 2007-02-03 19:44 ` gdr at gcc dot gnu dot org
  2007-02-03 20:55 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 19:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from gdr at gcc dot gnu dot org  2007-02-03 19:44 -------
won't fix in GCC-4.0.x.  Adjusting milestone.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.4                       |4.1.3


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


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

* [Bug c++/28985] [4.0/4.1/4.2/4.3 Regression] class member access using a qualified-id fails to check for match of classes
  2006-09-08 18:01 [Bug c++/28985] New: class member access using a qualified-id fails to check for match of classes amylaar at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-02-03 19:44 ` [Bug c++/28985] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
@ 2007-02-03 20:55 ` pinskia at gcc dot gnu dot org
  2007-02-14  9:16 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-03 20:55 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.3                       |4.1.2


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


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

* [Bug c++/28985] [4.0/4.1/4.2/4.3 Regression] class member access using a qualified-id fails to check for match of classes
  2006-09-08 18:01 [Bug c++/28985] New: class member access using a qualified-id fails to check for match of classes amylaar at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-02-03 20:55 ` pinskia at gcc dot gnu dot org
@ 2007-02-14  9:16 ` mmitchel at gcc dot gnu dot org
  2008-07-04 21:30 ` [Bug c++/28985] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:16 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug c++/28985] [4.2/4.3/4.4 Regression] class member access using a qualified-id fails to check for match of classes
  2006-09-08 18:01 [Bug c++/28985] New: class member access using a qualified-id fails to check for match of classes amylaar at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-02-14  9:16 ` mmitchel at gcc dot gnu dot org
@ 2008-07-04 21:30 ` jsm28 at gcc dot gnu dot org
  2008-12-03 22:03 ` jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 21:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jsm28 at gcc dot gnu dot org  2008-07-04 21:29 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2/4.3/4.4 Regression]|[4.2/4.3/4.4 Regression]
                   |class member access using a |class member access using a
                   |qualified-id fails to check |qualified-id fails to check
                   |for match of classes        |for match of classes
   Target Milestone|4.1.3                       |4.2.5


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


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

* [Bug c++/28985] [4.2/4.3/4.4 Regression] class member access using a qualified-id fails to check for match of classes
  2006-09-08 18:01 [Bug c++/28985] New: class member access using a qualified-id fails to check for match of classes amylaar at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-07-04 21:30 ` [Bug c++/28985] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2008-12-03 22:03 ` jason at gcc dot gnu dot org
  2008-12-04 14:57 ` [Bug c++/28985] [DR 399] " jason at gcc dot gnu dot org
  2009-03-31 19:42 ` jsm28 at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2008-12-03 22:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jason at gcc dot gnu dot org  2008-12-03 21:52 -------
This is open core issue 399:

http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#399

Suspending.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


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


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

* [Bug c++/28985] [DR 399] class member access using a qualified-id fails to check for match of classes
  2006-09-08 18:01 [Bug c++/28985] New: class member access using a qualified-id fails to check for match of classes amylaar at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-12-03 22:03 ` jason at gcc dot gnu dot org
@ 2008-12-04 14:57 ` jason at gcc dot gnu dot org
  2009-03-31 19:42 ` jsm28 at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2008-12-04 14:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jason at gcc dot gnu dot org  2008-12-04 14:53 -------
Removing regression tag.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2/4.3/4.4 Regression] [DR|[DR 399] class member access
                   |399] class member access    |using a qualified-id fails
                   |using a qualified-id fails  |to check for match of
                   |to check for match of       |classes
                   |classes                     |


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


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

* [Bug c++/28985] [DR 399] class member access using a qualified-id fails to check for match of classes
  2006-09-08 18:01 [Bug c++/28985] New: class member access using a qualified-id fails to check for match of classes amylaar at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2008-12-04 14:57 ` [Bug c++/28985] [DR 399] " jason at gcc dot gnu dot org
@ 2009-03-31 19:42 ` jsm28 at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 19:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jsm28 at gcc dot gnu dot org  2009-03-31 19:42 -------
Removing milestone since not currently tagged a regression.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.5                       |---


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


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

end of thread, other threads:[~2009-03-31 19:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-08 18:01 [Bug c++/28985] New: class member access using a qualified-id fails to check for match of classes amylaar at gcc dot gnu dot org
2006-09-09  4:11 ` [Bug c++/28985] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-09-10 22:09 ` mmitchel at gcc dot gnu dot org
2007-02-03 19:44 ` [Bug c++/28985] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
2007-02-03 20:55 ` pinskia at gcc dot gnu dot org
2007-02-14  9:16 ` mmitchel at gcc dot gnu dot org
2008-07-04 21:30 ` [Bug c++/28985] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-12-03 22:03 ` jason at gcc dot gnu dot org
2008-12-04 14:57 ` [Bug c++/28985] [DR 399] " jason at gcc dot gnu dot org
2009-03-31 19:42 ` jsm28 at gcc dot gnu dot org

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