From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39452 invoked by alias); 27 May 2015 12:54:24 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 39428 invoked by uid 89); 27 May 2015 12:54:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oi0-f44.google.com Received: from mail-oi0-f44.google.com (HELO mail-oi0-f44.google.com) (209.85.218.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 27 May 2015 12:54:21 +0000 Received: by oiww2 with SMTP id w2so6426457oiw.0 for ; Wed, 27 May 2015 05:54:19 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.85.39 with SMTP id e7mr1792229oez.81.1432731259398; Wed, 27 May 2015 05:54:19 -0700 (PDT) Received: by 10.76.115.167 with HTTP; Wed, 27 May 2015 05:54:19 -0700 (PDT) In-Reply-To: References: <555EA4B1.8090706@redhat.com> Date: Wed, 27 May 2015 13:32:00 -0000 Message-ID: Subject: Re: PATCH to run autoconf tests with C++ compiler From: Richard Biener To: Andreas Schwab Cc: Jason Merrill , Alexandre Oliva , gcc-patches List Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg02420.txt.bz2 On Wed, May 27, 2015 at 10:49 AM, Andreas Schwab 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."