This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49467] Enhancement: Intrinsic to read CARRY and OVERFLOW flags (where applicable)
- From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Jun 2011 09:47:01 +0000
- Subject: [Bug c/49467] Enhancement: Intrinsic to read CARRY and OVERFLOW flags (where applicable)
- Auto-submitted: auto-generated
- References: <bug-49467-4@http.gcc.gnu.org/bugzilla/>
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 ***