public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "sayle at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/28473] [4.0/4.1 Regression] with -O, casting result of round(x) to uint64_t produces wrong values for x > INT_MAX Date: Sat, 29 Jul 2006 19:08:00 -0000 [thread overview] Message-ID: <20060729190754.26275.qmail@sourceware.org> (raw) In-Reply-To: <bug-28473-13001@http.gcc.gnu.org/bugzilla/> ------- Comment #10 from sayle at gcc dot gnu dot org 2006-07-29 19:07 ------- Subject: Bug 28473 Author: sayle Date: Sat Jul 29 19:07:40 2006 New Revision: 115812 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115812 Log: PR middle-end/28473 Backport from mainline. * convert.c (convert_to_integer): When transforming (T)foo(x) into bar(x) check that bar's result type can represent all the values of T. * builtins.c (fold_fixed_mathfn): When long and long long are the same size, canonicalize llceil*, llfloor*, llround* and llrint* functions to their lceil*, lfloor*, lround* and lrint* forms. * gcc.dg/fold-convround-1.c: New test case. * gcc.dg/builtins-55.c: New test case. Added: branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/builtins-55.c branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/fold-convround-1.c Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/builtins.c branches/gcc-4_1-branch/gcc/convert.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28473
next prev parent reply other threads:[~2006-07-29 19:08 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-07-24 20:53 [Bug c/28473] New: " maxp at alum dot mit dot edu 2006-07-24 20:54 ` [Bug c/28473] " maxp at alum dot mit dot edu 2006-07-24 22:00 ` [Bug c/28473] New: " Andrew Pinski 2006-07-24 22:01 ` [Bug c/28473] " pinskia at physics dot uc dot edu 2006-07-25 2:12 ` pinskia at gcc dot gnu dot org 2006-07-25 8:46 ` [Bug middle-end/28473] [4.0/4.1/4.2 Regression] " rguenth at gcc dot gnu dot org 2006-07-25 8:58 ` rguenth at gcc dot gnu dot org 2006-07-25 20:03 ` roger at eyesopen dot com 2006-07-25 20:08 ` roger at eyesopen dot com 2006-07-25 23:22 ` sayle at gcc dot gnu dot org 2006-07-26 0:24 ` [Bug middle-end/28473] [4.0/4.1 " pinskia at gcc dot gnu dot org 2006-07-29 19:08 ` sayle at gcc dot gnu dot org [this message] 2006-07-30 13:22 ` [Bug middle-end/28473] [4.0 " sayle at gcc dot gnu dot org 2006-07-30 13:31 ` pinskia 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=20060729190754.26275.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).