From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107195 invoked by alias); 8 Jun 2015 16:51:16 -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 107186 invoked by uid 89); 8 Jun 2015 16:51:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 08 Jun 2015 16:51:14 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1Z20GU-00049p-BN from joseph_myers@mentor.com ; Mon, 08 Jun 2015 09:51:10 -0700 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.3.224.2; Mon, 8 Jun 2015 17:51:08 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.82) (envelope-from ) id 1Z20GR-0003V4-JL; Mon, 08 Jun 2015 16:51:07 +0000 Date: Mon, 08 Jun 2015 16:54:00 -0000 From: Joseph Myers To: Jan Hubicka CC: Richard Biener , , Subject: Re: Fix more of C/fortran canonical type issues In-Reply-To: <20150608150627.GB23542@kam.mff.cuni.cz> Message-ID: References: <20150608001957.GA35779@kam.mff.cuni.cz> <20150608050047.GA10381@kam.mff.cuni.cz> <20150608054500.GA58209@kam.mff.cuni.cz> <20150608150627.GB23542@kam.mff.cuni.cz> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2015-06/txt/msg00601.txt.bz2 On Mon, 8 Jun 2015, Jan Hubicka wrote: > Joseph, I may be wrong, but I believe that the cross-compilation-unit > representation compatibility (in C standard sense) is however not an > equivalence class, so it can't be fully represented by TYPE_CANOINICAL Indeed, type compatibility is not transitive, but the expressed intention of WG14 in response to DR#314 is that in a valid program it should be possible to merge the translation units, unifying structure and union types across translation units (with renaming as needed). -- Joseph S. Myers joseph@codesourcery.com