[Bug c++/105841] [12 Regression] Change in behavior of CTAD for alias templates

2024-04-25 Thread hokein.wu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105841

--- Comment #17 from Haojian Wu  ---
> IIRC we didn't want to commit to an API for the built-in, and we also didn't 
> have any motivating use cases for the it within libstdc++.

Thanks for the reply. Fair enough.

[Bug c++/105841] [12 Regression] Change in behavior of CTAD for alias templates

2024-04-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105841

--- Comment #16 from Patrick Palka  ---
(In reply to Haojian Wu from comment #15)
> Hi, I notice that the __is_deducible was hidden in the commit
> https://github.com/gcc-mirror/gcc/commit/
> 30556bf81f4385c2a9c449948865dbcf35664764.
> 
> Is there any reason behind the change?
> 
> (Context: I'm implementing the is_deducible part for alias CTAD in clang,
> and I'm considering to add a similar builtin in clang).
IIRC we didn't want to commit to an API for the built-in, and we also didn't
have any motivating use cases for the it within libstdc++.

[Bug c++/105841] [12 Regression] Change in behavior of CTAD for alias templates

2024-04-17 Thread hokein.wu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105841

Haojian Wu  changed:

   What|Removed |Added

 CC||hokein.wu at gmail dot com

--- Comment #15 from Haojian Wu  ---
Hi, I notice that the __is_deducible was hidden in the commit
https://github.com/gcc-mirror/gcc/commit/30556bf81f4385c2a9c449948865dbcf35664764.

Is there any reason behind the change?

(Context: I'm implementing the is_deducible part for alias CTAD in clang, and
I'm considering to add a similar builtin in clang).

[Bug c++/105841] [12 Regression] Change in behavior of CTAD for alias templates

2023-12-20 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105841

Jason Merrill  changed:

   What|Removed |Added

   Target Milestone|12.4|13.0
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #14 from Jason Merrill  ---
This was a big enough change that I lean toward not backporting.

[Bug c++/105841] [12 Regression] Change in behavior of CTAD for alias templates

2023-05-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105841

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|12.3|12.4

--- Comment #13 from Richard Biener  ---
GCC 12.3 is being released, retargeting bugs to GCC 12.4.

[Bug c++/105841] [12 Regression] Change in behavior of CTAD for alias templates

2023-03-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105841

Jason Merrill  changed:

   What|Removed |Added

  Known to work||13.0
Summary|[12/13 Regression] Change   |[12 Regression] Change in
   |in behavior of CTAD for |behavior of CTAD for alias
   |alias templates |templates
  Known to fail|13.0|

--- Comment #12 from Jason Merrill  ---
Fixed for GCC 13 so far.