Re: options.exp: unsupport tests that depend on missing language

2020-12-02 Thread Jeff Law via Gcc-patches
On 12/1/20 11:15 PM, Alexandre Oliva wrote: > There's a help.exp test that checks that the help message for > -Wabsolute-value mentions it's available in C and ObjC, when compiling > a C++ program. > > However, if GCC is built with the C++ language disabled, the > .cc file is compiled as C, and

options.exp: unsupport tests that depend on missing language

2020-12-01 Thread Alexandre Oliva
There's a help.exp test that checks that the help message for -Wabsolute-value mentions it's available in C and ObjC, when compiling a C++ program. However, if GCC is built with the C++ language disabled, the .cc file is compiled as C, and the message [available in C...] becomes [disabled] inste