[Bug testsuite/92941] New: Test failure when no C++ compiler built

green at redhat dot com gcc-bugzilla@gcc.gnu.org
Sat Dec 14 10:44:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92941

            Bug ID: 92941
           Summary: Test failure when no C++ compiler built
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: green at redhat dot com
  Target Milestone: ---

If you run the testsuite on a C-only build of the toolchain, you'll 
get a FAIL for this test:

compiler driver -Q --help=warnings option(s): "-Wabsolute-value[
\t]+\[available in C, ObjC\]" present in output

It comes from here...

check_for_options c++ "-Q --help=warnings" {
-Wabsolute-value[ \t]+\[available in C, ObjC\]
} "" ""

But the testsuite should ignore c++ related tests if we haven't configured and
built g++.


More information about the Gcc-bugs mailing list