public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug jit/112910] New: Getting the size of the type size_t returns the wrong value on some platforms
@ 2023-12-07 22:18 bouanto at zoho dot com
2023-12-07 22:19 ` [Bug jit/112910] " bouanto at zoho dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bouanto at zoho dot com @ 2023-12-07 22:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112910
Bug ID: 112910
Summary: Getting the size of the type size_t returns the wrong
value on some platforms
Product: gcc
Version: 13.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: jit
Assignee: dmalcolm at gcc dot gnu.org
Reporter: bouanto at zoho dot com
Target Milestone: ---
It seems that MAX_BITS_PER_WORD is not the same as the size of size_t on some
platforms.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug jit/112910] Getting the size of the type size_t returns the wrong value on some platforms
2023-12-07 22:18 [Bug jit/112910] New: Getting the size of the type size_t returns the wrong value on some platforms bouanto at zoho dot com
@ 2023-12-07 22:19 ` bouanto at zoho dot com
2023-12-08 6:58 ` rguenth at gcc dot gnu.org
2023-12-08 13:24 ` bouanto at zoho dot com
2 siblings, 0 replies; 4+ messages in thread
From: bouanto at zoho dot com @ 2023-12-07 22:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112910
--- Comment #1 from Antoni <bouanto at zoho dot com> ---
Created attachment 56831
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56831&action=edit
Patch fixing this bug
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug jit/112910] Getting the size of the type size_t returns the wrong value on some platforms
2023-12-07 22:18 [Bug jit/112910] New: Getting the size of the type size_t returns the wrong value on some platforms bouanto at zoho dot com
2023-12-07 22:19 ` [Bug jit/112910] " bouanto at zoho dot com
@ 2023-12-08 6:58 ` rguenth at gcc dot gnu.org
2023-12-08 13:24 ` bouanto at zoho dot com
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-12-08 6:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112910
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
There's also size_type_node
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug jit/112910] Getting the size of the type size_t returns the wrong value on some platforms
2023-12-07 22:18 [Bug jit/112910] New: Getting the size of the type size_t returns the wrong value on some platforms bouanto at zoho dot com
2023-12-07 22:19 ` [Bug jit/112910] " bouanto at zoho dot com
2023-12-08 6:58 ` rguenth at gcc dot gnu.org
@ 2023-12-08 13:24 ` bouanto at zoho dot com
2 siblings, 0 replies; 4+ messages in thread
From: bouanto at zoho dot com @ 2023-12-08 13:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112910
--- Comment #3 from Antoni <bouanto at zoho dot com> ---
Yes, but it isn't available in recording.
Perhaps I could use it with another solution that is in the work, though.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-12-08 13:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-07 22:18 [Bug jit/112910] New: Getting the size of the type size_t returns the wrong value on some platforms bouanto at zoho dot com
2023-12-07 22:19 ` [Bug jit/112910] " bouanto at zoho dot com
2023-12-08 6:58 ` rguenth at gcc dot gnu.org
2023-12-08 13:24 ` bouanto at zoho dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).