[Bug c++/67901] [concepts] overloading bug when considered more specialized vs more constrained

2021-11-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67901

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|--- |10.2
 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #4 from Andrew Pinski  ---
(In reply to Martin Liška from comment #3)
> Fixed on master with r11-1571-g57b4daf8dc4ed7b6.

Which was also committed on the GCC 10 branch with r10-8343-gc3d4dbc68be14842 .

So fixed.

[Bug c++/67901] [concepts] overloading bug when considered more specialized vs more constrained

2021-11-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67901

Martin Liška  changed:

   What|Removed |Added

   Keywords|needs-bisection |
 CC||marxin at gcc dot gnu.org

--- Comment #3 from Martin Liška  ---
Fixed on master with r11-1571-g57b4daf8dc4ed7b6.

[Bug c++/67901] [concepts] overloading bug when considered more specialized vs more constrained

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

--- Comment #2 from Andrew Pinski  ---
I needed one slight change to get the code to compiler (I needed this change
even for clang and MSVC):
Change:
requires sizeof...(ArgumentsRest) % 2 == 0   
to:
requires (sizeof...(ArgumentsRest) % 2 == 0)

With that change GCC 10.2.0 and GCC 11+ were able to compile the code just fine
(GCC 10.1.0 does reject it though).

[Bug c++/67901] [concepts] overloading bug when considered more specialized vs more constrained

2020-06-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67901

Patrick Palka  changed:

   What|Removed |Added

 CC||ppalka at gcc dot gnu.org
  Known to fail||11.0
   Last reconfirmed|2019-10-15 00:00:00 |2020-6-8

--- Comment #1 from Patrick Palka  ---
Reconfirmed on mainline.

[Bug c++/67901] [concepts] overloading bug when considered more specialized vs more constrained

2019-10-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67901

Jonathan Wakely  changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-10-15
 Ever confirmed|0   |1