This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/53353] Missing error/warning when using __int128_t with incorrect asm register constraints
- From: "svfuerst at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 15 May 2012 01:54:46 +0000
- Subject: [Bug c/53353] Missing error/warning when using __int128_t with incorrect asm register constraints
- Auto-submitted: auto-generated
- References: <bug-53353-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53353
--- Comment #2 from Steven Fuerst <svfuerst at gmail dot com> 2012-05-15 01:54:46 UTC ---
Obviously a __int128_t fits in two registers. The bug is that gcc doesn't
warn/error about code mistakenly trying to fit it into one. Instead, gcc
generates a weird 16-bit operation, causing silent bad code generation.