{"id":812855,"url":"http://patchwork.ozlabs.org/api/patches/812855/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/patch/alpine.LSU.2.20.1709121548590.26836@zhemvz.fhfr.qr/","project":{"id":17,"url":"http://patchwork.ozlabs.org/api/projects/17/?format=json","name":"GNU Compiler Collection","link_name":"gcc","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<alpine.LSU.2.20.1709121548590.26836@zhemvz.fhfr.qr>","list_archive_url":null,"date":"2017-09-12T13:50:21","name":"Fix PR82128","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"cb4e2a55fc9cd5bc7d07900dfb16ff35ace0ae70","submitter":{"id":4338,"url":"http://patchwork.ozlabs.org/api/people/4338/?format=json","name":"Richard Biener","email":"rguenther@suse.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/alpine.LSU.2.20.1709121548590.26836@zhemvz.fhfr.qr/mbox/","series":[{"id":2707,"url":"http://patchwork.ozlabs.org/api/series/2707/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=2707","date":"2017-09-12T13:50:21","name":"Fix PR82128","version":1,"mbox":"http://patchwork.ozlabs.org/series/2707/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/812855/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/812855/checks/","tags":{},"related":[],"headers":{"Return-Path":"<gcc-patches-return-461922-incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list gcc-patches@gcc.gnu.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-461922-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"b8zZauSk\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xs5lt6yp2z9s5L\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 23:50:34 +1000 (AEST)","(qmail 37356 invoked by alias); 12 Sep 2017 13:50:26 -0000","(qmail 37347 invoked by uid 89); 12 Sep 2017 13:50:25 -0000","from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by\n\tsourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tTue, 12 Sep 2017 13:50:24 +0000","from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254])\tby\n\tmx1.suse.de (Postfix) with ESMTP id 67F77AB43\tfor\n\t<gcc-patches@gcc.gnu.org>; Tue, 12 Sep 2017 13:50:22 +0000 (UTC)"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:date\n\t:from:to:subject:message-id:mime-version:content-type; q=dns; s=\n\tdefault; b=lNuRs6iB/6E7ZOzLkhwlfWGoEoBalZ/zxV/HKKIex/f0nctDR00Il\n\tTDaF8y063TaAK3hx27mkb3nwbAAeNstWknnUYDE1PnO1vDsXWDaJNX2KSFnLGl9z\n\tbB0M5BAJ0iTzGhlu7YIcJkeCICVIY7x55r09ODacWicbDgqNF07lQ8=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:date\n\t:from:to:subject:message-id:mime-version:content-type; s=\n\tdefault; bh=zbJ02uPBsehxS5KlkTrBXLGTxpY=; b=b8zZauSk/ufiS+S2nFl8\n\ts/IcaGSTK2xWA2uHOOxa9hywwOxaj7Ihs+H6I7Y0xRKvJYn2ZArYYPI6KMSn2uef\n\t0E8HJGmCPVniOJQbag4V8T6V8BEHSz4XKjN7AGHllVgl4ail9ODYrwQrIcUJuenu\n\tI5AkqB5Jh3nQ3QW+jePU6JU=","Mailing-List":"contact gcc-patches-help@gcc.gnu.org; run by ezmlm","Precedence":"bulk","List-Id":"<gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>","List-Archive":"<http://gcc.gnu.org/ml/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-help@gcc.gnu.org>","Sender":"gcc-patches-owner@gcc.gnu.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-11.9 required=5.0 tests=BAYES_00, GIT_PATCH_2,\n\tGIT_PATCH_3, RP_MATCHES_RCVD,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"mx1.suse.de","Date":"Tue, 12 Sep 2017 15:50:21 +0200 (CEST)","From":"Richard Biener <rguenther@suse.de>","To":"gcc-patches@gcc.gnu.org","Subject":"[PATCH] Fix PR82128","Message-ID":"<alpine.LSU.2.20.1709121548590.26836@zhemvz.fhfr.qr>","User-Agent":"Alpine 2.20 (LSU 67 2015-01-07)","MIME-Version":"1.0","Content-Type":"text/plain; charset=US-ASCII"},"content":"This is the one with the folding fix...\n\nBootstrapped on x86_64-unknown-linux-gnu, testing in progress.\n\nRichard.\n\n2017-09-12  Richard Biener  <rguenther@suse.de>\n\n\tPR middle-end/82128\n\t* gimple-fold.c (gimple_fold_call): Update iterator properly.","diff":"Index: gcc/gimple-fold.c\n===================================================================\n--- gcc/gimple-fold.c\t(revision 252002)\n+++ gcc/gimple-fold.c\t(working copy)\n@@ -3872,7 +3872,7 @@ gimple_fold_call (gimple_stmt_iterator *\n \t\t\t we need to preserve GIMPLE_CALL statement\n \t\t\t at position of GSI iterator.  */\n \t\t      update_call_from_tree (gsi, def);\n-\t\t      gsi_insert_before (gsi, new_stmt, GSI_NEW_STMT);\n+\t\t      gsi_insert_before (gsi, new_stmt, GSI_SAME_STMT);\n \t\t    }\n \t\t  else\n \t\t    {\n","prefixes":[]}