This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas Schwab wrote:
This is a completely bogus argument. Every platform could define int1024_t or whatever. These don't count. At the time the interface was introduced only char, short, int, and long were available. Nothing else can be expected to work. The method described earlier works perfectly for this and the proposed attribute has the potential to help many more applications which would suffer from this broken calling convention.This is the crux of the problem. makecontext talks about "integer arguments", and __int128 is an integer type. So it is obliged to handle this.
It says so implicitly. Whatever is not explicitly specified is implicitly left undefined. And undefined means garbage is allowed. And this is what happens on most platforms.This is not what the specification says.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |