public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18744] New: C++ ABI is incomplete for ILP64
@ 2004-11-30 20:38 markus at oberhumer dot com
  2004-11-30 20:40 ` [Bug c++/18744] " markus at oberhumer dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: markus at oberhumer dot com @ 2004-11-30 20:38 UTC (permalink / raw)
  To: gcc-bugs

The C++ ABI is missing fallbacks for exact 16- and 32-bit types when
using programming models like ILP64 (e.g. MIPS -mint64 option below):


/opt/cross/mips-linux-uclibc-gcc341/bin/mips-linux-uclibc-g++ -c -mint64 bug01.cpp
bug01.cpp:19: internal compiler error: in write_builtin_type, at cp/mangle.c:1686
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


typedef int int16_exact_t __attribute__((__mode__(__HI__)));
typedef int int32_exact_t __attribute__((__mode__(__SI__)));

long getbit(int16_exact_t v) { return v & 1; }
long getbit(int32_exact_t v) { return v & 1; }

-- 
           Summary: C++ ABI is incomplete for ILP64
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: markus at oberhumer dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-04-24 17:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-30 20:38 [Bug c++/18744] New: C++ ABI is incomplete for ILP64 markus at oberhumer dot com
2004-11-30 20:40 ` [Bug c++/18744] " markus at oberhumer dot com
2004-11-30 20:42 ` markus at oberhumer dot com
2004-11-30 20:46 ` pinskia at gcc dot gnu dot org
2004-11-30 20:56 ` markus at oberhumer dot com
2004-11-30 20:59 ` pinskia at gcc dot gnu dot org
2004-12-07 22:21 ` echristo at redhat dot com
2005-01-21  2:14 ` markus at oberhumer dot com
2005-04-22  5:13 ` pinskia at gcc dot gnu dot org
2005-04-24 17:38 ` pinskia at gcc dot gnu dot org

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).