From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6877 invoked by alias); 6 Dec 2015 17:25:08 -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 6861 invoked by uid 89); 6 Dec 2015 17:25:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_05,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 06 Dec 2015 17:25:06 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 33D5F300088B; Sun, 6 Dec 2015 18:25:03 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qNRwXIEwXmay; Sun, 6 Dec 2015 18:25:03 +0100 (CET) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 17348300088A; Sun, 6 Dec 2015 18:25:02 +0100 (CET) From: Eric Botcazou To: Jan Hubicka Cc: gcc-patches@gcc.gnu.org, rguenther@suse.de Subject: Re: -fstrict-aliasing fixes 5/6: make type system independent of flag_strict_aliasing Date: Sun, 06 Dec 2015 17:25:00 -0000 Message-ID: <4833565.b9m1IQmy3c@polaris> User-Agent: KMail/4.14.9 (Linux/3.16.7-29-desktop; KDE/4.14.9; x86_64; ; ) In-Reply-To: <20151202080716.GV5527@kam.mff.cuni.cz> References: <20151202080716.GV5527@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart11325771.UQW3XIqPth" Content-Transfer-Encoding: 7Bit X-SW-Source: 2015-12/txt/msg00679.txt.bz2 This is a multi-part message in MIME format. --nextPart11325771.UQW3XIqPth Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Content-length: 601 > Bootstrapped/regtested x86_64-linux and also lto-bootstraped. Looks OK? > > * alias.c (alias_set_subset_of, alias_sets_conflict_p, > objects_must_conflict_p): Short circuit for !flag_strict_aliasing > (get_alias_set): Remove flag_strict_aliasing check. > (new_alias_set): Likewise. Not clear whether it's this patch specifically or another one in the series, but the compiler now hangs on simple Ada code it used to compile instantly. A couple of testcases is attached. It looks like the compiler is now stuck in get_alias_set endlessly pushing references onto a vector. -- Eric Botcazou --nextPart11325771.UQW3XIqPth Content-Disposition: attachment; filename="access1.ads" Content-Transfer-Encoding: 7Bit Content-Type: text/x-adasrc; charset="utf-8"; name="access1.ads" Content-length: 88 package Access1 is type R; type S is access R; type R is new S; end Access1; --nextPart11325771.UQW3XIqPth Content-Disposition: attachment; filename="access2.ads" Content-Transfer-Encoding: 7Bit Content-Type: text/x-adasrc; charset="utf-8"; name="access2.ads" Content-length: 141 package Access2 is type Priv; type Inc is access Priv; type Priv is access Inc; C : constant Priv := new Inc; end Access2; --nextPart11325771.UQW3XIqPth--