[Bug c/49467] Enhancement: Intrinsic to read CARRY and OVERFLOW flags (where applicable)
jsm28 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 20 09:47:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49467
Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2011-06-20 09:46:59 UTC ---
The proposed interface, with its references to global flags set by operations
that otherwise have values but no side effects, is not a good match to the
nature of C as a high-level language; the source code arithmetic operations
should not be presumed to have any particular correspondence to machine
instructions that might set flags. Instead, I proposed a more appropriate
interface for operations with explicit overflow behavior in bug 48580.
*** This bug has been marked as a duplicate of bug 48580 ***
More information about the Gcc-bugs
mailing list