c++: add deprecation notice for -fconcepts-ts
commitd836db149d439658cb98688f3f5c6ed58446e333
authorMarek Polacek <polacek@redhat.com>
Tue, 30 Jan 2024 22:11:34 +0000 (30 17:11 -0500)
committerMarek Polacek <polacek@redhat.com>
Wed, 31 Jan 2024 20:12:16 +0000 (31 15:12 -0500)
tree237a1bc4bf6f6b5932e51dd9629c27743c216bcf
parentf6ba433d3c30c20fadd393eed31617a4da81789c
c++: add deprecation notice for -fconcepts-ts

We plan to remove -fconcepts-ts in GCC 15 and thus remove the flag_concepts_ts
code.  This note is an admonishing reminder to convert the Concepts TS
code to C++20 Concepts.

gcc/c-family/ChangeLog:

* c-opts.cc (c_common_post_options): Add an inform saying that
-fconcepts-ts is deprecated and will be removed in GCC 15.

gcc/ChangeLog:

* doc/invoke.texi: Mention that -fconcepts-ts was deprecated in GCC 14.
gcc/c-family/c-opts.cc
gcc/doc/invoke.texi