This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/31965] New: _INTEGRAL_MAX_BITS defined incorrectly


The macro _INTEGRAL_MAX_BITS is a defined as a builtin macro with an incorrect
value on mingw32.  This Microsoft C specific macro is supposed to report "the
maximum size (in bits) for an integral type".  In GCC's case this would be 64,
the size of a long long, not 32 as it currently defines the macro.

(Perhaps the real problem is that this macro is defined at all.  It's specific
to the Microsoft C/C++ compiler and not part of the Windows API.)


-- 
           Summary: _INTEGRAL_MAX_BITS defined incorrectly
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rridge at csclub dot uwaterloo dot ca
 GCC build triplet: i386-pc-mingw32
  GCC host triplet: i386-pc-mingw32
GCC target triplet: i386-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31965


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]