]> gcc.gnu.org Git - gcc.git/commit
c++tools, configury: Configure with C++; test checking status [PR98821].
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 20 Jul 2021 13:00:38 +0000 (14:00 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Wed, 21 Jul 2021 12:40:17 +0000 (13:40 +0100)
commite4d306cf706eef83f99d510c308eda1539d05875
tree934b0b0a803e0edcbb5b815bd4104a482e891e5a
parentf8884b9c51faea329196bf5914bcd2d700622c38
c++tools, configury: Configure with C++; test checking status [PR98821].

The c++tools configure fragments need to be built with a C++ compiler.

In addition, the stand-alone server uses diagnostic mechanisms in common
with GCC, but needs to define implementations for gcc_assert and
supporting output functions.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
PR c++/98821 - modules : c++tools configures with CC but code fragments assume CXX.

PR c++/98821

c++tools/ChangeLog:

* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac: Configure using C++.  Pull logic to
detect enabled checking modes; default to release
checking.
* server.cc (AI_NUMERICSERV): Define a fallback value.
(gcc_assert): New.
(gcc_unreachable): New.
(fancy_abort): Only build when checking is enabled.

Co-authored-by: Jakub Jelinek <jakub@redhat.com>
c++tools/config.h.in
c++tools/configure
c++tools/configure.ac
c++tools/server.cc
This page took 0.052513 seconds and 5 git commands to generate.