From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35999 invoked by alias); 5 Jun 2018 23:28:41 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 34918 invoked by uid 89); 5 Jun 2018 23:28:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:b14-v6s, vidal, gcc7302, gcc-7.3.0-2 X-HELO: mail-pl0-f49.google.com Received: from mail-pl0-f49.google.com (HELO mail-pl0-f49.google.com) (209.85.160.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Jun 2018 23:28:39 +0000 Received: by mail-pl0-f49.google.com with SMTP id b14-v6so2540148pls.5 for ; Tue, 05 Jun 2018 16:28:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to; bh=KiQ2C5RN9B2Xexgmh0NomHYerlkWTIGfIGbpMx8bz7M=; b=lOEGCY/UXAqGtdrCJCCLP00CrDMbzYMEN/hCsru2x/dx7o6W/bPlJkx2k93/WQAxRZ eovXp+BqZpYXNi1xjyFoDAIxgYYLC3huU26Fk+W3JdWBfRiIHaE6TZKTngoNWaBdDXrC Z0L2Za3BvqRXziVZ828LAXej8IOHkrrsELDw99b0XYQI8iyiYcMR6WljwgpIPo42RtEB 1NUrIOtiG+0B2ATVRjajSur5MdajBf9vWJMp0stTWCNtFhVMNAKpT16FrgHq+FitvAwC nxAiy+gA948+3uQzbFHwriu/Yew6FKkvreQk1KTO3DQgMtR4VQ6Pw48sg3oHC6DY8t8q c4Ew== X-Gm-Message-State: APt69E07xGBE68ZV+mHfoqh8reccqDJgc5MElK3GnaE3HykOT3wd02QI tIWAfRA7OiH74MhqZzJVGK/azA== X-Google-Smtp-Source: ADUXVKLHjp1ewgXBA5VPmAq1gt1CBEyhEsdIj0JdN1OQYEwqI6/jarZi29fRc/CZNY1XViZnK0qCqw== X-Received: by 2002:a17:902:b416:: with SMTP id x22-v6mr634062plr.267.1528241317915; Tue, 05 Jun 2018 16:28:37 -0700 (PDT) Received: from ?IPv6:2001:e68:4075:3b1c:f64d:30ff:fe63:5a5a? ([2001:e68:4075:3b1c:f64d:30ff:fe63:5a5a]) by smtp.gmail.com with ESMTPSA id 84-v6sm25066893pfl.186.2018.06.05.16.28.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jun 2018 16:28:37 -0700 (PDT) Subject: Re: Updated: gcc-7.3.0-2 (x86/x86_64) To: cygwin@cygwin.com References: <1268fcb1-715a-0518-cc94-91f452d029fb@gmail.com> From: JonY <10walls@gmail.com> Openpgp: preference=signencrypt Message-ID: Date: Tue, 05 Jun 2018 23:28:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="r4kUQ0owlDgYkbZSbYERvkfPZqoXirDaN" X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00052.txt.bz2 --r4kUQ0owlDgYkbZSbYERvkfPZqoXirDaN Content-Type: multipart/mixed; boundary="d8unSQmndKrgbuCbn35QkuDR1sdqNwUQT"; protected-headers="v1" From: JonY <10walls@gmail.com> To: cygwin@cygwin.com Message-ID: Subject: Re: Updated: gcc-7.3.0-2 (x86/x86_64) References: <1268fcb1-715a-0518-cc94-91f452d029fb@gmail.com> In-Reply-To: --d8unSQmndKrgbuCbn35QkuDR1sdqNwUQT Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Content-length: 760 On 05/29/2018 05:32 PM, Alberto Escrig Vidal wrote: >=20 > Thanks so much Jon! >=20 >=20 > I have noticed a couple of issues with g++-7. >=20 >=20 > 1) >=20 >=20 > #include > #include > #include >=20 > int main() > { > std::string Str; > std::stringstream ss("hello"); > std::getline(ss,Str); > std::cout << Str; >=20 > return 0; > } >=20 > Compiling the above program with: >=20 > g++ -g -std=3Dc++17 foo.cpp >=20 > Compiles just fine, but aborts when running it. >=20 > Running it with gdb: >=20 > Program received signal SIGABRT, Aborted. > 0x6326126a in cygstdc++-6!_ZNSs7reserveEj () from /usr/bin/cygstdc++-6.dll I suspect --enable-fully-dynamic-string may affect it, but this breaks libstdc++ ABI. I'll test it soon-ish. --d8unSQmndKrgbuCbn35QkuDR1sdqNwUQT-- --r4kUQ0owlDgYkbZSbYERvkfPZqoXirDaN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5QrdnbBX9Ppk4bbPcTtf4pwUXUUFAlsXHJAACgkQcTtf4pwU XUWz1Q/+IRRPsaS0p2W0lqmRgNjEQwOyDQeE3RVTmC8gXIkITR7nliekWnJ3339Z noz1HLLJ+SjCT0nKO+eGb1jmq3ICjhvHu1mmOIJmKgswSifnmW3xu+51Wsz5b2p5 0T1NOTz31KY2Lu0xG1U11L8fo2fE2tI2ugP7l5yfkH9h9sroa2vOGqsxOyKtoDBR Mgp2xHV4MmPY4v2mR5jA4iy/lR9teHCd+ulBSxslNh8zHN1KuwgvgVa6iATKV755 a8kJ39uSeNcRkgyjagJAE3ws4feHWrx/Klp0ex1r4HJeqW3Bv22TDOheFIEqvMwx 9XM7WtJPSSCy15I6ootToPUqCvrnO9M/mTCOVbIoUpLbkG1PhDz2vOJPZpBzR3Um wMFZ6op7VSx+xrnMTiDFObPm6wmI3BCJdVO+tSLe8SkzhjH5cc1jmX2aG12FpGaB 3yxHZ2IKhr/hw+rRfB4pzlmER+yccxKCMS9lPp1PPKatUTF6PHCineHIzRXGjPRw IvH/2nNmLCs7R0WKO/eqGeSa3lhcE+iI9OPZ13AGGsRzt75lfYP65HyVBnU1ySQj ZorkwmjVqLADQ1gqA99jglXcwrx+2bOTGBMqIGMMcVN//AOrieb0kaSrpKoiwIFx QbsEN6A8LYI4wvKs4QMSbyfRTKiecU3brJLU4bC0FhUCiIxDWYA= =fRsB -----END PGP SIGNATURE----- --r4kUQ0owlDgYkbZSbYERvkfPZqoXirDaN--