Cover Letter Detail
Show a cover letter.
GET /api/covers/2226765/?format=api
{ "id": 2226765, "url": "http://patchwork.ozlabs.org/api/covers/2226765/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/cover/bmm.hhup2dpico.gcc.gcc-TEST.yuao.80.1.0@forge-stage.sourceware.org/", "project": { "id": 17, "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api", "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.hhup2dpico.gcc.gcc-TEST.yuao.80.1.0@forge-stage.sourceware.org>", "list_archive_url": null, "date": "2026-04-22T18:46:58", "name": "[v1,0/1] fortran: implement conditional expression for fortran 2023", "submitter": { "id": 93230, "url": "http://patchwork.ozlabs.org/api/people/93230/?format=api", "name": "yuao via Sourceware Forge", "email": "forge-bot+yuao@forge-stage.sourceware.org" }, "mbox": "http://patchwork.ozlabs.org/project/gcc/cover/bmm.hhup2dpico.gcc.gcc-TEST.yuao.80.1.0@forge-stage.sourceware.org/mbox/", "series": [ { "id": 501093, "url": "http://patchwork.ozlabs.org/api/series/501093/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=501093", "date": "2026-04-22T18:46:59", "name": "fortran: implement conditional expression for fortran 2023", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501093/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/2226765/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 4g18R83g4cz1yGs\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 05:28:52 +1000 (AEST)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id AB6FE42DA81A\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 19:28:50 +0000 (GMT)", "from forge-stage.sourceware.org (vm08.sourceware.org [38.145.34.39])\n by sourceware.org (Postfix) with ESMTPS id 38EE8485A2B6\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 18:48:23 +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 1301243544\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 18:48:23 +0000 (UTC)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org AB6FE42DA81A", "OpenDKIM Filter v2.11.0 sourceware.org 38EE8485A2B6" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 38EE8485A2B6", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 38EE8485A2B6", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776883703; cv=none;\n b=F+Wpjcco5CLBipMSdVQAlkr8jPOgLMcIOu1ZZ/MN2KBxjc6jT9hSyE7E27ZnVoujbyRliP1T/EyV0cd4qCAQ1OWFKR2rtbblrlKH7RXkQpv7lwNuyaUM+TOxCgYXatZ7oJCclju8CX5ZDB0v595fXwGxjSY4SJkyc0iKWSUDoXw=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776883703; c=relaxed/simple;\n bh=ZIdsQTQ/Rwe6oNsqZ7kGAcWVdtzusGUimK9a2gyxn/4=;\n h=From:Date:Subject:To:Message-ID;\n b=HZLKCY63+oFagTKqsYE2WtQuM3jdeOQBwM2BRj9hs5qZpACN41zZvVaSMAizHiR5fz0ArhaJm87/zL7685k/UPfabfpM0nRfsTL0YDey77YZjhLrdzBV1g8HXxt1Am7uAp0cWYw2mbOLol0kF3v+EfNhvoMAKZ9q+r87JLhxUpI=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "From": "yuao via Sourceware Forge <forge-bot+yuao@forge-stage.sourceware.org>", "Date": "Wed, 22 Apr 2026 18:46:58 +0000", "Subject": "[PATCH v1 0/1] fortran: implement conditional expression for fortran\n 2023", "To": "gcc-patches mailing list <gcc-patches@gcc.gnu.org>", "Message-ID": "\n <bmm.hhup2dpico.gcc.gcc-TEST.yuao.80.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/80", "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 yuao@noreply.localhost", "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org" }, "content": "Hi gcc-patches mailing list,\nyuao via Sourceware Forge <forge-bot+yuao@forge-stage.sourceware.org> has requested that the following forgejo pull request\nbe published on the mailing list.\n\nCreated on: 2025-09-13 05:18:37+00:00\nLatest update: 2025-09-17 15:03:21+00:00\nChanges: 18 changed files, 522 additions, 18 deletions\nHead revision: yuao/gcc-TEST ref cond-expr commit 12edebd03a6e418f14688eb7bb4a04a4bb7266e1\nBase revision: gcc/gcc-TEST ref trunk commit 908edc130910c5bea6d2d6b2a390793e7c106a6a r16-3838-g908edc130910c5\nMerge base: 908edc130910c5bea6d2d6b2a390793e7c106a6a\nFull diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/80.diff\nDiscussion: https://forge.sourceware.org/gcc/gcc-TEST/pulls/80\nRequested Reviewers:\n\nThis patch adds support for conditional expressions in Fortran 2023 for a\nlimited set of types (logical, numerical), and also includes limited support\nfor conditional arguments without `.nil.` support.\n\ngcc/fortran/ChangeLog:\n\n\t* dump-parse-tree.cc (show_expr): Add support for EXPR_CONDITIONAL.\n\t* expr.cc (gfc_get_conditional_expr): Add cond-expr constructor.\n\t(gfc_copy_expr, free_expr0, gfc_is_constant_expr,\n\tsimplify_conditional, gfc_simplify_expr, gfc_check_init_expr,\n\tcheck_restricted, gfc_traverse_expr): Add support for EXPR_CONDITIONAL.\n\t* frontend-passes.cc (gfc_expr_walker): Ditto.\n\t* gfortran.h (enum expr_t): Add EXPR_CONDITIONAL.\n\t(gfc_get_operator_expr): Format fix.\n\t(gfc_get_conditional_expr): New decl.\n\t* matchexp.cc\n\t(match_conditional, match_primary): Parsing for EXPR_CONDITIONAL.\n\t* module.cc (mio_expr): Add support for EXPR_CONDITIONAL.\n\t* resolve.cc (resolve_conditional, gfc_resolve_expr): Ditto.\n\t* trans-array.cc (gfc_walk_conditional_expr, gfc_walk_subexpr): Ditto.\n\t* trans-expr.cc\n\t(gfc_conv_conditional_expr): Codegen for EXPR_CONDITIONAL.\n\t(gfc_apply_interface_mapping_to_expr, gfc_conv_expr,\n\tgfc_conv_expr_reference): Add support for EXPR_CONDITIONAL.\n\ngcc/testsuite/ChangeLog:\n\n\t* gfortran.dg/conditional_1.f90: New test.\n\t* gfortran.dg/conditional_2.f90: New test.\n\t* gfortran.dg/conditional_3.f90: New test.\n\t* gfortran.dg/conditional_4.f90: New test.\n\t* gfortran.dg/conditional_5.f90: New test.\n\t* gfortran.dg/conditional_6.f90: New test.\n\t* gfortran.dg/conditional_7.f90: New test.\n\t* gfortran.dg/conditional_8.f90: New test.\n\t* gfortran.dg/conditional_9.f90: New test.\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/gfortran.dg/conditional_1.f90\n- A: gcc/testsuite/gfortran.dg/conditional_2.f90\n- A: gcc/testsuite/gfortran.dg/conditional_3.f90\n- A: gcc/testsuite/gfortran.dg/conditional_4.f90\n- A: gcc/testsuite/gfortran.dg/conditional_5.f90\n- A: gcc/testsuite/gfortran.dg/conditional_6.f90\n- A: gcc/testsuite/gfortran.dg/conditional_7.f90\n- A: gcc/testsuite/gfortran.dg/conditional_8.f90\n- A: gcc/testsuite/gfortran.dg/conditional_9.f90\n- M: gcc/fortran/dump-parse-tree.cc\n- M: gcc/fortran/expr.cc\n- M: gcc/fortran/frontend-passes.cc\n- M: gcc/fortran/gfortran.h\n- M: gcc/fortran/matchexp.cc\n- M: gcc/fortran/module.cc\n- M: gcc/fortran/resolve.cc\n- M: gcc/fortran/trans-array.cc\n- M: gcc/fortran/trans-expr.cc\n\n\nYuao Ma (1):\n fortran: implement conditional expression for fortran 2023\n\n gcc/fortran/dump-parse-tree.cc | 10 ++\n gcc/fortran/expr.cc | 118 ++++++++++++++++++++\n gcc/fortran/frontend-passes.cc | 5 +\n gcc/fortran/gfortran.h | 30 ++++-\n gcc/fortran/matchexp.cc | 79 +++++++++++--\n gcc/fortran/module.cc | 10 +-\n gcc/fortran/resolve.cc | 71 ++++++++++++\n gcc/fortran/trans-array.cc | 13 +++\n gcc/fortran/trans-expr.cc | 70 ++++++++++++\n gcc/testsuite/gfortran.dg/conditional_1.f90 | 32 ++++++\n gcc/testsuite/gfortran.dg/conditional_2.f90 | 13 +++\n gcc/testsuite/gfortran.dg/conditional_3.f90 | 9 ++\n gcc/testsuite/gfortran.dg/conditional_4.f90 | 21 ++++\n gcc/testsuite/gfortran.dg/conditional_5.f90 | 7 ++\n gcc/testsuite/gfortran.dg/conditional_6.f90 | 16 +++\n gcc/testsuite/gfortran.dg/conditional_7.f90 | 11 ++\n gcc/testsuite/gfortran.dg/conditional_8.f90 | 14 +++\n gcc/testsuite/gfortran.dg/conditional_9.f90 | 11 ++\n 18 files changed, 522 insertions(+), 18 deletions(-)\n create mode 100644 gcc/testsuite/gfortran.dg/conditional_1.f90\n create mode 100644 gcc/testsuite/gfortran.dg/conditional_2.f90\n create mode 100644 gcc/testsuite/gfortran.dg/conditional_3.f90\n create mode 100644 gcc/testsuite/gfortran.dg/conditional_4.f90\n create mode 100644 gcc/testsuite/gfortran.dg/conditional_5.f90\n create mode 100644 gcc/testsuite/gfortran.dg/conditional_6.f90\n create mode 100644 gcc/testsuite/gfortran.dg/conditional_7.f90\n create mode 100644 gcc/testsuite/gfortran.dg/conditional_8.f90\n create mode 100644 gcc/testsuite/gfortran.dg/conditional_9.f90" }