This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to run autoconf tests with C++ compiler
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Jason Merrill <jason at redhat dot com>, Alexandre Oliva <aoliva at redhat dot com>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 27 May 2015 14:54:19 +0200
- Subject: Re: PATCH to run autoconf tests with C++ compiler
- Authentication-results: sourceware.org; auth=none
- References: <555EA4B1 dot 8090706 at redhat dot com> <mvmr3q276c3 dot fsf at hawking dot suse dot de>
On Wed, May 27, 2015 at 10:49 AM, Andreas Schwab <schwab@suse.de> wrote:
> This breaks all checks for supported compiler options:
>
> configure:6382: checking whether gcc supports -Wnarrowing
> configure:6399: gcc -c -Wnarrowing conftest.c >&5
> cc1: error: unrecognized command line option "-Wnarrowing"
> configure:6399: $? = 1
>
> configure:6485: checking whether gcc supports -Wnarrowing
> configure:6502: g++ -std=c++98 -c -g conftest.cpp >&5
> configure:6502: $? = 0
> configure:6511: result: yes
And thus causes PR66304, bootstrap failure with host gcc 4.3 (at least).
Richard.
> Andreas.
>
> --
> Andreas Schwab, SUSE Labs, schwab@suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."