From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96805 invoked by alias); 14 Oct 2019 08:47:55 -0000 Mailing-List: contact libstdc++-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libstdc++-owner@gcc.gnu.org Received: (qmail 96789 invoked by uid 89); 14 Oct 2019 08:47:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=satisfy X-HELO: mail-wr1-f52.google.com Received: from mail-wr1-f52.google.com (HELO mail-wr1-f52.google.com) (209.85.221.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 14 Oct 2019 08:47:54 +0000 Received: by mail-wr1-f52.google.com with SMTP id p14so18658128wro.4; Mon, 14 Oct 2019 01:47:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=jvLLG9IkblnUrSP7ut+Ch9sEoUqjnkbEbau+perqzOI=; b=IZVzD9zJrlJ0m4ajXn9XMfscVEuR6GvFSqiB5Rg3ZYxB3fz5fhQx46tsFzu9QNbo+E g2iHiYONcgs+AHe1oc+ni719X6TbjGinAE60N+9Kv5K8oJM0EiqgxwCO7t6EPSLLx2B7 sEHy5cyrKKmfMF1TF6aUs1GPM2CN/19z7Y4ruypd9T7eezslfgUFXoeEkzyQR8x5R0L7 SP9d0K3vQztjO5OWx9lP7TmwdcwnPvkNzZOUkuOIzq71CBhJAjs+XEOnoY8wxlf0QBGC cOG+KKpEtUWIKgAgEcAQzbmA1Jr3KY0eYE1K3Aqicccm9gIPVXyfP9bsHtc7u04rf0Aq a9ow== MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Mon, 14 Oct 2019 08:47:00 -0000 Message-ID: Subject: Re: template auto deduction ICE in the latest gcc master version. To: sotrdg sotrdg Cc: "gcc-bugs@gcc.gnu.org" , "libstdc++" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00049.txt.bz2 On Sun, 13 Oct 2019 at 19:31, sotrdg sotrdg wrote: > > https://github.com/euloanty/fast_io/blob/master/examples/0036.concepts_ch= eck/iostrm.cc > > > > cqwrteur@DESKTOP-7H7UHQ9:/mnt/d/hg/fast_io/examples/build$ ninja > [1/2] Building CXX object CMakeFiles/iostrm.dir/0036.concepts_check/iostr= m.cc.o > FAILED: CMakeFiles/iostrm.dir/0036.concepts_check/iostrm.cc.o > /usr/local/bin/c++ -O3 -DNDEBUG -fconcepts -ffast-math -Wall -Wextra= -std=3Dgnu++2a -MD -MT CMakeFiles/iostrm.dir/0036.concepts_check/iostrm.cc= .o -MF CMakeFiles/iostrm.dir/0036.concepts_check/iostrm.cc.o.d -o CMakeFile= s/iostrm.dir/0036.concepts_check/iostrm.cc.o -c ../0036.concepts_check/iost= rm.cc > ../0036.concepts_check/iostrm.cc: In function =E2=80=98int main()=E2=80= =99: > ../0036.concepts_check/iostrm.cc:8:51: error: deduced initializer does no= t satisfy placeholder constraints > 8 | fast_io::stream auto fin(std::ifstream("abc.txt")); > | ^ > ../0036.concepts_check/iostrm.cc:8:51: note: constraints not satisfied > c++: internal compiler error: Segmentation fault signal terminated progra= m cc1plus > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > ninja: build stopped: subcommand failed. This has nothing to do with libstdc++, and bugs should be reported to bugzilla not by sending email to the gcc-bugs list (which is for automated replies from bugzilla only). https://gcc.gnu.org/bugs/