https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #19 from ro at CeBiTec dot Uni-Bielefeld.DE ---
I'm talking with Oracle Solaris Engineering and they're amenable to
making the int8_t change from char to signed char.
To assess the possible impact, the plan is to compare the public
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #18 from ro at CeBiTec dot Uni-Bielefeld.DE ---
> --- Comment #17 from Joseph S. Myers ---
> The tests that GCC's internal notion of the types agrees with the headers are
> in gcc.dg/c99-stdint-5.c and gcc.dg/c99-stdint-6.c.
Ah, no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #17 from Joseph S. Myers ---
The tests that GCC's internal notion of the types agrees with the headers are
in gcc.dg/c99-stdint-5.c and gcc.dg/c99-stdint-6.c.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #16 from ro at CeBiTec dot Uni-Bielefeld.DE ---
> --- Comment #15 from Jonathan Wakely ---
> (In reply to r...@cebitec.uni-bielefeld.de from comment #14)
>> * When checking clang, there were more surprises:
>>
>> #define __INT8_TYP
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #15 from Jonathan Wakely ---
(In reply to r...@cebitec.uni-bielefeld.de from comment #14)
> Further research has uncovered some interesting facts:
>
> * Neither the SysV SPARC psABI (3rd Edition, 1996) nor the original i386
> psAB
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #14 from ro at CeBiTec dot Uni-Bielefeld.DE ---
> --- Comment #11 from ro at CeBiTec dot Uni-Bielefeld.DE Uni-Bielefeld.DE> ---
>> --- Comment #7 from Jonathan Wakely ---
>> (In reply to Jonathan Wakely from comment #1)
>>> I assum
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #13 from ro at CeBiTec dot Uni-Bielefeld.DE ---
> --- Comment #10 from Jakub Jelinek ---
> Or convince Oracle to change it (again, an ABI break).
I can try, but don't hold your breath.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE ---
> --- Comment #9 from Jonathan Wakely ---
> It's technically an ABI break, since void f(int8_t) would mangle differently.
> It probably wouldn't affect much in practice, but would stil
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #11 from ro at CeBiTec dot Uni-Bielefeld.DE ---
> --- Comment #7 from Jonathan Wakely ---
> (In reply to Jonathan Wakely from comment #1)
>> I assume that int8_t is char on Solaris, rather than signed char?
>
> This actually violate
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #10 from Jakub Jelinek ---
Or convince Oracle to change it (again, an ABI break).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #9 from Jonathan Wakely ---
It's technically an ABI break, since void f(int8_t) would mangle differently.
It probably wouldn't affect much in practice, but would still be a break.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #7 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #1)
> I assume that int8_t is char on Solaris, rather than signed char?
This actually violates the C and C++ standards, which require that intN_t is a
signed inte
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE ---
> --- Comment #4 from Jonathan Wakely ---
> I pushed a slightly different change, but it should be equivalent. Please
> reopen if I messed it up :-)
The variant worked just fine. Than
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #5 from GCC Commits ---
The releases/gcc-13 branch has been updated by Jonathan Wakely
:
https://gcc.gnu.org/g:5240df78a07303a37b1f0b83165624d2a648089e
commit r13-8238-g5240df78a07303a37b1f0b83165624d2a648089e
Author: Jonathan Wake
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #3 from GCC Commits ---
The master branch has been updated by Jonathan Wakely :
https://gcc.gnu.org/g:db42a0a98916340af8c08e6a7d328121b958
commit r14-8224-gdb42a0a98916340af8c08e6a7d328121b958
Author: Jonathan Wakely
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE ---
> --- Comment #1 from Jonathan Wakely ---
> I assume that int8_t is char on Solaris, rather than signed char?
Indeed. AFAIK char being signed goes back to SysVr4 at least (and has
bit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450
Jonathan Wakely changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
19 matches
Mail list logo