public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "acarmeli at mathworks dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/36300] Incorrect type used for inlined expression Date: Tue, 27 May 2008 12:51:00 -0000 [thread overview] Message-ID: <20080527125050.25146.qmail@sourceware.org> (raw) In-Reply-To: <bug-36300-16214@http.gcc.gnu.org/bugzilla/> ------- Comment #8 from acarmeli at mathworks dot com 2008-05-27 12:50 ------- Richard, I truly appreciate your effort on this bug. Can you please elaborate on your plan? Will this be fixed for -fwrapv only, or also for -fwrapv-free compilations? I understand that downcasting an out-of-range value to a signed integer is not defined in the standard. However, many compilers offer an "expected" modulo-2^n behavior. This behavior helps avoid writing extra cumbersome "safe downcast" code. Having GCC offer it for non -fwrapv compilations is an important interoperability and readability feature. Thank you for looking into it. Alex. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36300
next prev parent reply other threads:[~2008-05-27 12:51 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-05-22 14:40 [Bug c/36300] New: " acarmeli at mathworks dot com 2008-05-22 14:44 ` [Bug c/36300] " acarmeli at mathworks dot com 2008-05-22 16:11 ` rguenth at gcc dot gnu dot org 2008-05-22 16:12 ` [Bug middle-end/36300] " rguenth at gcc dot gnu dot org 2008-05-26 9:28 ` rguenth at gcc dot gnu dot org 2008-05-26 10:13 ` rguenth at gcc dot gnu dot org 2008-05-26 12:39 ` rguenth at gcc dot gnu dot org 2008-05-26 12:40 ` rguenth at gcc dot gnu dot org 2008-05-27 12:51 ` acarmeli at mathworks dot com [this message] 2008-05-27 12:53 ` rguenther at suse dot de 2008-05-28 11:22 ` acarmeli at mathworks dot com 2008-05-28 11:31 ` acarmeli at mathworks dot com 2008-05-28 11:49 ` rguenth at gcc dot gnu dot org 2008-05-28 12:12 ` rguenth at gcc dot gnu dot org 2008-05-28 12:26 ` acarmeli at mathworks dot com 2008-05-28 12:58 ` rguenther at suse dot de 2008-05-28 13:46 ` [Bug middle-end/36300] [4.1/4.2/4.3 Regression] " rguenth at gcc dot gnu dot org 2008-05-28 13:47 ` rguenth at gcc dot gnu dot org 2008-05-28 13:48 ` rguenth at gcc dot gnu dot org 2008-05-28 22:11 ` [Bug middle-end/36300] [4.1/4.2 " rguenth at gcc dot gnu dot org 2008-07-04 23:04 ` [Bug middle-end/36300] [4.2 " jsm28 at gcc dot gnu dot org 2009-03-31 15:39 ` jsm28 at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080527125050.25146.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).