This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Comparing types at LTO time
- From: Gary Oblock <goblock at marvell dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 9 Jan 2020 02:05:09 +0000
- Subject: Comparing types at LTO time
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3h9e1w8yO/ftlr6r6wTqzx9+heeGTIWHnO7jb8huJ2k=; b=giPMn+M6oq9w+YyCRiMBOzBp1xNPhmon3XOKwm+CNlrzlTQ7IcfL/9EiX728dRCcNM0R4yZTWS85oBQmD9TVI7K+9e+wSQ44QafBtaXf8zOITPCC/yphXkmdKLjD+N/t41isp4nt2E3AEtG4XXD/jjZlkWeS0KEYB9EPYcJ54wUkUeQAJqrovFnlyqJBIEeyZcCV/qu64ph80eGcZAJhm02wG3JKFjUxEf0jb9oJMUS9JoQCEEpSxEHY2eqcj1vlumvBSq2e3T9wND0fHz38kx/0zBusxyiqyc9yJJCqisNBq6U0mw8hkiOCmaiVeGuCnoohF33xDErC9UbpWHx0xg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vs07OHxzPh/qgFiOHadcwx1C4v/AS9sWI/weivS8PTcLB1F/UcWmIBSmYINnlbyVBOGTS1ZnxVmH7s1mxaSME2KaTWv2M0OCeoqkUdRtJXf5NQ06swNiEerLQddNTQY5MilyYnRL84QuHg2k9BxLkR4Hsg0CQt5jIf87aFVQocboZlY47agbQhBBD6+8doc9816dUACv8HDgLn/gGLn2Fkp3w5YMHWzyqWD/jRiBCBtbJZ3y3OIdhFgNquvD0M5oykf3vwh4a2yanINsFhewAnCLbp3694WFH/R6Fxp3DjyVEsESc7Ggb9hhr4QOrnFcpC1l6LIkMgc3H/zjWFudQQ==
There doesn't seem to be a way to compare types at LTO time. The functions
same_type_p and comptypes are front end only if I'm not totally confused
(which is quite possible) and type_hash_eq doesn't seem to apply for
structure types. Please, any advice would be welcome.
Thanks,
Gary Oblock