This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: wide-int, ada
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Kenneth Zadeck <zadeck at naturalbridge dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Earnshaw <rearnsha at arm dot com>, Mike Stump <mikestump at comcast dot net>
- Date: Tue, 26 Nov 2013 18:58:11 +0100
- Subject: Re: wide-int, ada
- Authentication-results: sourceware.org; auth=none
- References: <0075C6DB-B432-4E6F-8A48-3AE0C4D842FE at comcast dot net> <5294A5AF dot 4080803 at arm dot com> <5294A984 dot 2030604 at naturalbridge dot com>
> I had not realized that you were into self abuse like that. you are
> going to have a bad time. I tried this as a way to test the wide-int
> branch because if we made hwi be 32bits, then it would trigger the long
> version of the implementation wide-int routines. What a disaster!!!!
> richard sandiford told me not to try and i ignored him. that was a
> wasted weekend!!! There are roadblocks everywhere. i certainly do
> not have a complete list, because i gave up after hacking a few things
> back. But very quickly you find places like real.[ch] which no longer
> work because the math that the dfp people hacked into it no longer works
> if the hwis are 32 bits. it is misleading because all of the tests
> are still there, it is just that the equations return the wrong
> answers. It is like this, one place after another.
I think that you're exaggerating here, there might be some breakages but they
should be localized and fixable. We have 4.7-based 32-bit HWI cross-compilers
and they work pretty well, at least Ada and C, and I don't think that anything
has substantially changed on the mainline.
--
Eric Botcazou