[Bug jit/71334] New: gccjit's sized integers have different underlying types than stdint.h
b.r.longbons at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun May 29 22:24:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71334
Bug ID: 71334
Summary: gccjit's sized integers have different underlying
types than stdint.h
Product: gcc
Version: 6.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: jit
Assignee: dmalcolm at gcc dot gnu.org
Reporter: b.r.longbons at gmail dot com
Target Milestone: ---
Created attachment 38594
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38594&action=edit
Utility to print underlying types of GCC vs GCCJIT
When constructed from size + signedness, gccjit should return the same
underlying types as <stdint.h> uses, but doesn't.
Additionally, it appears to return some completely distinct type for size_t,
rather than following the typedef.
Actual output of the attached tool:
underlying size_t: gcc long unsigned int, gccjit unknown
underlying uint32_t: gcc unsigned int, gccjit unsigned int
underlying uint64_t: gcc long unsigned int, gccjit long long unsigned int
More information about the Gcc-bugs
mailing list