On Mon, May 15, 2023 at 11:43 AM Jakub Jelinek <ja...@redhat.com> wrote:
>
> On Mon, May 15, 2023 at 11:41:46AM -0400, Jason Merrill via Gcc-patches wrote:
> > On 5/15/23 11:24, Patrick Palka wrote:
> > > This adds the feature-test macro for PR0849R8, as per
> > > https://github.com/cplusplus/CWG/issues/281.
> > >
> > > Tested on x86_64-pc-linux-gnu, does this look OK for trunk/13?
> >
> > OK.
>
> https://gcc.gnu.org/projects/cxx-status.html#cxx23 lists it already in 12,
> shouldn't that go to 12 branch as well?

D'oh, I misremembered when Marek implemented this!  I can backport it
to 12 as well.

> >
> > > gcc/c-family/ChangeLog:
> > >
> > >     * c-cppbuiltin.cc (c_cpp_builtins): Predefine __cpp_auto_cast
> > >     for C++23.
> > >
> > > gcc/testsuite/ChangeLog:
> > >
> > >     * g++.dg/cpp23/feat-cxx2b.C: Test __cpp_auto_cast.
>
>         Jakub
>

Reply via email to