From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7582 invoked by alias); 25 Apr 2014 11:16:07 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 7566 invoked by uid 89); 25 Apr 2014 11:16:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail3-relais-sop.national.inria.fr Received: from mail3-relais-sop.national.inria.fr (HELO mail3-relais-sop.national.inria.fr) (192.134.164.104) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 25 Apr 2014 11:16:04 +0000 Received: from stedding.saclay.inria.fr ([193.55.250.194]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES128-SHA; 25 Apr 2014 13:16:01 +0200 Received: from glisse (helo=localhost) by stedding.saclay.inria.fr with local-esmtp (Exim 4.82) (envelope-from ) id 1Wde6q-0001vF-RU; Fri, 25 Apr 2014 13:16:00 +0200 Date: Fri, 25 Apr 2014 11:25:00 -0000 From: Marc Glisse To: gcc-patches@gcc.gnu.org cc: jason@redhat.com Subject: Re: emit __float128 typeinfo In-Reply-To: Message-ID: References: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-1906218342-1398424560=:29458" X-SW-Source: 2014-04/txt/msg01652.txt.bz2 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1906218342-1398424560=:29458 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Content-length: 973 On Fri, 25 Apr 2014, Marc Glisse wrote: > the previous patch had to be reverted as it broke the strange handling of > vectors in the ARM target. This new patch should be much more conservative I > hope. Instead of adding this typeinfo to libsupc++, I am letting the FE know > that it isn't available in libsupc++. There are 2 versions, both regtested > fine. > > Does this approach seem ok, or do we need to try harder to find a way to get > this typeinfo into libsupc++? > > 2014-04-25 Marc Glisse > > PR libstdc++/43622 > * rtti.c (emit_support_tinfos): Move the array... > (fundamentals): ... and make it global. > (typeinfo_in_lib_p): Use it. > > 2014-04-25 Marc Glisse > > PR libstdc++/43622 > * rtti.c (typeinfo_in_lib_p) [REAL_TYPE]: Check against a > hardcoded list of available types. It seems better with a TYPE_CANONICAL in there. It passed bootstrap and the testsuite is running. -- Marc Glisse --8323329-1906218342-1398424560=:29458 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=p27 Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: inline; filename=p27 Content-length: 5490 SW5kZXg6IGdjYy9jcC9ydHRpLmMNCj09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0N Ci0tLSBnY2MvY3AvcnR0aS5jCShyZXZpc2lvbiAyMDk3ODkpDQorKysgZ2Nj L2NwL3J0dGkuYwkod29ya2luZyBjb3B5KQ0KQEAgLTEwNDIsNDIgKzEwNDIs NjkgQEAgY2xhc3NfaW5pdGlhbGl6ZXIgKHRpbmZvX3MgKnRpLCB0cmVlIHRh cg0KICAgZm9yIChpID0gMDsgaSA8IG47IGkrKykNCiAgICAgQ09OU1RSVUNU T1JfQVBQRU5EX0VMVCAodiwgTlVMTF9UUkVFLCB2YV9hcmcgKGV4dHJhX2lu aXRzLCB0cmVlKSk7DQogICB2YV9lbmQgKGV4dHJhX2luaXRzKTsNCiANCiAg IGluaXQgPSBidWlsZF9jb25zdHJ1Y3RvciAoaW5pdF9saXN0X3R5cGVfbm9k ZSwgdik7DQogICBUUkVFX0NPTlNUQU5UIChpbml0KSA9IDE7DQogICBUUkVF X1NUQVRJQyAoaW5pdCkgPSAxOw0KICAgcmV0dXJuIGluaXQ7DQogfQ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ZGZsb2F0MTI4X3R5cGVfbm9kZSwN Ci0gICAgJm51bGxwdHJfdHlwZV9ub2RlLA0KLSAgICAwDQotICB9Ow0KICAg aW50IGl4Ow0KICAgdHJlZSBibHRuX3R5cGUsIGR0b3I7DQogDQogICBwdXNo X2FiaV9uYW1lc3BhY2UgKCk7DQogICBibHRuX3R5cGUgPSB4cmVmX3RhZyAo Y2xhc3NfdHlwZSwNCiAJCQlnZXRfaWRlbnRpZmllciAoIl9fZnVuZGFtZW50 YWxfdHlwZV9pbmZvIiksDQogCQkJLyp0YWdfc2NvcGU9Ki90c19jdXJyZW50 LCBmYWxzZSk7DQogICBwb3BfYWJpX25hbWVzcGFjZSAoKTsNCiAgIGlmICgh Q09NUExFVEVfVFlQRV9QIChibHRuX3R5cGUpKQ0KICAgICByZXR1cm47DQo= --8323329-1906218342-1398424560=:29458 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=p26 Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: inline; filename=p26 Content-length: 1582 SW5kZXg6IGdjYy9jcC9ydHRpLmMNCj09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0N Ci0tLSBnY2MvY3AvcnR0aS5jCShyZXZpc2lvbiAyMDk3ODkpDQorKysgZ2Nj L2NwL3J0dGkuYwkod29ya2luZyBjb3B5KQ0KQEAgLTEwNTksMjUgKzEwNTks MzMgQEAgdHlwZWluZm9faW5fbGliX3AgKHRyZWUgdHlwZSkNCiAgICAgIGxp YnJhcnkgZm9yIHNpbXBsZSB0eXBlcyBULiAgKi8NCiAgIGlmIChUWVBFX1BU Ul9QICh0eXBlKQ0KICAgICAgICYmIChjcF90eXBlX3F1YWxzIChUUkVFX1RZ UEUgKHR5cGUpKSA9PSBUWVBFX1FVQUxfQ09OU1QNCiAJICB8fCBjcF90eXBl X3F1YWxzIChUUkVFX1RZUEUgKHR5cGUpKSA9PSBUWVBFX1VOUVVBT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