[{"id":1762129,"web_url":"http://patchwork.ozlabs.org/comment/1762129/","msgid":"<8F5955E0-4B06-4668-9BCC-233E90F6F7A0@gmail.com>","list_archive_url":null,"date":"2017-09-02T14:33:16","subject":"Re: [C++] Fix PR bootstrap/81926","submitter":{"id":1765,"url":"http://patchwork.ozlabs.org/api/people/1765/","name":"Richard Biener","email":"richard.guenther@gmail.com"},"content":"On September 2, 2017 1:01:11 PM GMT+02:00, Eric Botcazou <ebotcazou@adacore.com> wrote:\n>Hi,\n>\n>this is the bootstrap failure reported for the 7 branch on\n>SPARC64/Solaris:\n>\n>Comparing stages 2 and 3\n>Bootstrap comparison failure!\n>gcc/go/parse.o differs\n>make[2]: *** [compare] Error 1\n>\n>On Solaris, the bootstrap is usually an old-style bootstrap, meaning\n>that the \n>debug info is generated during stage2 & stage3 so the comparison also\n>involves \n>the debug info, unlike on Linux.  This can be emulated on Linux by\n>configuring \n>--with-build-config=no and indeed you get the comparison failure there\n>too:\n>\n>Target: x86_64-suse-linux\n>Configured with: /home/eric/svn/gcc-7.2.0/configure\n>--build=x86_64-suse-linux \n>--prefix=/home/eric/install/gcc-7.2.0 --enable-languages=c,c++,go\n>--enable-\n>__cxa_atexit --disable-nls --with-build-config=no\n>Thread model: posix\n>gcc version 7.2.0 (GCC) \n>\n>make[3]: Leaving directory '/home/eric/build/gcc-7.2.0'\n>Comparing stages 2 and 3\n>Bootstrap comparison failure!\n>gcc/go/parse.o differs\n>Makefile:24421: recipe for target 'compare' failed\n>make[2]: *** [compare] Error 1\n>\n>The difference is:\n>\n>35 .debug_info   0016367a  0000000000000000  0000000000000000  0001faf8\n> 2**0\n>                  CONTENTS, RELOC, READONLY, DEBUGGING\n>\n>35 .debug_info   00163670  0000000000000000  0000000000000000  0001faf8\n> 2**0\n>                  CONTENTS, RELOC, READONLY, DEBUGGING\n>\n> \t.byte\t0\t! end of children of DIE 0x161dbc\n> \t.byte\t0\t! end of children of DIE 0x161d9c\n> \t.byte\t0\t! end of children of DIE 0x161d5b\n>-\t.byte\t0xf2,0x1\t! uleb128 0xf2; (DIE (0x161dd2) \n>DW_TAG_ptr_to_member_type)\n>-\t.uaword\t0x10445d\t! DW_AT_containing_type\n>-\t.uaword\t0x14806e\t! DW_AT_type\n>-\t.byte\t0xa5,0x1\t! uleb128 0xa5; (DIE (0x161ddc) \n>DW_TAG_subprogram)\n>+\t.byte\t0xa5,0x1\t! uleb128 0xa5; (DIE (0x161dd2) \n>DW_TAG_subprogram)\n> \t.uaword\t0x146733\t! DW_AT_abstract_origin\n>\n>It's a garbage collection issue similar to\n>  https://gcc.gnu.org/ml/gcc-patches/2016-10/msg00541.html\n>but for build_offset_type instead of build_complex_type.\n>\n>It's called from the get_debug_type langhook in C++:\n>\n>tree\n>cp_get_debug_type (const_tree type)\n>{\n>  if (TYPE_PTRMEMFUNC_P (type) && !typedef_variant_p (type))\n>    return build_offset_type (TYPE_PTRMEMFUNC_OBJECT_TYPE (type),\n>\t\t\t      TREE_TYPE (TYPE_PTRMEMFUNC_FN_TYPE (type)));\n>\n>  return NULL_TREE;\n>}\n>\n>Since the OFFSET_TYPEs created there are not attached to any GC root,\n>they are \n>swept by every collection, meaning that the contents of the debug info\n>depends \n>on the actual collection points.\n>\n>The proposed fix is to build OFFSET_TYPEs manually instead.  As\n>witnessed by \n>the change to g++.dg/debug/dwarf2/ref-3.C, this generates more DIEs in\n>the \n>debug info, but DW_TAG_ptr_to_member_type DIEs only contain 10 bytes.\n\nA solution would be to put them into a global GCed pointer-map or vector, freeing that at free-lang-data time. \n\nRichard. \n\n>Bootstrapped on x86-64/Linux & SPARC64/Solaris, OK for mainline and 7\n>branch?\n>\n>\n>2017-09-02  Eric Botcazou  <ebotcazou@adacore.com>\n>\n>\tPR bootstrap/81926\n>\t* cp-objcp-common.c: Include stor-layout.h.\n>\t(cp_get_debug_type): Build OFFSET_TYPEs manually.\n>\n>\n>2017-09-02  Eric Botcazou  <ebotcazou@adacore.com>\n>\n>\t* g++.dg/debug/dwarf2/ref-3.C: Adjust DW_TAG_ptr_to_member_type count.","headers":{"Return-Path":"<gcc-patches-return-461344-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-461344-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=\"uQoyeuOs\"; 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 3xkzBB4756z9sNr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 00:33:37 +1000 (AEST)","(qmail 129921 invoked by alias); 2 Sep 2017 14:33:30 -0000","(qmail 129902 invoked by uid 89); 2 Sep 2017 14:33:29 -0000","from mail-wm0-f67.google.com (HELO mail-wm0-f67.google.com)\n\t(74.125.82.67) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tSat, 02 Sep 2017 14:33:24 +0000","by mail-wm0-f67.google.com with SMTP id l19so2581299wmi.1 for\n\t<gcc-patches@gcc.gnu.org>; Sat, 02 Sep 2017 07:33:24 -0700 (PDT)","from android-f83b394395796e13.fritz.box\n\t(p5494E583.dip0.t-ipconnect.de. [84.148.229.131]) by\n\tsmtp.gmail.com with ESMTPSA id\n\tf41sm1379553edf.36.2017.09.02.07.33.20 (version=TLS1_2\n\tcipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 02 Sep 2017 07:33:21 -0700 (PDT)"],"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:in-reply-to:references:mime-version:content-type\n\t:content-transfer-encoding:subject:to:from:message-id; q=dns; s=\n\tdefault; b=nyvUKajVS6qQbMVts92zPJZGgI3ba121/zqkRazWc0cegbe2ad5qR\n\tS2C74qWEx4i8WmwhTx4cl08QI9Grx/0tu/T3QXPOLPxEZGoXrkPgrt6AOPhnXHjj\n\to7G0fFJI7nhCH6m+iXCXOL2qr9Rx03P8PvGasnl0GwC7DHUe6LCXDU=","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:in-reply-to:references:mime-version:content-type\n\t:content-transfer-encoding:subject:to:from:message-id; s=\n\tdefault; bh=3inPOkCopmnZS1ARk+eTH94AlxU=; b=uQoyeuOsHn5wt8QIeF/i\n\tKYzOFvqibKC+lff5L3Ma0T8oh7xFlRjUgSlQ9iLqPRaJ4c0Uevs6FD4Q6UFCIGer\n\trEDBhwBzaDV1JRHHj0LJb2ieFRMNPcyTttvEgWmnlEuRcAJW0SWwy18K2qUFMYe/\n\t4mARztgOyJ2+R2pwFA/PqnQ=","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=-1.8 required=5.0 tests=AWL, BAYES_00,\n\tFREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=no version=3.3.2 spammy=","X-HELO":"mail-wm0-f67.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;\n\ts=20161025;\n\th=x-gm-message-state:date:user-agent:in-reply-to:references\n\t:mime-version:content-transfer-encoding:subject:to:from:message-id;\n\tbh=x6wr/15Rlxziyt2fu9hLjRNblmTwQGAvJIh3ih3FtSQ=;\n\tb=IgTt7nPNsPNCN0UNY+eNEG/1AXBYcl8EGroZNsJqOIfEMOkMppxtHE7ETtSNACEFf6\n\tNJB266uPyFs+hn4xU20DQBO/6MgPvVL3vAlbAxdSCE8QhLdKTuhVmrC12N7oCdzUryrX\n\tyKg2aJEiAQ91aZUSAeRNMUUMJxKA4GY/qSq+Ufq0AZSfto0BdpHHI9U5YK2x71ztgLHb\n\tqqrsX5AGHih2YbnGarDo9XeNBXt45dnQszfMR6hCpc/uVr29fSMLGH9s7J/6QoyygNxQ\n\tnX2tQUDIBKA+6zdpy3W7uG+XI/PqFZuZS46Kw0JMsY8hdCLpEld76vPvm8aZZ6hN1wHt\n\tKbkw==","X-Gm-Message-State":"AHPjjUjaPWYLiRkO1mzAqwoVN0GU9a+TK6nCd6LlXYxO2qa5BRB6AlXr\tjV4/5+8izajvZvN3WHE=","X-Google-Smtp-Source":"ADKCNb5gIGTMwZH5P15TxqBzmNCunuSOhe1ceuA7CJub/LRVJZ9KuO9Na+ETHY1Q79TMnQ7DivcVQg==","X-Received":"by 10.80.148.7 with SMTP id p7mr779807eda.23.1504362802296;\n\tSat, 02 Sep 2017 07:33:22 -0700 (PDT)","Date":"Sat, 02 Sep 2017 16:33:16 +0200","User-Agent":"K-9 Mail for Android","In-Reply-To":"<4078981.6jQ9KEkrUD@polaris>","References":"<4078981.6jQ9KEkrUD@polaris>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"quoted-printable","Subject":"Re: [C++] Fix PR bootstrap/81926","To":"gcc-patches@gcc.gnu.org,Eric Botcazou <ebotcazou@adacore.com>","From":"Richard Biener <richard.guenther@gmail.com>","Message-ID":"<8F5955E0-4B06-4668-9BCC-233E90F6F7A0@gmail.com>","X-IsSubscribed":"yes"}},{"id":1762225,"web_url":"http://patchwork.ozlabs.org/comment/1762225/","msgid":"<2173073.q7FxQVaxjc@polaris>","list_archive_url":null,"date":"2017-09-03T08:05:19","subject":"Re: [C++] Fix PR bootstrap/81926","submitter":{"id":4365,"url":"http://patchwork.ozlabs.org/api/people/4365/","name":"Eric Botcazou","email":"ebotcazou@adacore.com"},"content":"> A solution would be to put them into a global GCed pointer-map or vector,\n> freeing that at free-lang-data time.\n\nThe first part sounds good, but not the second part, as rest_of_handle_final \ngenerates debug info too.","headers":{"Return-Path":"<gcc-patches-return-461350-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-461350-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=\"syRABMI2\"; 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 3xlQX42dC4z9s7p\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 18:05:38 +1000 (AEST)","(qmail 66200 invoked by alias); 3 Sep 2017 08:05:30 -0000","(qmail 66182 invoked by uid 89); 3 Sep 2017 08:05:29 -0000","from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210)\n\tby sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with\n\tESMTP; Sun, 03 Sep 2017 08:05:24 +0000","from localhost (localhost [127.0.0.1])\tby\n\tfiltered-smtp.eu.adacore.com (Postfix) with ESMTP id\n\t67FA88236E; Sun,  3 Sep 2017 10:05:21 +0200 (CEST)","from smtp.eu.adacore.com ([127.0.0.1])\tby localhost\n\t(smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port\n\t10024)\twith ESMTP id VtO5PeHvYtRW;\n\tSun,  3 Sep 2017 10:05:21 +0200 (CEST)","from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net\n\t[88.161.99.133])\t(using TLSv1.2 with cipher\n\tECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\t(No client\n\tcertificate requested)\tby smtp.eu.adacore.com (Postfix) with\n\tESMTPSA id EFF9B821AA; Sun,  3 Sep 2017 10:05:20 +0200 (CEST)"],"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:from\n\t:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding:content-type; q=dns; s=\n\tdefault; b=Nt6QE3QlKYOXoa9WNgcDk/t/qJIkarIvNfMTdHUjvXWy6ipUdymPN\n\td1tcxkFgWfsCj73BtSeR85Gvn/iROJ6iHE+TDmSNBDCcC7hoexDTLZLCu6STqV8a\n\tglwSf2qdRIaTTPAsRW6egtXwa9EKLSFrexWgaYMVxpjkzcLfBQEBk0=","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:from\n\t:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding:content-type; s=default;\n\tbh=+OBfjguVN9WHD70XN+y3GDM2hsY=; b=syRABMI2AZW9IJLeg0ZrlTgLHTZU\n\tPqze1P+TiBvC0LHmJ93c8MtQCaIfOFCLcyncbBX4vG2VIEpa5nsSn6en6WeZmJ1W\n\tSN3CySQJkK5rVNuxwyvodDoEQbdKQ8p5Y24X5KIxZxgtLtTT9oRLXD6dw04+4P2U\n\tSzm9aBhREV5Devw=","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=-1.9 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:271","X-HELO":"smtp.eu.adacore.com","From":"Eric Botcazou <ebotcazou@adacore.com>","To":"Richard Biener <richard.guenther@gmail.com>","Cc":"gcc-patches@gcc.gnu.org","Subject":"Re: [C++] Fix PR bootstrap/81926","Date":"Sun, 03 Sep 2017 10:05:19 +0200","Message-ID":"<2173073.q7FxQVaxjc@polaris>","User-Agent":"KMail/4.14.10 (Linux/3.16.7-53-desktop; KDE/4.14.9; x86_64; ; )","In-Reply-To":"<8F5955E0-4B06-4668-9BCC-233E90F6F7A0@gmail.com>","References":"<4078981.6jQ9KEkrUD@polaris>\n\t<8F5955E0-4B06-4668-9BCC-233E90F6F7A0@gmail.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"7Bit","Content-Type":"text/plain; charset=\"us-ascii\""}},{"id":1762229,"web_url":"http://patchwork.ozlabs.org/comment/1762229/","msgid":"<8A9F1A21-9B04-4228-AB3C-B058B21B3357@gmail.com>","list_archive_url":null,"date":"2017-09-03T08:43:17","subject":"Re: [C++] Fix PR bootstrap/81926","submitter":{"id":1765,"url":"http://patchwork.ozlabs.org/api/people/1765/","name":"Richard Biener","email":"richard.guenther@gmail.com"},"content":"On September 3, 2017 10:05:19 AM GMT+02:00, Eric Botcazou <ebotcazou@adacore.com> wrote:\n>> A solution would be to put them into a global GCed pointer-map or\n>vector,\n>> freeing that at free-lang-data time.\n>\n>The first part sounds good, but not the second part, as\n>rest_of_handle_final \n>generates debug info too.\n\nBut not types, less using langhooks. \n\nRichard.","headers":{"Return-Path":"<gcc-patches-return-461351-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-461351-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=\"QWSnHH1j\"; 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 3xlRMt6BlMz9s7f\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 18:43:36 +1000 (AEST)","(qmail 39270 invoked by alias); 3 Sep 2017 08:43:29 -0000","(qmail 39261 invoked by uid 89); 3 Sep 2017 08:43:28 -0000","from mail-wm0-f43.google.com (HELO mail-wm0-f43.google.com)\n\t(74.125.82.43) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tSun, 03 Sep 2017 08:43:23 +0000","by mail-wm0-f43.google.com with SMTP id i145so5450637wmf.1 for\n\t<gcc-patches@gcc.gnu.org>; Sun, 03 Sep 2017 01:43:22 -0700 (PDT)","from android-f83b394395796e13.fritz.box\n\t(p5494E583.dip0.t-ipconnect.de. [84.148.229.131]) by\n\tsmtp.gmail.com with ESMTPSA id\n\tb6sm3507180wme.41.2017.09.03.01.43.19 (version=TLS1_2\n\tcipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 03 Sep 2017 01:43:20 -0700 (PDT)"],"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:in-reply-to:references:mime-version:content-type\n\t:content-transfer-encoding:subject:to:cc:from:message-id; q=dns;\n\ts=default; b=TgvOkfz6DtLIDIcSIHn+309a65jMXgOugBerXj8mdJQM0/++KQ\n\teZN6dNQqTXbx65kxi8dNEmaI/SExWhgVDHbZehOERDSuz0zWRkwO8ZU0p2io41CR\n\tPWHH8+AJ9SOPseAdOMBKj2jrliyKx8TYiLeqjUgn9eKZM49Mt3EVo7Ts4=","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:in-reply-to:references:mime-version:content-type\n\t:content-transfer-encoding:subject:to:cc:from:message-id; s=\n\tdefault; bh=yFaEU4g7msDyEs+//ZiRAh7sCf4=; b=QWSnHH1j4n9c5CInZPQU\n\tyLjUr3iKj8ys663Z0aAAefZLC43AT5lzBL1dXYOMV27eVronBa0iXksnJ1uoA54D\n\t8rHTeXi6a4wtYYoJgjW9N6xVsS0MuPe+mE8zdIRZ6DcaI2Ta3DsJVewagniybvIm\n\t/PUKd+qE7jyyHp6euea9w80=","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=-2.3 required=5.0 tests=AWL, BAYES_00,\n\tFREEMAIL_FROM, RCVD_IN_DNSWL_NONE,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"mail-wm0-f43.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;\n\ts=20161025;\n\th=x-gm-message-state:date:user-agent:in-reply-to:references\n\t:mime-version:content-transfer-encoding:subject:to:cc:from\n\t:message-id; bh=h4KqwJbj7aDl+cte8ZZmkQLQp6UicK1uH4FRhLRGCS4=;\n\tb=pjiVgjfhWyJc0oMcW6yJ4f7+wed89XCPs+qwRhXkQEKgIpgLcEPW4HC9ZwINDCItPG\n\tujOab/aX+sQ2JfnmrGfEKg7bl7WSZnEePtZ/MqSk/VHCHTKgKaQtI3feQ5nTYvXKL/7s\n\tGYvQGck0T0oi1jpWRs+UIh9jPznvkcptsZCiQDHGCVzS79tFka7Rk+Q0nWuVucaWLHqm\n\tZoCuR03gj2a0Vbl6IQl8qdc3vzKtPAgbJR/ON5C4I+rOYSHjCyrkicZQtzGc0DUMAW/Q\n\t3tox/k/NtCBFREOtCz7cVSDa8VXdHk1uX33vfl85KbzlWJOGaz1B6k8kOqMDl3oX0K6Q\n\tyUdw==","X-Gm-Message-State":"AHPjjUjRrGyLpHoPE358Fg/vQUCapSxDJY/NDmOCWCRJJsytUISDiM24\t35ynzj3XLdmhLvGgEVQ=","X-Google-Smtp-Source":"ADKCNb6NwzRBQeacUf8AhvNtuXsAeOzUWjjSXj4tGITL+itZyrHSAek7q9sOakv4LNbBtbQpNYnAmg==","X-Received":"by 10.28.167.66 with SMTP id q63mr1923283wme.104.1504428201239;\n\tSun, 03 Sep 2017 01:43:21 -0700 (PDT)","Date":"Sun, 03 Sep 2017 10:43:17 +0200","User-Agent":"K-9 Mail for Android","In-Reply-To":"<2173073.q7FxQVaxjc@polaris>","References":"<4078981.6jQ9KEkrUD@polaris>\n\t<8F5955E0-4B06-4668-9BCC-233E90F6F7A0@gmail.com>\n\t<2173073.q7FxQVaxjc@polaris>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"quoted-printable","Subject":"Re: [C++] Fix PR bootstrap/81926","To":"Eric Botcazou <ebotcazou@adacore.com>","CC":"gcc-patches@gcc.gnu.org","From":"Richard Biener <richard.guenther@gmail.com>","Message-ID":"<8A9F1A21-9B04-4228-AB3C-B058B21B3357@gmail.com>","X-IsSubscribed":"yes"}},{"id":1762271,"web_url":"http://patchwork.ozlabs.org/comment/1762271/","msgid":"<3961259.xr4ZDA7IUD@polaris>","list_archive_url":null,"date":"2017-09-03T14:15:50","subject":"Re: [C++] Fix PR bootstrap/81926","submitter":{"id":4365,"url":"http://patchwork.ozlabs.org/api/people/4365/","name":"Eric Botcazou","email":"ebotcazou@adacore.com"},"content":"> But not types, less using langhooks.\n\n#0  cp_get_debug_type (type=0x7ffff07702a0)\n    at /home/eric/svn/gcc-7.2.0/gcc/cp/cp-objcp-common.c:142\n#1  0x00000000009f2c86 in gen_type_die_with_usage (\n    type=type@entry=0x7ffff07702a0, \n    context_die=context_die@entry=0x7fffed7e90a0, \n    usage=usage@entry=DINFO_USAGE_DIR_USE)\n    at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:24566\n#2  0x00000000009f4e55 in gen_type_die (type=0x7ffff07702a0, \n    context_die=context_die@entry=0x7fffed7e90a0)\n    at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:24745\n#3  0x00000000009f9f67 in gen_decl_die (decl=decl@entry=0x7ffff076a980, \n    origin=origin@entry=0x0, ctx=ctx@entry=0x0, \n    context_die=context_die@entry=0x7fffed7e90a0)\n    at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:25422\n#4  0x00000000009f8c13 in gen_subprogram_die (decl=decl@entry=0x7ffff1109a00, \n    context_die=context_die@entry=0x7ffff6c5f000)\n    at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:22386\n#5  0x00000000009f95dc in gen_decl_die (decl=decl@entry=0x7ffff1109a00, \n    origin=<optimized out>, origin@entry=0x0, ctx=ctx@entry=0x0, \n    context_die=context_die@entry=0x7ffff6c5f000)\n    at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:25335\n#6  0x00000000009fc2d2 in dwarf2out_decl (decl=0x7ffff1109a00)\n    at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:25844\n#7  0x0000000000a13404 in dwarf2out_function_decl (decl=<optimized out>)\n    at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:25859\n#8  0x0000000000a74197 in rest_of_handle_final ()\n    at /home/eric/svn/gcc-7.2.0/gcc/final.c:4520","headers":{"Return-Path":"<gcc-patches-return-461359-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-461359-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=\"vnYd1F0G\"; 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 3xlZlY4GZyz9s7M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 00:16:07 +1000 (AEST)","(qmail 91190 invoked by alias); 3 Sep 2017 14:16:00 -0000","(qmail 91178 invoked by uid 89); 3 Sep 2017 14:15:59 -0000","from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210)\n\tby sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with\n\tESMTP; Sun, 03 Sep 2017 14:15:54 +0000","from localhost (localhost [127.0.0.1])\tby\n\tfiltered-smtp.eu.adacore.com (Postfix) with ESMTP id\n\tDBB358237D; Sun,  3 Sep 2017 16:15:51 +0200 (CEST)","from smtp.eu.adacore.com ([127.0.0.1])\tby localhost\n\t(smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port\n\t10024)\twith ESMTP id rEZT8v4vvii5;\n\tSun,  3 Sep 2017 16:15:51 +0200 (CEST)","from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net\n\t[88.161.99.133])\t(using TLSv1.2 with cipher\n\tECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\t(No client\n\tcertificate requested)\tby smtp.eu.adacore.com (Postfix) with\n\tESMTPSA id A1905822F6; Sun,  3 Sep 2017 16:15:51 +0200 (CEST)"],"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:from\n\t:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding:content-type; q=dns; s=\n\tdefault; b=QLXIR4lw2MaP3nrBjlUTfsFQ4Kgaz2jXwyVaYEQKjFL7f9cTGlEqd\n\t0Ker8djHkm0LuDKGNbubEwWcbSraN/ahqH6yQ3k6JX3UwQejENtGQ94Vn3O/ZoJs\n\tP0aKgA9wJijkuTwShDIc1syJ30fSUV8PmYUQLJzVBEuyfSSCD3v+2E=","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:from\n\t:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding:content-type; s=default;\n\tbh=xJYQYsbCaK1mQa/Pn/WE+IhfnHU=; b=vnYd1F0GJxhGcsEiHqgJv6kylHIl\n\txPUpuGn1x6gInJEn6WfTxziSLH3GWDWi67csrGk2z2LBc9Uigcb0sYISKSyRq5xK\n\thbOJP5ZL55l1fkywyecVmMq7z+SwxxBi0+vSu0zawTUB1CZI2cnkNd4azW3MeQIp\n\tvcd1w/EHD6TKyX4=","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=-1.9 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"smtp.eu.adacore.com","From":"Eric Botcazou <ebotcazou@adacore.com>","To":"Richard Biener <richard.guenther@gmail.com>","Cc":"gcc-patches@gcc.gnu.org","Subject":"Re: [C++] Fix PR bootstrap/81926","Date":"Sun, 03 Sep 2017 16:15:50 +0200","Message-ID":"<3961259.xr4ZDA7IUD@polaris>","User-Agent":"KMail/4.14.10 (Linux/3.16.7-53-desktop; KDE/4.14.9; x86_64; ; )","In-Reply-To":"<8A9F1A21-9B04-4228-AB3C-B058B21B3357@gmail.com>","References":"<4078981.6jQ9KEkrUD@polaris> <2173073.q7FxQVaxjc@polaris>\n\t<8A9F1A21-9B04-4228-AB3C-B058B21B3357@gmail.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"7Bit","Content-Type":"text/plain; charset=\"us-ascii\""}},{"id":1762508,"web_url":"http://patchwork.ozlabs.org/comment/1762508/","msgid":"<1514184.0xIGq3mKY2@polaris>","list_archive_url":null,"date":"2017-09-04T08:08:21","subject":"Re: [C++] Fix PR bootstrap/81926","submitter":{"id":4365,"url":"http://patchwork.ozlabs.org/api/people/4365/","name":"Eric Botcazou","email":"ebotcazou@adacore.com"},"content":"> A solution would be to put them into a global GCed pointer-map or vector,\n> freeing that at free-lang-data time.\n\nHere's a version that implements a bona-fide type->offset_type map.\n\n\n        PR bootstrap/81926\n        * cp-objcp-common.c (struct offset_type_hasher): New class.\n\t(offset_type_hash): New variable.\n        (cp_get_debug_type): Associate the OFFSET_TYPEs with the types.","headers":{"Return-Path":"<gcc-patches-return-461384-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-461384-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=\"QQAVz9GS\"; 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 3xm2YF18pNz9s7C\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 18:08:48 +1000 (AEST)","(qmail 84872 invoked by alias); 4 Sep 2017 08:08:36 -0000","(qmail 80436 invoked by uid 89); 4 Sep 2017 08:08:27 -0000","from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210)\n\tby sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with\n\tESMTP; Mon, 04 Sep 2017 08:08:26 +0000","from localhost (localhost [127.0.0.1])\tby\n\tfiltered-smtp.eu.adacore.com (Postfix) with ESMTP id\n\t15FF982338; Mon,  4 Sep 2017 10:08:23 +0200 (CEST)","from smtp.eu.adacore.com ([127.0.0.1])\tby localhost\n\t(smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port\n\t10024)\twith ESMTP id rdz69oekBY3u;\n\tMon,  4 Sep 2017 10:08:23 +0200 (CEST)","from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net\n\t[88.161.99.133])\t(using TLSv1.2 with cipher\n\tECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\t(No client\n\tcertificate requested)\tby smtp.eu.adacore.com (Postfix) with\n\tESMTPSA id D30A782310; Mon,  4 Sep 2017 10:08:22 +0200 (CEST)"],"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:from\n\t:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-type:content-transfer-encoding; q=dns; s=\n\tdefault; b=TnFkXZ+igbaANJ/o+QUwm1mITbxpR1lHWkS25+BsL+/n2tY0LC/NI\n\tlgAiEYEFIrSB5c5l7DEkVvjVi1uVnrWgwNrtKpapcoBIGeRcex7YpdH9Sk/SM+mq\n\tiO9sOcM0mnMjWKuFACwIl0Fx+6ql5g1HLnL3YtYKKU/bNxaXVjx/Xw=","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:from\n\t:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-type:content-transfer-encoding; s=default;\n\tbh=O30sByAPTHc3vdR9/7BgHK234ic=; b=QQAVz9GSOJ+QgzPEncQ31ET5NJ43\n\tg7oRZWXTOi8XBL9AwS72CXF8MZAuWZirxoj45nD3TLY6ky1T5Jfi4nR4pXZy5jkw\n\ti/G1mBLXyxX69P04l0hgetec9tyegUs++GzfvflnNHQJfHC1bGGnzi6GOALJFerR\n\tizrl/q2+qxOHq0Y=","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=-10.9 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=bonafide","X-HELO":"smtp.eu.adacore.com","From":"Eric Botcazou <ebotcazou@adacore.com>","To":"Richard Biener <richard.guenther@gmail.com>","Cc":"gcc-patches@gcc.gnu.org","Subject":"Re: [C++] Fix PR bootstrap/81926","Date":"Mon, 04 Sep 2017 10:08:21 +0200","Message-ID":"<1514184.0xIGq3mKY2@polaris>","User-Agent":"KMail/4.14.10 (Linux/3.16.7-53-desktop; KDE/4.14.9; x86_64; ; )","In-Reply-To":"<8F5955E0-4B06-4668-9BCC-233E90F6F7A0@gmail.com>","References":"<4078981.6jQ9KEkrUD@polaris>\n\t<8F5955E0-4B06-4668-9BCC-233E90F6F7A0@gmail.com>","MIME-Version":"1.0","Content-Type":"multipart/mixed; boundary=\"nextPart2188903.fJXSx1FBAZ\"","Content-Transfer-Encoding":"7Bit"}},{"id":1762528,"web_url":"http://patchwork.ozlabs.org/comment/1762528/","msgid":"<CAFiYyc0jxLb2pHcfW5hMr41pgX5wcQoz=nDZ=WVdm7XGH8VaNw@mail.gmail.com>","list_archive_url":null,"date":"2017-09-04T09:07:55","subject":"Re: [C++] Fix PR bootstrap/81926","submitter":{"id":1765,"url":"http://patchwork.ozlabs.org/api/people/1765/","name":"Richard Biener","email":"richard.guenther@gmail.com"},"content":"On Sun, Sep 3, 2017 at 4:15 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:\n>> But not types, less using langhooks.\n>\n> #0  cp_get_debug_type (type=0x7ffff07702a0)\n>     at /home/eric/svn/gcc-7.2.0/gcc/cp/cp-objcp-common.c:142\n> #1  0x00000000009f2c86 in gen_type_die_with_usage (\n>     type=type@entry=0x7ffff07702a0,\n>     context_die=context_die@entry=0x7fffed7e90a0,\n>     usage=usage@entry=DINFO_USAGE_DIR_USE)\n>     at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:24566\n> #2  0x00000000009f4e55 in gen_type_die (type=0x7ffff07702a0,\n>     context_die=context_die@entry=0x7fffed7e90a0)\n>     at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:24745\n> #3  0x00000000009f9f67 in gen_decl_die (decl=decl@entry=0x7ffff076a980,\n>     origin=origin@entry=0x0, ctx=ctx@entry=0x0,\n>     context_die=context_die@entry=0x7fffed7e90a0)\n>     at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:25422\n> #4  0x00000000009f8c13 in gen_subprogram_die (decl=decl@entry=0x7ffff1109a00,\n>     context_die=context_die@entry=0x7ffff6c5f000)\n>     at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:22386\n> #5  0x00000000009f95dc in gen_decl_die (decl=decl@entry=0x7ffff1109a00,\n>     origin=<optimized out>, origin@entry=0x0, ctx=ctx@entry=0x0,\n>     context_die=context_die@entry=0x7ffff6c5f000)\n>     at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:25335\n> #6  0x00000000009fc2d2 in dwarf2out_decl (decl=0x7ffff1109a00)\n>     at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:25844\n> #7  0x0000000000a13404 in dwarf2out_function_decl (decl=<optimized out>)\n>     at /home/eric/svn/gcc-7.2.0/gcc/dwarf2out.c:25859\n> #8  0x0000000000a74197 in rest_of_handle_final ()\n>     at /home/eric/svn/gcc-7.2.0/gcc/final.c:4520\n\nAh, wishful thinking on my side ;)  Well, I suppose it'll be true in the future\nwhen free-lang-data runs unconditionally and resets all langhooks.\n\nRichard.\n\n> --\n> Eric Botcazou","headers":{"Return-Path":"<gcc-patches-return-461388-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-461388-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=\"gKL5IJdO\"; 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 3xm3sp3BJVz9s72\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 19:08:12 +1000 (AEST)","(qmail 106719 invoked by alias); 4 Sep 2017 09:08:04 -0000","(qmail 106310 invoked by uid 89); 4 Sep 2017 09:08:04 -0000","from mail-wm0-f44.google.com (HELO mail-wm0-f44.google.com)\n\t(74.125.82.44) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tMon, 04 Sep 2017 09:07:58 +0000","by mail-wm0-f44.google.com with SMTP id v2so965834wmf.0 for\n\t<gcc-patches@gcc.gnu.org>; Mon, 04 Sep 2017 02:07:57 -0700 (PDT)","by 10.80.180.205 with HTTP; Mon, 4 Sep 2017 02:07:55 -0700 (PDT)"],"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\n\t:mime-version:in-reply-to:references:from:date:message-id\n\t:subject:to:cc:content-type; q=dns; s=default; b=F4QMe1kAqw5ZfQE\n\tSQwrdcV4rVzdI/Jlo+5GaL1n0Oqsw9iJyBXwwKBUbMNTFg3YmrDPxRjEbWjSYo6o\n\tDY+w4SItcRgm2DLpnpWNMWPGvPs6EsFd/dJQm3nC/eOkzhQP7FXD7S8aYH7/4ytr\n\tvz128fmFLOX5vKW3G1O5eC2OWNIQ=","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\n\t:mime-version:in-reply-to:references:from:date:message-id\n\t:subject:to:cc:content-type; s=default; bh=ZAkMbdydIbv/31TlmRoIZ\n\tb4sMiQ=; b=gKL5IJdOqUd5/UALBw2ox1BJC21Arl1LACZY5mwrvmv16WJ+44BmL\n\tmhzxDMO1Rlwr1+Gl4YBH/rDYDiWiWDb1xeIsKsEJVgfw5IvFmaVqmdeakaPhmdF8\n\tQSYTk+D/bR+h72BE82nla85lZSsCJyimZe9XnfDLOcVn7EuZwJJZes=","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=-2.0 required=5.0 tests=AWL, BAYES_00,\n\tFREEMAIL_FROM, RCVD_IN_DNSWL_NONE,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"mail-wm0-f44.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;\n\ts=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=vajFdMMMcCu5OkLWu/9bVaeeHaU/QaFpjNvTt4/ijHg=;\n\tb=AFCiL6eyw2jHMqz5iQUXUC648hg6WQK73eqLLJbhGWbVFZFB44H7UYIHjyZ1+MFhWg\n\tnwn5IFXh50m1muqb15s91xFOlOq90yaEAjDinnSfbTCSZ86NjuPzZdH62Gx9nm9G09K/\n\tC7U/fDVloAiCa9nFjH7/0V4zWZXU5ImC98idTe0Idxh3HtRjs/Ru6wAQeokUNlugf/JB\n\tBUR7hk9ZdqXBe163YFBJQTZ9hEUbqvsDKWoYw8WFbMmR+Bjhjo2fx45NyFyMAomNri4Z\n\txzCKNQBnJKZAoJFMbn5CHQ/OWbnQkOWfW1F0BQKr7kOBmStCdgk/m+P67xEpkPTadxOp\n\tetzg==","X-Gm-Message-State":"AHPjjUjgRgr1UviKwLUKZh4J8NGFEaW3KC0vwUb3i2W+a6ZN9kca1/8I\tHXiVcvUQF4hyeZu7JuOy4lS89QHI3Q==","X-Google-Smtp-Source":"ADKCNb60PJw1WdMa11RdTLUMFg+hNA9fR3Ik9Hx1w0s4OnN+27E20nqCqIbJQ+J5ixEy6iaChNadgY2pvGCX+AlyBUg=","X-Received":"by 10.80.184.124 with SMTP id k57mr7542997ede.18.1504516076205;\n\tMon, 04 Sep 2017 02:07:56 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<3961259.xr4ZDA7IUD@polaris>","References":"<4078981.6jQ9KEkrUD@polaris> <2173073.q7FxQVaxjc@polaris>\n\t<8A9F1A21-9B04-4228-AB3C-B058B21B3357@gmail.com>\n\t<3961259.xr4ZDA7IUD@polaris>","From":"Richard Biener <richard.guenther@gmail.com>","Date":"Mon, 4 Sep 2017 11:07:55 +0200","Message-ID":"<CAFiYyc0jxLb2pHcfW5hMr41pgX5wcQoz=nDZ=WVdm7XGH8VaNw@mail.gmail.com>","Subject":"Re: [C++] Fix PR bootstrap/81926","To":"Eric Botcazou <ebotcazou@adacore.com>","Cc":"GCC Patches <gcc-patches@gcc.gnu.org>","Content-Type":"text/plain; charset=\"UTF-8\"","X-IsSubscribed":"yes"}},{"id":1765761,"web_url":"http://patchwork.ozlabs.org/comment/1765761/","msgid":"<CADzB+2=GBK-QMeb6QC_6jERp6mNYYkiNwGLy6OKm9RmJi0hNGg@mail.gmail.com>","list_archive_url":null,"date":"2017-09-09T08:30:33","subject":"Re: [C++] Fix PR bootstrap/81926","submitter":{"id":4337,"url":"http://patchwork.ozlabs.org/api/people/4337/","name":"Jason Merrill","email":"jason@redhat.com"},"content":"On Mon, Sep 4, 2017 at 10:08 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:\n>> A solution would be to put them into a global GCed pointer-map or vector,\n>> freeing that at free-lang-data time.\n>\n> Here's a version that implements a bona-fide type->offset_type map.\n>\n>         PR bootstrap/81926\n>         * cp-objcp-common.c (struct offset_type_hasher): New class.\n>         (offset_type_hash): New variable.\n>         (cp_get_debug_type): Associate the OFFSET_TYPEs with the types.\n\nThis looks good.  But let's call it debug_type_hash instead.  OK with\nthat change.\n\nJason","headers":{"Return-Path":"<gcc-patches-return-461761-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-461761-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=\"XaLZZ9GM\"; 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 3xq6pj4n14z9s7M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  9 Sep 2017 18:31:07 +1000 (AEST)","(qmail 79725 invoked by alias); 9 Sep 2017 08:30:59 -0000","(qmail 79094 invoked by uid 89); 9 Sep 2017 08:30:56 -0000","from mail-io0-f172.google.com (HELO mail-io0-f172.google.com)\n\t(209.85.223.172) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tSat, 09 Sep 2017 08:30:55 +0000","by mail-io0-f172.google.com with SMTP id j141so9746437ioj.4 for\n\t<gcc-patches@gcc.gnu.org>; Sat, 09 Sep 2017 01:30:55 -0700 (PDT)","by 10.107.181.23 with HTTP; Sat, 9 Sep 2017 01:30:33 -0700 (PDT)"],"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\n\t:mime-version:in-reply-to:references:from:date:message-id\n\t:subject:to:cc:content-type; q=dns; s=default; b=CVcrq/gPfNuzr/h\n\tJEjgBgnuHlYIXWjeHcs5u6+HkzFwbD3Q6iRACeHAboywy+bTC/h1eXDOfs16OIPe\n\tYL9+5dHGkZtln43tvkzqpQM9+n3DylGeEWp26v/bxEyztPp3IKttcawbuDGb49NA\n\tLLyqJ3zsAvaT8czzFK1qjhfyqc1w=","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\n\t:mime-version:in-reply-to:references:from:date:message-id\n\t:subject:to:cc:content-type; s=default; bh=qKZJD3QwAiydPi843gnBL\n\tpSj6eU=; b=XaLZZ9GMo/UEYx8mOcAIi/AlIpIIvPOJCKFiaaFOa4LofKqjiSx6W\n\t2VBR+Fml1s2NtwIW68duN6VEqRzC1KhJd+9KryVzUEv+owieuCxur884CRgaXz8z\n\tF+ML+fTSOam2rxB5WCA6hlNCWjBCuUgESCZBXL2eePfxiw3qQmDA9g=","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=-2.5 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE,\n\tRCVD_IN_SORBS_SPAM autolearn=no version=3.3.2 spammy=bonafide","X-HELO":"mail-io0-f172.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;\n\ts=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=T82mzzNmMjew0ZI+rgVpXmvl2FWlnQUw78T3cGz8cN8=;\n\tb=PhGbYF0F9bRYmSo2yYv5dRvRu4MOPvVqqDeXNDrIZGfW+Wccqvqi3/iBkP6faE5pz5\n\tYOt7LVBx5WYPBKY3LZb1Dvacq6DBp6p83j5d2nXJ2yI6NDj3E06/2L/6fqO+RG8x9VTp\n\tkrTcibi/WhCEG9IFLFMHhkkXFuLFEyIOPMNgV+w8SpWhpLjGGWG3fD+Q9qfJobLlamwB\n\te0w/fEn3AYhoGFnGSX827dAOLMqSJ1bJSJ1N0u82gzRgOAgo9zCyUZApL6sA89BDMGlh\n\tXiDRSqY/DLV2NBK6eNrXOEYeiMZn+DId6zeKqPRU3t5gyEjUi0N4kWsdZlkXCBTPs928\n\tq/6g==","X-Gm-Message-State":"AHPjjUhMS0B3igD/xJTOaPjzLZkQ+mSn7EDPMJagC8+AnUXg+p9a7h94\tI4elX68cXhaPzgoOeQ3HDJLAFTQE51Bx","X-Google-Smtp-Source":"ADKCNb5KpKq9XBAMCU+SgA8MScqGvRa+DNCtzmYPQxLa8033aZWggIp4NlhZrnG/4AxUpe9tqXY1Qq4gqDk39bogFOU=","X-Received":"by 10.107.36.144 with SMTP id k138mr6491092iok.205.1504945853602;\n\tSat, 09 Sep 2017 01:30:53 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1514184.0xIGq3mKY2@polaris>","References":"<4078981.6jQ9KEkrUD@polaris>\n\t<8F5955E0-4B06-4668-9BCC-233E90F6F7A0@gmail.com>\n\t<1514184.0xIGq3mKY2@polaris>","From":"Jason Merrill <jason@redhat.com>","Date":"Sat, 9 Sep 2017 10:30:33 +0200","Message-ID":"<CADzB+2=GBK-QMeb6QC_6jERp6mNYYkiNwGLy6OKm9RmJi0hNGg@mail.gmail.com>","Subject":"Re: [C++] Fix PR bootstrap/81926","To":"Eric Botcazou <ebotcazou@adacore.com>","Cc":"Richard Biener <richard.guenther@gmail.com>,\n\tgcc-patches List <gcc-patches@gcc.gnu.org>","Content-Type":"text/plain; charset=\"UTF-8\"","X-IsSubscribed":"yes"}},{"id":1773864,"web_url":"http://patchwork.ozlabs.org/comment/1773864/","msgid":"<11616972.pR5rpf8R4I@polaris>","list_archive_url":null,"date":"2017-09-22T20:20:50","subject":"Re: [C++] Fix PR bootstrap/81926","submitter":{"id":4365,"url":"http://patchwork.ozlabs.org/api/people/4365/","name":"Eric Botcazou","email":"ebotcazou@adacore.com"},"content":"> This looks good.  But let's call it debug_type_hash instead.  OK with\n> that change.\n\nThanks.  It occured to me that we don't need to look up the type twice when we \nneed to insert it so I have installed the attached patchlet as obvious after \nboostrapping/regtesting on x86-64/Linux.\n\n\n\tPR bootstrap/81926\n\t* cp-objcp-common.c (cp_get_debug_type): Do only one lookup.","headers":{"Return-Path":"<gcc-patches-return-462810-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-462810-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=\"pQ7P9bfe\"; 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 3xzPxw0pPCz9s82\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 06:21:07 +1000 (AEST)","(qmail 38034 invoked by alias); 22 Sep 2017 20:20:56 -0000","(qmail 37999 invoked by uid 89); 22 Sep 2017 20:20:56 -0000","from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210)\n\tby sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with\n\tESMTP; Fri, 22 Sep 2017 20:20:54 +0000","from localhost (localhost [127.0.0.1])\tby\n\tfiltered-smtp.eu.adacore.com (Postfix) with ESMTP id\n\tB540B823C1; Fri, 22 Sep 2017 22:20:51 +0200 (CEST)","from smtp.eu.adacore.com ([127.0.0.1])\tby localhost\n\t(smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port\n\t10024)\twith ESMTP id UspNxR21RD7r;\n\tFri, 22 Sep 2017 22:20:51 +0200 (CEST)","from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net\n\t[88.161.99.133])\t(using TLSv1.2 with cipher\n\tECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\t(No client\n\tcertificate requested)\tby smtp.eu.adacore.com (Postfix) with\n\tESMTPSA id 8BBF5823C0; Fri, 22 Sep 2017 22:20:51 +0200 (CEST)"],"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:from\n\t:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-type:content-transfer-encoding; q=dns; s=\n\tdefault; b=Z8lpUTWZm/YRR2RNWho9WedEXGBq/Tnrk4B8BSYr/TirrxuW2JcXk\n\tV6LpfuizSYN9UWiQ2cD/VWXZ3CLFZZalTCdzf+LdTu1qXPF70sJDG2gQqIryO8mf\n\tnstiEEAqwvD8yJAQ1SpL8zueOUeMEWndZBWHq0XyJtFZRrM6jzAX3o=","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:from\n\t:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-type:content-transfer-encoding; s=default;\n\tbh=ACoPOhDwM+Kz3tKdWCMVNzaYAy8=; b=pQ7P9bfeFohDaeaiZAX0znxd8zAj\n\txnMujy+Ew/1tlBtVd68eH3Nahn+zw1b0gIrt5VGbLDzN+4H3v7Y9YGlJHcgKayOz\n\tpzVqfkb7pn9bn0NA+FBDzPByd78bJSbJ2XQCPVLHhrMLupE0tfgM4zPGb7Ht2pr6\n\t6/czc55a/nTVY74=","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=-10.9 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"smtp.eu.adacore.com","From":"Eric Botcazou <ebotcazou@adacore.com>","To":"Jason Merrill <jason@redhat.com>","Cc":"gcc-patches@gcc.gnu.org, Richard Biener <richard.guenther@gmail.com>","Subject":"Re: [C++] Fix PR bootstrap/81926","Date":"Fri, 22 Sep 2017 22:20:50 +0200","Message-ID":"<11616972.pR5rpf8R4I@polaris>","User-Agent":"KMail/4.14.10 (Linux/3.16.7-53-desktop; KDE/4.14.9; x86_64; ; )","In-Reply-To":"<CADzB+2=GBK-QMeb6QC_6jERp6mNYYkiNwGLy6OKm9RmJi0hNGg@mail.gmail.com>","References":"<4078981.6jQ9KEkrUD@polaris> <1514184.0xIGq3mKY2@polaris>\n\t<CADzB+2=GBK-QMeb6QC_6jERp6mNYYkiNwGLy6OKm9RmJi0hNGg@mail.gmail.com>","MIME-Version":"1.0","Content-Type":"multipart/mixed; boundary=\"nextPart65514613.pOkBoClWSh\"","Content-Transfer-Encoding":"7Bit"}}]