get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/812853/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 812853,
    "url": "http://patchwork.ozlabs.org/api/patches/812853/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/alpine.LSU.2.20.1709121542420.26836@zhemvz.fhfr.qr/",
    "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": "<alpine.LSU.2.20.1709121542420.26836@zhemvz.fhfr.qr>",
    "list_archive_url": null,
    "date": "2017-09-12T13:46:12",
    "name": "Fix PR82144",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "91c8694730f77bf43f3b730403fe56c96dc0c8ba",
    "submitter": {
        "id": 4338,
        "url": "http://patchwork.ozlabs.org/api/people/4338/?format=api",
        "name": "Richard Biener",
        "email": "rguenther@suse.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/alpine.LSU.2.20.1709121542420.26836@zhemvz.fhfr.qr/mbox/",
    "series": [
        {
            "id": 2705,
            "url": "http://patchwork.ozlabs.org/api/series/2705/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=2705",
            "date": "2017-09-12T13:46:12",
            "name": "Fix PR82144",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2705/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812853/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812853/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-return-461920-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-461920-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=\"fw0mM2Gh\"; 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 3xs5g50NNnz9s76\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 23:46:23 +1000 (AEST)",
            "(qmail 31396 invoked by alias); 12 Sep 2017 13:46:16 -0000",
            "(qmail 31345 invoked by uid 89); 12 Sep 2017 13:46:15 -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:46:14 +0000",
            "from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254])\tby\n\tmx1.suse.de (Postfix) with ESMTP id 57835AB43;\n\tTue, 12 Sep 2017 13:46:12 +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:cc:subject:message-id:mime-version:content-type; q=dns;\n\ts=default; b=I/E7qZ7GYHEOUe6p6s2ijWXtwxxaQ2GnvZU2q+5gXerlPHTWrC\n\ttB7zUc6NfwH9rfufka33+Oc4t4p1oF3WqqpN14rv92VgqfXx2/qbCxt7DhuU5h9J\n\tIzY1+awU1jzGlHQnrcf5riiSQl3K60FhV7WyEFF9nPw+19r8Rc/kg2/nc=",
        "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:cc:subject:message-id:mime-version:content-type; s=\n\tdefault; bh=oO3FtzDIyCdZPQmEubzNszAU1bQ=; b=fw0mM2GhSuIQoofyPcGd\n\tij/YqBetdn3HnSzcIZ3Sb2Vmc1G3z4gY56tAAHKsFufwOPtIQGEbSKSqvpiKDRu9\n\tp2ZH6T/TFXQF3Val10k/Hlts3hF5kkLSa9FhagUgqkeViA60jbrZLeAkVW+MEK2m\n\tAruH23MzIUWy5Znl91Eu7gM=",
        "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:46:12 +0200 (CEST)",
        "From": "Richard Biener <rguenther@suse.de>",
        "To": "gcc-patches@gcc.gnu.org",
        "cc": "aoliva@redhat.com",
        "Subject": "[PATCH] Fix PR82144",
        "Message-ID": "<alpine.LSU.2.20.1709121542420.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": "The following avoids adding DW_AT_alignment twice by not doing it\nfor incomplete types.\n\nBootstrapped on x86_64-unknown-linux-gnu, testing in progress.\n\nAlex, is that ok or do we want DW_AT_alignment for incomplete types as \nwell?\n\nThanks,\nRichard.\n\n2017-09-12  Richard Biener  <rguenther@suse.de>\n\n\tPR middle-end/82144\n\t* dwarf2out.c (gen_enumeration_type_die): Do not add alignment\n\tattribute for incomplete types nor twice for complete ones.",
    "diff": "Index: gcc/dwarf2out.c\n===================================================================\n--- gcc/dwarf2out.c\t(revision 252002)\n+++ gcc/dwarf2out.c\t(working copy)\n@@ -21258,8 +21258,6 @@ gen_enumeration_type_die (tree type, dw_\n   else\n     add_AT_flag (type_die, DW_AT_declaration, 1);\n \n-  add_alignment_attribute (type_die, type);\n-\n   add_pubtype (type, type_die);\n \n   return type_die;\n",
    "prefixes": []
}