https://llvm.org/bugs/show_bug.cgi?id=25852
Richard Smith <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from Richard Smith <[email protected]> --- No, that's a GCC bug. Bit width is not part of the type, in C or C++, so the calculation is performed in the full range of an unsigned long long. The "33 bit integer" type that GCC has comes from them implementing a pre-standard resolution to a C DR on bitfields. IIRC modern versions of GCC have removed that nonstandard behavior. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list [email protected] http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
