From patchwork Fri Jul 12 15:56:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 1131446 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-505019-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="ILXUnPF2"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45lcxN5hqhz9s3l for ; Sat, 13 Jul 2019 01:56:51 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=qE1gFR+CObLFO/XbC4bvh+gE6gnVnKnXRjn8le33Kg2OxVaVPV01y hjva0UTONfSixjaVWiyEj3Pi7WJ1Ji76yQN4xaMEHTz/mYRQMNfZsFeEZNnkNcR4 MFyO8Kpcah2pABKoJZFhEVytEV072cv5Tu/igLo+P6R4iW5M7bA+I4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=tSNuI1+jiuJN9vWRIEbcTfRADMY=; b=ILXUnPF2Ovwp0WtDGGfd 078R+48y2jkLhFGkuOREvEUVZhCfVmKh6r81J/g6JhAQcOxZBK1kOy+S4MqvcCGa dU2n0zoMsq5/+EzAwGrPBmmWyy0QyfgZaSPBgm97RRwGTz2OuqjhnmbKKzC3ASaI PXlSlffT9tU/feHQZgCHs6E= Received: (qmail 38720 invoked by alias); 12 Jul 2019 15:56:44 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 38704 invoked by uid 89); 12 Jul 2019 15:56:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=recompiling, UD:html, v, 90920, cvs X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 12 Jul 2019 15:56:43 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2BBA8C0885FD; Fri, 12 Jul 2019 15:56:42 +0000 (UTC) Received: from localhost (unknown [10.33.36.143]) by smtp.corp.redhat.com (Postfix) with ESMTP id D06D4608AB; Fri, 12 Jul 2019 15:56:41 +0000 (UTC) Date: Fri, 12 Jul 2019 16:56:41 +0100 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [wwwdocs] Add caveat about std::rotate bug (PR 90920) Message-ID: <20190712155641.GQ4665@redhat.com> MIME-Version: 1.0 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.11.3 (2019-02-01) Committed to CVS. Index: htdocs/gcc-9/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-9/changes.html,v retrieving revision 1.71 diff -u -r1.71 changes.html --- htdocs/gcc-9/changes.html 10 Jul 2019 13:03:55 -0000 1.71 +++ htdocs/gcc-9/changes.html 12 Jul 2019 15:55:47 -0000 @@ -58,6 +58,18 @@
  • + A change to the C++ std::rotate algorithm in GCC 9.1.0 can + cause ABI incompatibilities with object files compiled with other versions + of GCC. If the std::rotate algorithm is called with + an empty range then it might cause a divide-by-zero error + (as a SIGFPE signal) and crash. The change has been reverted + for GCC 9.2.0 and future releases. For more details see + Bug 90920. + The problem can be avoided by recompiling any objects that might call + std::rotate with an empty range, so that the GCC 9.1.0 + definition of std::rotate is not used. +
  • +
  • The automatic template instantiation at link time (-frepo) has been deprecated and will be removed in a future release.