{"id":2226330,"url":"http://patchwork.ozlabs.org/api/1.2/covers/2226330/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/cover/bmm.hhubwh7m90.gcc.gcc-TEST.pinskia.33.1.0@forge-stage.sourceware.org/","project":{"id":17,"url":"http://patchwork.ozlabs.org/api/1.2/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":"<bmm.hhubwh7m90.gcc.gcc-TEST.pinskia.33.1.0@forge-stage.sourceware.org>","list_archive_url":null,"date":"2026-04-22T10:49:09","name":"[v1,00/15] copy-prop-arg","submitter":{"id":93219,"url":"http://patchwork.ozlabs.org/api/1.2/people/93219/?format=json","name":"Andrew Pinski via Sourceware Forge","email":"forge-bot+pinskia@forge-stage.sourceware.org"},"mbox":"http://patchwork.ozlabs.org/project/gcc/cover/bmm.hhubwh7m90.gcc.gcc-TEST.pinskia.33.1.0@forge-stage.sourceware.org/mbox/","series":[{"id":500990,"url":"http://patchwork.ozlabs.org/api/1.2/series/500990/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=500990","date":"2026-04-22T10:49:12","name":"copy-prop-arg","version":1,"mbox":"http://patchwork.ozlabs.org/series/500990/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2226330/comments/","headers":{"Return-Path":"<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":["incoming@patchwork.ozlabs.org","gcc-patches@gcc.gnu.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","gcc-patches@gcc.gnu.org"],"Authentication-Results":["legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)","sourceware.org; dmarc=none (p=none dis=none)\n header.from=forge-stage.sourceware.org","sourceware.org;\n spf=pass smtp.mailfrom=forge-stage.sourceware.org","server2.sourceware.org;\n arc=none smtp.remote-ip=38.145.34.39"],"Received":["from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0xnr5L8Yz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 21:29:20 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 765E94078081\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 11:29:17 +0000 (GMT)","from forge-stage.sourceware.org (vm08.sourceware.org [38.145.34.39])\n by sourceware.org (Postfix) with ESMTPS id 74249416286A\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 10:50:31 +0000 (GMT)","from forge-stage.sourceware.org (localhost [IPv6:::1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256)\n (No client certificate requested)\n by forge-stage.sourceware.org (Postfix) with ESMTPS id 4946842BD5\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 10:50:31 +0000 (UTC)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 765E94078081","OpenDKIM Filter v2.11.0 sourceware.org 74249416286A"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 74249416286A","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 74249416286A","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776855031; cv=none;\n b=JpztRU9vq3YbsS8fKSdDN81qv/Hd56YcgojwqOWmwo5dsSEexm6QzCVhrt/mYEQaBJeuHGTe0hmgOy+my+lkf3ifMtq5/LeR9xi61mDMWTVTJ36Qm3rBbhsgkgatMD7hkozPRkeNtPLoCaCm4ei6uAKB9HV2ANduZD96asQb9As=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776855031; c=relaxed/simple;\n bh=fOIof+KIT0JFn9kJwktnyL4ZEeNi3ksaT41q1zp/1Kk=;\n h=From:Date:Subject:To:Message-ID;\n b=lP/vXA6+TZYTssIxr3obolCfqRLyNqy//8Y6pxjf8/R6F4oETOZXVshxIkfO588wE/8mTj/byzE33uTXuxe14J9myfZkNRJaiWoBkM4J/kwwW2dPp2Dpa9p3cbbI824e6KZbbZ8wu5t5LAVBeCp2h58/d6RY91BUALziqwhbBeQ=","ARC-Authentication-Results":"i=1; server2.sourceware.org","From":"Andrew Pinski via Sourceware Forge\n <forge-bot+pinskia@forge-stage.sourceware.org>","Date":"Wed, 22 Apr 2026 10:49:09 +0000","Subject":"[PATCH v1 00/15] copy-prop-arg","To":"gcc-patches mailing list <gcc-patches@gcc.gnu.org>","Message-ID":"\n <bmm.hhubwh7m90.gcc.gcc-TEST.pinskia.33.1.0@forge-stage.sourceware.org>","X-Mailer":"batrachomyomachia","X-Pull-Request-Organization":"gcc","X-Pull-Request-Repository":"gcc-TEST","X-Pull-Request":"https://forge.sourceware.org/gcc/gcc-TEST/pulls/33","X-BeenThere":"gcc-patches@gcc.gnu.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Gcc-patches mailing list <gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>","List-Archive":"<https://gcc.gnu.org/pipermail/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-request@gcc.gnu.org?subject=help>","List-Subscribe":"<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>","Reply-To":"gcc-patches mailing list <gcc-patches@gcc.gnu.org>,\n pinskia@gcc.gnu.org","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"},"content":"Hi gcc-patches mailing list,\nAndrew Pinski via Sourceware Forge <forge-bot+pinskia@forge-stage.sourceware.org> has requested that the following forgejo pull request\nbe published on the mailing list.\n\nCreated on: 2025-02-27 23:05:03+00:00\nLatest update: 2025-08-13 03:34:18+00:00\nChanges: 37 changed files, 490 additions, 54 deletions\nHead revision: pinskia/gcc-TEST ref copy-prop-arg commit bbdc05f12ac331ba2244d84603db2f3c1fa17e67\nBase revision: gcc/gcc-TEST ref trunk commit edd9ad2a8ad5ec35b81f8436089daf653eb2834d r15-7721-gedd9ad2a8ad5ec\nMerge base: edd9ad2a8ad5ec35b81f8436089daf653eb2834d\nFull diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/33.diff\nDiscussion:  https://forge.sourceware.org/gcc/gcc-TEST/pulls/33\nRequested Reviewers:\n\nThanks for taking the time to contribute to GCC!\n\nPlease be advised that https://forge.sourceware.org/ is currently a trial\nthat is being used by the GCC community to experiment with a new workflow\nbased on pull requests.\n\nPull requests sent here may be forgotten or ignored. Patches that you want to\npropose for inclusion in GCC should use the existing email-based workflow,\nsee https://gcc.gnu.org/contribute.html\n\n\nChanged files:\n- A: gcc/testsuite/c-c++-common/cpp/pr97991-1.c\n- A: gcc/testsuite/c-c++-common/cpp/pragma-message-trad.c\n- A: gcc/testsuite/g++.dg/opt/shrink-wrapping-vector-1.C\n- A: gcc/testsuite/gcc.dg/cpp/missing-header-trad-1.c\n- A: gcc/testsuite/gcc.dg/pr118947-1.c\n- A: gcc/testsuite/gcc.dg/pr78408-3.c\n- A: gcc/testsuite/gcc.dg/predict-24.c\n- A: gcc/testsuite/gcc.dg/tree-ssa/copy-arg-2.c\n- M: gcc/c/c-parser.cc\n- M: gcc/combine.cc\n- M: gcc/fold-const.cc\n- M: gcc/gimple-fold.cc\n- M: gcc/optc-gen.awk\n- M: gcc/optc-save-gen.awk\n- M: gcc/options-urls-cc-gen.awk\n- M: gcc/rtl-ssa/changes.cc\n- M: gcc/simplify-rtx.cc\n- M: gcc/testsuite/g++.dg/opt/pr66119.C\n- M: gcc/testsuite/g++.dg/pr95768.C\n- M: gcc/testsuite/gcc.dg/ipa/ipa-pta-16.c\n- M: gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.cc\n- M: gcc/testsuite/gcc.dg/plugin/analyzer_gil_plugin.cc\n- M: gcc/testsuite/gcc.dg/plugin/analyzer_kernel_plugin.cc\n- M: gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc\n- M: gcc/testsuite/gcc.dg/plugin/diagnostic_plugin_xhtml_format.cc\n- M: gcc/testsuite/gcc.dg/plugin/dump_plugin.cc\n- M: gcc/testsuite/gcc.dg/plugin/ggcplug.cc\n- M: gcc/testsuite/gcc.dg/tree-ssa/20031106-6.c\n- M: gcc/testsuite/gcc.dg/tree-ssa/sra-11.c\n- M: gcc/testsuite/gcc.dg/tree-ssa/sra-17.c\n- M: gcc/testsuite/gcc.dg/tree-ssa/sra-2.c\n- M: gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-26.c\n- M: gcc/tree-ssa-phiopt.cc\n- M: libcc1/libcc1plugin.cc\n- M: libcc1/libcp1plugin.cc\n- M: libcpp/directives.cc\n- M: libgcc/libgcov-util.c\n\n\nAndrew Pinski (15):\n  Remove the rest of INCLUDE_MEMORY\n  phiopt: Reject hot/cold predictors for early phiopt [PR117935]\n  testcase: Add testcase for shrink wrapping of vector<int>::push_back\n    [PR118502]\n  simplify-rtx: Simplify `(zero_extend (and x CST))` -> (and (subreg x)\n    CST)\n  rtl-ssa: Add support for *_extend/subreg of a comparison to recog\n  c: Fix pragma inside a pragma [PR97991}\n  libcpp: Fix handling of `deferred` pragmas with -traditional [PR79516]\n  libcpp: Fix incorrect line information for traditional cpp and\n    #include [PR100904]\n  gimple: Canonical order for invariants\n  combine: Add REG_DEAD notes to the last instruction after a split\n    [PR118914]\n  gimple-fold: Improve optimize_memcpy_to_memset to handle STRING_CST\n    [PR78408]\n  gimple-fold: Improve optimize_memcpy_to_memset by walking back until\n    aliasing says the ref is a may clobber. [PR118947]\n  gimple-fold: Implement simple copy propagation for aggregates\n    [PR14295]\n  gimple-fold: Implement copy prop for function call arguments\n  Copy prop for aggregates working for references\n\n gcc/c/c-parser.cc                             |   6 +-\n gcc/combine.cc                                |  46 ++--\n gcc/fold-const.cc                             |   6 +\n gcc/gimple-fold.cc                            | 220 +++++++++++++++++-\n gcc/optc-gen.awk                              |   1 -\n gcc/optc-save-gen.awk                         |   1 -\n gcc/options-urls-cc-gen.awk                   |   1 -\n gcc/rtl-ssa/changes.cc                        |  47 +++-\n gcc/simplify-rtx.cc                           |  11 +\n gcc/testsuite/c-c++-common/cpp/pr97991-1.c    |   3 +\n .../c-c++-common/cpp/pragma-message-trad.c    |   9 +\n gcc/testsuite/g++.dg/opt/pr66119.C            |   2 +-\n .../g++.dg/opt/shrink-wrapping-vector-1.C     |  17 ++\n gcc/testsuite/g++.dg/pr95768.C                |   4 +-\n .../gcc.dg/cpp/missing-header-trad-1.c        |  10 +\n gcc/testsuite/gcc.dg/ipa/ipa-pta-16.c         |   3 +-\n .../gcc.dg/plugin/analyzer_cpython_plugin.cc  |   1 -\n .../gcc.dg/plugin/analyzer_gil_plugin.cc      |   1 -\n .../gcc.dg/plugin/analyzer_kernel_plugin.cc   |   1 -\n .../plugin/analyzer_known_fns_plugin.cc       |   1 -\n .../plugin/diagnostic_plugin_xhtml_format.cc  |   1 -\n gcc/testsuite/gcc.dg/plugin/dump_plugin.cc    |   1 -\n gcc/testsuite/gcc.dg/plugin/ggcplug.cc        |   1 -\n gcc/testsuite/gcc.dg/pr118947-1.c             |  15 ++\n gcc/testsuite/gcc.dg/pr78408-3.c              |  14 ++\n gcc/testsuite/gcc.dg/predict-24.c             |  24 ++\n gcc/testsuite/gcc.dg/tree-ssa/20031106-6.c    |   8 +-\n gcc/testsuite/gcc.dg/tree-ssa/copy-arg-2.c    |  27 +++\n gcc/testsuite/gcc.dg/tree-ssa/sra-11.c        |   4 +-\n gcc/testsuite/gcc.dg/tree-ssa/sra-17.c        |   3 +-\n gcc/testsuite/gcc.dg/tree-ssa/sra-2.c         |   2 +-\n gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-26.c    |   4 +-\n gcc/tree-ssa-phiopt.cc                        |  35 +++\n libcc1/libcc1plugin.cc                        |   1 -\n libcc1/libcp1plugin.cc                        |   1 -\n libcpp/directives.cc                          |  11 +-\n libgcc/libgcov-util.c                         |   1 -\n 37 files changed, 490 insertions(+), 54 deletions(-)\n create mode 100644 gcc/testsuite/c-c++-common/cpp/pr97991-1.c\n create mode 100644 gcc/testsuite/c-c++-common/cpp/pragma-message-trad.c\n create mode 100644 gcc/testsuite/g++.dg/opt/shrink-wrapping-vector-1.C\n create mode 100644 gcc/testsuite/gcc.dg/cpp/missing-header-trad-1.c\n create mode 100644 gcc/testsuite/gcc.dg/pr118947-1.c\n create mode 100644 gcc/testsuite/gcc.dg/pr78408-3.c\n create mode 100644 gcc/testsuite/gcc.dg/predict-24.c\n create mode 100644 gcc/testsuite/gcc.dg/tree-ssa/copy-arg-2.c"}