Re: Gforth and gcc "progress"
- From: Andrew Haley <andrew29@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Jun 2007 10:35:16 -0000
Bernd Paysan <bernd.paysan@xxxxxx> wrote:
Andrew Haley wrote:
Sure, but as I said to Bernd I had forgotten that it was ever
defined that way. In hindsight it was surely a mistake to define
it in such a way, but that's all history now.
IMHO the definition was right, and if the Alpha people had asked RMS
about his reasoning, they probably wouldn't have changed it. It's
the "ANSI C" blinder attitude shining through here again: long long
is a GCC extension, so "it can mean whatever we like it".
No, long long wasn't only a gcc-specific extension: several compiler
vendors also supported it or were about to, so it wasn't possible for
gcc simply to define what it meant without regard to anyone else.
Thre's an excruciating discussion at
http://yarchive.net/comp/longlong.html
This is all history now, for sure, and C99 has a better way to
select types with a specific size, so GCC should support this scheme
- e.g. a way to access int128_t on all 64 bit platforms without
GCC-specific attributes would be nice to have.
AFAIAA intN_t is provided by the C library, not the compiler, so it's
up to the library vendors. The split between library and compiler is
specified by the standard.
Andrew.
.
- References:
- Gforth and gcc "progress"
- From: Anton Ertl
- Re: Gforth and gcc "progress"
- From: slava@xxxxxxxxx
- Re: Gforth and gcc "progress"
- From: Anton Ertl
- Re: Gforth and gcc "progress"
- From: Andrew Haley
- Re: Gforth and gcc "progress"
- From: Anton Ertl
- Re: Gforth and gcc "progress"
- From: Andrew Haley
- Re: Gforth and gcc "progress"
- From: Anton Ertl
- Re: Gforth and gcc "progress"
- From: Andrew Haley
- Re: Gforth and gcc "progress"
- From: Bernd Paysan
- Gforth and gcc "progress"
- Prev by Date: Re: Why aren't the forth people doing this?
- Next by Date: Re: Gforth and gcc "progress"
- Previous by thread: Re: Gforth and gcc "progress"
- Next by thread: Re: Gforth and gcc "progress"
- Index(es):
Relevant Pages
|