]> git.ipfire.org Git - people/ms/gcc.git/commit
c++: Use in-process client when networking is disabled
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Tue, 25 Oct 2022 14:11:05 +0000 (16:11 +0200)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Fri, 4 Nov 2022 07:57:06 +0000 (08:57 +0100)
commit97752b7c446e513677e9d49b0c57427d41aaebde
treea566b926ca48951a45025628da18b7e54e865d29
parentfabe470b2441a4a760a5f491395631e53821b765
c++: Use in-process client when networking is disabled

Without the patch, the output for bad-mapper-3.C would be:

/src/gcc/gcc/testsuite/g++.dg/modules/bad-mapper-3.C:2:1: error: unknown Compiled Module Interface: no such module

As this line is unexpected, the test case would fail.
The same problem can also be seen for g++.dg/modules/bad-mapper-2.C.

gcc/cp/ChangeLog:

* mapper-client.cc: Use in-process client when networking is
disabled.

gcc/testsuite/ChangeLog:

* g++.dg/modules/bad-mapper-3.C: Update dg-error pattern.

Co-Authored-By: Yvan ROUX <yvan.roux@foss.st.com>
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
gcc/cp/mapper-client.cc
gcc/testsuite/g++.dg/modules/bad-mapper-3.C