This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/36939] Build Failure Ada SH2e
- From: "joel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2008 20:35:29 -0000
- Subject: [Bug ada/36939] Build Failure Ada SH2e
- References: <bug-36939-296@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from joel at gcc dot gnu dot org 2008-07-25 20:35 -------
> This tells us s-scaval.adb assumes long_float is at least 64 bits, but it
> seems to be 32 bits for sh target.
Just to precise -- only on this multilib variant. I am pretty sure other
SH models have double precision float.
> You can replace the body of the procedure Initialize in s-scaval.adb by an
> empty body, it will deactivate some GNAT specific features but allows for
> compilation on all targets:
Do you mean GNAT specific or Ada specified? This code is where variables
get their default values. It looks dangerous to disable this for what
could happen on other targets.
> 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 :)
Yes that would be a very poor assumption in this case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36939