* [Bug c++/50442] Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98
2011-09-17 9:12 [Bug c++/50442] New: Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98 zackw at panix dot com
@ 2011-09-17 9:31 ` mh+gcc at glandium dot org
2011-09-17 10:13 ` redi at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mh+gcc at glandium dot org @ 2011-09-17 9:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50442
Mike Hommey <mh+gcc at glandium dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mh+gcc at glandium dot org
--- Comment #1 from Mike Hommey <mh+gcc at glandium dot org> 2011-09-17 06:21:28 UTC ---
More specifically, r178746 from SVN gcc-4_6-branch is affected, while r178501
from the same branch is not.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/50442] Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98
2011-09-17 9:12 [Bug c++/50442] New: Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98 zackw at panix dot com
2011-09-17 9:31 ` [Bug c++/50442] " mh+gcc at glandium dot org
@ 2011-09-17 10:13 ` redi at gcc dot gnu.org
2011-09-17 10:55 ` redi at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2011-09-17 10:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50442
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-09-17 09:45:11 UTC ---
maybe the fix for PR 49267 then, Jason?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/50442] Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98
2011-09-17 9:12 [Bug c++/50442] New: Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98 zackw at panix dot com
2011-09-17 9:31 ` [Bug c++/50442] " mh+gcc at glandium dot org
2011-09-17 10:13 ` redi at gcc dot gnu.org
@ 2011-09-17 10:55 ` redi at gcc dot gnu.org
2011-09-17 22:37 ` [Bug c++/50442] [4.6 regression] " jason at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2011-09-17 10:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50442
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-09-17 09:48:55 UTC ---
yep, confirmed that r178552 changed the behaviour
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/50442] [4.6 regression] Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98
2011-09-17 9:12 [Bug c++/50442] New: Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98 zackw at panix dot com
` (2 preceding siblings ...)
2011-09-17 10:55 ` redi at gcc dot gnu.org
@ 2011-09-17 22:37 ` jason at gcc dot gnu.org
2011-09-17 22:38 ` jason at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2011-09-17 22:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50442
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011-09-17
Version|4.6.1 |4.6.2
AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org
|gnu.org |
Summary|Constructing T from |[4.6 regression]
|implicit conversion to T& |Constructing T from
|ambiguous in C++0x mode, |implicit conversion to T&
|not C++98 |ambiguous in C++0x mode,
| |not C++98
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/50442] [4.6 regression] Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98
2011-09-17 9:12 [Bug c++/50442] New: Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98 zackw at panix dot com
` (3 preceding siblings ...)
2011-09-17 22:37 ` [Bug c++/50442] [4.6 regression] " jason at gcc dot gnu.org
@ 2011-09-17 22:38 ` jason at gcc dot gnu.org
2011-09-17 23:55 ` jason at gcc dot gnu.org
2011-09-20 21:01 ` jason at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2011-09-17 22:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50442
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-17 22:35:15 UTC ---
Author: jason
Date: Sat Sep 17 22:35:10 2011
New Revision: 178932
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178932
Log:
PR c++/50442
Revert:
PR c++/49267
* call.c (compare_ics): rvaluedness_matches_p can differ
based on the source type, not just target.
Removed:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/rv-conv1.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/call.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/50442] [4.6 regression] Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98
2011-09-17 9:12 [Bug c++/50442] New: Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98 zackw at panix dot com
` (4 preceding siblings ...)
2011-09-17 22:38 ` jason at gcc dot gnu.org
@ 2011-09-17 23:55 ` jason at gcc dot gnu.org
2011-09-20 21:01 ` jason at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2011-09-17 23:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50442
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.6.2
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-17 22:35:48 UTC ---
Fixed by reverting the earlier patch.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/50442] [4.6 regression] Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98
2011-09-17 9:12 [Bug c++/50442] New: Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98 zackw at panix dot com
` (5 preceding siblings ...)
2011-09-17 23:55 ` jason at gcc dot gnu.org
@ 2011-09-20 21:01 ` jason at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2011-09-20 21:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50442
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-20 19:25:36 UTC ---
Author: jason
Date: Tue Sep 20 19:25:32 2011
New Revision: 179015
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179015
Log:
PR c++/50442
* g++.dg/overload/ref-conv1.C: New.
Added:
trunk/gcc/testsuite/g++.dg/overload/ref-conv1.C
Modified:
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread