[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2022-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|5.5 |---

[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2021-08-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

--- Comment #20 from Jonathan Wakely  ---
The core issue is still open, for some reason.

[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2021-08-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

--- Comment #19 from Andrew Pinski  ---
(In reply to Jonathan Wakely from comment #17)
> Fine by me.
> 
> EDG agrees with GCC, but Clang accepts the original example. I guess they'll
> change when 1584 gets resolved.

clang started to reject in clang 7.0.0.

Is there anything else that needs to be done?

[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2017-05-18 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

Paolo Carlini  changed:

   What|Removed |Added

 Status|ASSIGNED|SUSPENDED
   Assignee|paolo.carlini at oracle dot com|unassigned at gcc dot 
gnu.org

--- Comment #18 from Paolo Carlini  ---
Thanks Jon. It occurs to me that bugs depending on DRs not yet resolved
normally are suspended. Let's do that here too.

[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2017-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

--- Comment #17 from Jonathan Wakely  ---
Fine by me.

EDG agrees with GCC, but Clang accepts the original example. I guess they'll
change when 1584 gets resolved.

[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2017-05-17 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

--- Comment #16 from Paolo Carlini  ---
Shall we definitely close this, then?

[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2016-09-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

Paolo Carlini  changed:

   What|Removed |Added

 CC||jason at gcc dot gnu.org

--- Comment #15 from Paolo Carlini  ---
Great. I'm going to double check with Jason before resolving the bug.

[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2016-06-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

--- Comment #14 from Jonathan Wakely  ---
I agree that G++ seems to be correct according to the revised direction.

[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2016-06-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.4 |5.5

--- Comment #13 from Richard Biener  ---
GCC 5.4 is being released, adjusting target milestone.

[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2016-06-01 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

--- Comment #12 from Paolo Carlini  ---
I'm having another look at this, and the last comments added to DR1584 and
coming to the conclusion that gcc probably doesn't need further work, in
particular the patch that I had to revert pointed to a real issue. Other
comments?

[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #11 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2015-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

Richard Biener rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|5.2 |5.3

--- Comment #10 from Richard Biener rguenth at gcc dot gnu.org ---
GCC 5.2 is being released, adjusting target milestone to 5.3.


[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2015-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|5.0 |5.2

--- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org ---
GCC 5.1 has been released.


[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2014-08-16 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|REOPENED|ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |paolo.carlini at oracle 
dot com

--- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com ---
Still working on this.


[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2014-08-15 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

--- Comment #6 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org ---
Author: paolo
Date: Fri Aug 15 16:23:47 2014
New Revision: 214027

URL: https://gcc.gnu.org/viewcvs?rev=214027root=gccview=rev
Log:
/cp
2014-08-15  Paolo Carlini  paolo.carl...@oracle.com

PR c++/62072
Revert:
2014-07-09  Paolo Carlini  paolo.carl...@oracle.com

DR 1584
PR c++/57466
* pt.c (check_cv_quals_for_unify): Implement resolution, disregard
cv-qualifiers of function types.

/testsuite
2014-08-15  Paolo Carlini  paolo.carl...@oracle.com

PR c++/62072
Revert:
2014-07-09  Paolo Carlini  paolo.carl...@oracle.com

DR 1584
PR c++/57466
* g++.dg/template/pr57466.C: New.
* g++.dg/cpp0x/pr57466.C: Likewise.
* g++.dg/template/unify6.C: Update.

* g++.dg/cpp0x/sfinae52.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/sfinae52.C
Removed:
trunk/gcc/testsuite/g++.dg/cpp0x/pr57466.C
trunk/gcc/testsuite/g++.dg/template/pr57466.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/template/unify6.C


[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2014-08-15 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #7 from Paolo Carlini paolo.carlini at oracle dot com ---
Patch reverted, unfortunately.


[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2014-07-09 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

--- Comment #4 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org ---
Author: paolo
Date: Wed Jul  9 21:23:06 2014
New Revision: 212410

URL: https://gcc.gnu.org/viewcvs?rev=212410root=gccview=rev
Log:
/cp
2014-07-09  Paolo Carlini  paolo.carl...@oracle.com

DR 1584
PR c++/57466
* pt.c (check_cv_quals_for_unify): Implement resolution, disregard
cv-qualifiers of function types.

/testsuite
2014-07-09  Paolo Carlini  paolo.carl...@oracle.com

DR 1584
PR c++/57466
* g++.dg/template/pr57466.C: New.
* g++.dg/cpp0x/pr57466.C: Likewise.
* g++.dg/template/unify6.C: Update.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr57466.C
trunk/gcc/testsuite/g++.dg/template/pr57466.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/template/unify6.C


[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2014-07-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Assignee|paolo.carlini at oracle dot com|unassigned at gcc dot 
gnu.org
   Target Milestone|--- |4.10.0

--- Comment #5 from Paolo Carlini paolo.carlini at oracle dot com ---
Fixed for 4.10.


[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2014-07-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|SUSPENDED   |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |paolo.carlini at oracle 
dot com

--- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com ---
DR1584 is Ready.


[Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type

2013-05-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466

Jonathan Wakely redi at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |SUSPENDED
   Last reconfirmed||2013-05-30
Summary|Argument deduction fails|[DR 1584] Argument
   |for 'const T*' when T is|deduction fails for 'const
   |function type   |T*' when T is function type
 Ever confirmed|0   |1

--- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org ---
Ah yes, thanks!