From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24347 invoked by alias); 25 Jul 2008 19:53:25 -0000 Received: (qmail 24249 invoked by uid 48); 25 Jul 2008 19:52:42 -0000 Date: Fri, 25 Jul 2008 19:53:00 -0000 Message-ID: <20080725195242.24248.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug ada/36939] Build Failure Ada SH2e In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "laurent at guerby dot net" 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 X-SW-Source: 2008-07/txt/msg01962.txt.bz2 ------- Comment #1 from laurent at guerby dot net 2008-07-25 19:52 ------- AFloat : constant Boolean := Long_Float'Size = 48 and Long_Long_Float'Size = 48; -- Set True if we are on an AAMP with 48-bit extended floating point type ByteLF is array (0 .. 7 - 2 * Boolean'Pos (AFloat)) of Byte1; IV_Ilf : aliased ByteLF; -- Initialize long float for IV_Ilf'Address use IS_Ilf'Address; IS_Ilf : aliased Long_Float := 0.0; -- Initialize long float This tells us s-scaval.adb assumes long_float is at least 64 bits, but it seems to be 32 bits for sh target. Only long_long_float seems to be 64 bits on sh and this also breaks another assumption made a few lines below, that is that we are on ... x86 :) EFloat : constant Boolean := Long_Long_Float'Size > Long_Float'Size; -- Set True if we are on an x86 with 96-bit floats for extended -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36939