From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18419 invoked by alias); 28 Feb 2014 21:35:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18363 invoked by uid 48); 28 Feb 2014 21:35:07 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/51483] [4.7/4.8/4.9 regression] cstand.adb:Register_Float_Type makes invalid assumptions about FP representation Date: Fri, 28 Feb 2014 21:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-02/txt/msg02873.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51483 --- Comment #18 from Eric Botcazou --- > Eric, there's an updated patch in c#8 which reportedly fixes the problem by > passing both the precision and storage size of Register_Float_Type. Right, this is the way to go. > I'm nowhere near versed enough in Ada to know if Mikael's on the right track > with that patch. It's been sitting there for ~2 years now ;( > > The SPARK issues in c#14 is separate and we should probably create a > distinct BZ for that since I believe it completely stands in the way > bootstrapping Ada on platforms without a functional Ada compiler. > > If you could help move along these issues, it'd be appreciated. Geert, could you have a look at the patch?