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 c/49467] Enhancement: Intrinsic to read CARRY and OVERFLOW flags (where applicable)


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 ***


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