public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/59708] New: clang-compatible checked arithmetic builtins
@ 2014-01-07  6:14 josh at joshtriplett dot org
  2014-01-07 11:21 ` [Bug c/59708] " rguenth at gcc dot gnu.org
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: josh at joshtriplett dot org @ 2014-01-07  6:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59708
           Summary: clang-compatible checked arithmetic builtins
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: josh at joshtriplett dot org

It would be nice to have a set of builtins for arithmetic operations that check
for overflow, ideally compatible with those available in clang; see
http://clang.llvm.org/docs/LanguageExtensions.html#checked-arithmetic-builtins
for details.

Such builtins could take advantage of native instructions that set overflow
flags, for instance.


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

end of thread, other threads:[~2015-01-05 17:05 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-07  6:14 [Bug c/59708] New: clang-compatible checked arithmetic builtins josh at joshtriplett dot org
2014-01-07 11:21 ` [Bug c/59708] " rguenth at gcc dot gnu.org
2014-01-07 11:38 ` jakub at gcc dot gnu.org
2014-01-07 11:52 ` rguenth at gcc dot gnu.org
2014-01-07 12:33 ` josh at joshtriplett dot org
2014-01-07 17:15 ` joseph at codesourcery dot com
2014-01-07 20:16 ` josh at joshtriplett dot org
2014-08-24  7:05 ` Martin.vGagern at gmx dot net
2014-08-24  7:47 ` Martin.vGagern at gmx dot net
2014-08-24 18:40 ` manu at gcc dot gnu.org
2014-10-31 17:36 ` jakub at gcc dot gnu.org
2014-11-05 11:59 ` jakub at gcc dot gnu.org
2014-11-06 17:34 ` jakub at gcc dot gnu.org
2014-11-22  1:29 ` danglin at gcc dot gnu.org
2014-11-22  7:31 ` jakub at gcc dot gnu.org
2014-11-22 13:24 ` dave.anglin at bell dot net
2014-11-24 14:23 ` mpolacek at gcc dot gnu.org
2014-11-24 14:26 ` trippels at gcc dot gnu.org
2014-12-02 23:27 ` schwab@linux-m68k.org
2014-12-03 10:19 ` jakub at gcc dot gnu.org
2014-12-03 20:35 ` jakub at gcc dot gnu.org
2014-12-03 20:39 ` jakub at gcc dot gnu.org
2014-12-03 20:40 ` jakub at gcc dot gnu.org
2014-12-17 22:52 ` pthaugen at gcc dot gnu.org
2015-01-05 17:05 ` pthaugen at gcc dot gnu.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).