[Bug jit/71334] gccjit's sized integers have different underlying types than stdint.h

2016-05-31 Thread b.r.longbons at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71334 --- Comment #3 from Ben Longbons --- What I'm trying to do is: * parse some source code from a new language I'm developing. * Emit that to machine code via some backend (C, GCCJIT, LLVM, firm, etc.) * Also emit a header file so that the library

[Bug jit/71334] gccjit's sized integers have different underlying types than stdint.h

2016-05-31 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71334 --- Comment #2 from David Malcolm --- For reference, I get this output on x86_64-pc-linux-gnu: underlying size_t: gcc long unsigned int, gccjit unknown underlying uint32_t: gcc unsigned int, gccjit unsigned int underlying uint64_t: gcc long

[Bug jit/71334] gccjit's sized integers have different underlying types than stdint.h

2016-05-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71334 --- Comment #1 from Andrew Pinski --- I don't see why this is an issue. for LP64 targets, long unsigned int and long long unsigned int are the same size. For gccjit, just uses the GCC internal definition of compatible. That is long unsigned