public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42687] The prevention of ADL with the help of parentheses doesn't work
       [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
@ 2011-03-29 13:49 ` f.sowade-gcc at r9e dot de
  2011-03-29 14:21 ` redi at gcc dot gnu.org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: f.sowade-gcc at r9e dot de @ 2011-03-29 13:49 UTC (permalink / raw)
  To: gcc-bugs

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

Florian Sowade <f.sowade-gcc at r9e dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |f.sowade-gcc at r9e dot de

--- Comment #2 from Florian Sowade <f.sowade-gcc at r9e dot de> 2011-03-29 13:27:51 UTC ---
The change in http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#705
only changed the wording to make this behavior clearer.
But the behavior itself is, like clearly argumented there, implied by the old
version of 3.4.2.

This is still not fixed in trunk. Neither in c++0x mode with the explicit
wording in the standard, nor in c++03 mode with the more subtle wording in the
standard.


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

* [Bug c++/42687] The prevention of ADL with the help of parentheses doesn't work
       [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
  2011-03-29 13:49 ` [Bug c++/42687] The prevention of ADL with the help of parentheses doesn't work f.sowade-gcc at r9e dot de
@ 2011-03-29 14:21 ` redi at gcc dot gnu.org
  2011-03-29 14:22 ` [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] " redi at gcc dot gnu.org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2011-03-29 14:21 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.03.29 13:46:50
     Ever Confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-29 13:46:50 UTC ---
(In reply to comment #2)
> This is still not fixed in trunk.

Yup, that's why the bug report is still open.
It can be confimed though.


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

* [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] The prevention of ADL with the help of parentheses doesn't work
       [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
  2011-03-29 13:49 ` [Bug c++/42687] The prevention of ADL with the help of parentheses doesn't work f.sowade-gcc at r9e dot de
  2011-03-29 14:21 ` redi at gcc dot gnu.org
@ 2011-03-29 14:22 ` redi at gcc dot gnu.org
  2011-04-06  0:26 ` pinskia at gcc dot gnu.org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2011-03-29 14:22 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.1.2
            Summary|The prevention of ADL with  |[4.4/4.5/4.6/4.7
                   |the help of parentheses     |Regression] The prevention
                   |doesn't work                |of ADL with the help of
                   |                            |parentheses doesn't work

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-29 13:49:22 UTC ---
This is actually a regression, as 4.1 compiled the example


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

* [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] The prevention of ADL with the help of parentheses doesn't work
       [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-03-29 14:22 ` [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] " redi at gcc dot gnu.org
@ 2011-04-06  0:26 ` pinskia at gcc dot gnu.org
  2011-04-10 10:30 ` rguenth at gcc dot gnu.org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-06  0:26 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.6


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

* [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] The prevention of ADL with the help of parentheses doesn't work
       [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2011-04-06  0:26 ` pinskia at gcc dot gnu.org
@ 2011-04-10 10:30 ` rguenth at gcc dot gnu.org
  2011-04-16 10:39 ` jakub at gcc dot gnu.org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-10 10:30 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

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


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

* [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] The prevention of ADL with the help of parentheses doesn't work
       [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2011-04-10 10:30 ` rguenth at gcc dot gnu.org
@ 2011-04-16 10:39 ` jakub at gcc dot gnu.org
  2011-04-27  0:12 ` jason at gcc dot gnu.org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-04-16 10:39 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.6                       |4.4.7


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

* [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] The prevention of ADL with the help of parentheses doesn't work
       [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2011-04-16 10:39 ` jakub at gcc dot gnu.org
@ 2011-04-27  0:12 ` jason at gcc dot gnu.org
  2011-04-27  5:21 ` jason at gcc dot gnu.org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu.org @ 2011-04-27  0:12 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jason at gcc dot gnu.org
         AssignedTo|unassigned at gcc dot       |jason at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-27 00:10:34 UTC ---
This was broken by the fix for bug 37862.


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

* [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] The prevention of ADL with the help of parentheses doesn't work
       [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2011-04-27  0:12 ` jason at gcc dot gnu.org
@ 2011-04-27  5:21 ` jason at gcc dot gnu.org
  2011-04-27  5:23 ` jason at gcc dot gnu.org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu.org @ 2011-04-27  5:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-27 05:20:10 UTC ---
Author: jason
Date: Wed Apr 27 05:20:06 2011
New Revision: 173008

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173008
Log:
    PR c++/42687
    * parser.c (cp_parser_primary_expression): Set *idk to
    CP_ID_KIND_NONE for a parenthesized identifier.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/lookup/koenig13.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/parser.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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

* [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] The prevention of ADL with the help of parentheses doesn't work
       [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2011-04-27  5:21 ` jason at gcc dot gnu.org
@ 2011-04-27  5:23 ` jason at gcc dot gnu.org
  2011-04-27  5:27 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu.org @ 2011-04-27  5:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-27 05:20:50 UTC ---
Author: jason
Date: Wed Apr 27 05:20:46 2011
New Revision: 173010

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173010
Log:
    PR c++/42687
    * parser.c (cp_parser_primary_expression): Set *idk to
    CP_ID_KIND_NONE for a parenthesized identifier.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/lookup/koenig13.C
Modified:
    branches/gcc-4_5-branch/gcc/cp/ChangeLog
    branches/gcc-4_5-branch/gcc/cp/parser.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


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

* [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] The prevention of ADL with the help of parentheses doesn't work
       [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2011-04-27  5:23 ` jason at gcc dot gnu.org
@ 2011-04-27  5:27 ` jason at gcc dot gnu.org
  2011-04-27  5:35 ` jason at gcc dot gnu.org
  2011-04-27  5:36 ` jason at gcc dot gnu.org
  11 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu.org @ 2011-04-27  5:27 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

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

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-27 05:22:22 UTC ---
Fixed.


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

* [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] The prevention of ADL with the help of parentheses doesn't work
       [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2011-04-27  5:27 ` jason at gcc dot gnu.org
@ 2011-04-27  5:35 ` jason at gcc dot gnu.org
  2011-04-27  5:36 ` jason at gcc dot gnu.org
  11 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu.org @ 2011-04-27  5:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-27 05:20:38 UTC ---
Author: jason
Date: Wed Apr 27 05:20:33 2011
New Revision: 173009

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173009
Log:
    PR c++/42687
    * parser.c (cp_parser_primary_expression): Set *idk to
    CP_ID_KIND_NONE for a parenthesized identifier.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/lookup/koenig13.C
Modified:
    branches/gcc-4_4-branch/gcc/cp/ChangeLog
    branches/gcc-4_4-branch/gcc/cp/parser.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


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

* [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] The prevention of ADL with the help of parentheses doesn't work
       [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2011-04-27  5:35 ` jason at gcc dot gnu.org
@ 2011-04-27  5:36 ` jason at gcc dot gnu.org
  11 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu.org @ 2011-04-27  5:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-27 05:17:26 UTC ---
Author: jason
Date: Wed Apr 27 05:17:20 2011
New Revision: 173007

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173007
Log:
    PR c++/42687
    * parser.c (cp_parser_primary_expression): Set *idk to
    CP_ID_KIND_NONE for a parenthesized identifier.

Added:
    trunk/gcc/testsuite/g++.dg/lookup/koenig13.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


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

end of thread, other threads:[~2011-04-27  5:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-42687-4@http.gcc.gnu.org/bugzilla/>
2011-03-29 13:49 ` [Bug c++/42687] The prevention of ADL with the help of parentheses doesn't work f.sowade-gcc at r9e dot de
2011-03-29 14:21 ` redi at gcc dot gnu.org
2011-03-29 14:22 ` [Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] " redi at gcc dot gnu.org
2011-04-06  0:26 ` pinskia at gcc dot gnu.org
2011-04-10 10:30 ` rguenth at gcc dot gnu.org
2011-04-16 10:39 ` jakub at gcc dot gnu.org
2011-04-27  0:12 ` jason at gcc dot gnu.org
2011-04-27  5:21 ` jason at gcc dot gnu.org
2011-04-27  5:23 ` jason at gcc dot gnu.org
2011-04-27  5:27 ` jason at gcc dot gnu.org
2011-04-27  5:35 ` jason at gcc dot gnu.org
2011-04-27  5:36 ` jason at gcc dot gnu.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).