public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl dot tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/35418] [4.4 Regression]: Revision 132592 miscompiles 172.mgrid Date: Sun, 02 Mar 2008 01:12:00 -0000 [thread overview] Message-ID: <20080302011143.3460.qmail@sourceware.org> (raw) In-Reply-To: <bug-35418-682@http.gcc.gnu.org/bugzilla/> ------- Comment #4 from hjl dot tools at gmail dot com 2008-03-02 01:11 ------- I got Running 172.mgrid ref base o2 default *** Miscompare of mgrid.out, see /export/gnu/import/rrs/spec/2000/spec/benchspec /CFP2000/172.mgrid/run/00000002/mgrid.out.mis Invalid run; unable to continue. If you wish to ignore errors please use '-I' o r ignore_errors Remove -ffast-math fixes the problem. -fbounds-check doesn't make a difference. I'd like to know why --- old/c.f.003t.original 2008-03-01 14:15:12.000000000 -0800 +++ new/c.f.003t.original 2008-03-01 14:14:53.000000000 -0800 @@ -36,39 +36,39 @@ resid (u, v, r, n, a) ubound.0 = (integer(kind=8)) *n; stride.2 = NON_LVALUE_EXPR <ubound.0>; - stride.2 = stride.2 >= 0 ? stride.2 : 0; + stride.2 = MAX_EXPR <stride.2, 0>; ubound.1 = (integer(kind=8)) *n; stride.4 = stride.2 * NON_LVALUE_EXPR <ubound.1>; - stride.4 = stride.4 >= 0 ? stride.4 : 0; + stride.4 = MAX_EXPR <stride.4, 0>; ubound.3 = (integer(kind=8)) *n; size.6 = stride.4 * NON_LVALUE_EXPR <ubound.3>; - size.6 = size.6 >= 0 ? size.6 : 0; + size.6 = MAX_EXPR <size.6, 0>; D.965 = size.6 - 1; D.966 = (bit_size_type) size.6 * 64; D.967 = (<unnamed-unsigned:64>) size.6 * 8; offset.5 = ~NON_LVALUE_EXPR <stride.2> - NON_LVALUE_EXPR <stride.4>; ubound.14 = (integer(kind=8)) *n; stride.16 = NON_LVALUE_EXPR <ubound.14>; - stride.16 = stride.16 >= 0 ? stride.16 : 0; + stride.16 = MAX_EXPR <stride.16, 0>; ubound.15 = (integer(kind=8)) *n; stride.18 = stride.16 * NON_LVALUE_EXPR <ubound.15>; - stride.18 = stride.18 >= 0 ? stride.18 : 0; + stride.18 = MAX_EXPR <stride.18, 0>; ubound.17 = (integer(kind=8)) *n; size.20 = stride.18 * NON_LVALUE_EXPR <ubound.17>; - size.20 = size.20 >= 0 ? size.20 : 0; + size.20 = MAX_EXPR <size.20, 0>; D.962 = size.20 - 1; D.963 = (bit_size_type) size.20 * 64; D.964 = (<unnamed-unsigned:64>) size.20 * 8; offset.19 = ~NON_LVALUE_EXPR <stride.16> - NON_LVALUE_EXPR <stride.18>; ubound.7 = (integer(kind=8)) *n; stride.9 = NON_LVALUE_EXPR <ubound.7>; - stride.9 = stride.9 >= 0 ? stride.9 : 0; + stride.9 = MAX_EXPR <stride.9, 0>; ubound.8 = (integer(kind=8)) *n; stride.11 = stride.9 * NON_LVALUE_EXPR <ubound.8>; - stride.11 = stride.11 >= 0 ? stride.11 : 0; + stride.11 = MAX_EXPR <stride.11, 0>; ubound.10 = (integer(kind=8)) *n; size.13 = stride.11 * NON_LVALUE_EXPR <ubound.10>; - size.13 = size.13 >= 0 ? size.13 : 0; + size.13 = MAX_EXPR <size.13, 0>; D.959 = size.13 - 1; D.960 = (bit_size_type) size.13 * 64; D.961 = (<unnamed-unsigned:64>) size.13 * 8; makes such a big differece. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35418
next prev parent reply other threads:[~2008-03-02 1:12 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-03-01 22:12 [Bug fortran/35418] New: " hjl dot tools at gmail dot com 2008-03-01 22:51 ` [Bug fortran/35418] " hjl dot tools at gmail dot com 2008-03-01 23:00 ` kargl at gcc dot gnu dot org 2008-03-01 23:16 ` tobi at gcc dot gnu dot org 2008-03-02 1:12 ` hjl dot tools at gmail dot com [this message] 2008-03-02 1:33 ` kargl at gcc dot gnu dot org 2008-03-02 10:32 ` rguenth at gcc dot gnu dot org 2008-03-02 11:01 ` rguenth at gcc dot gnu dot org 2008-03-05 21:53 ` fxcoudert at gcc dot gnu dot org 2008-03-06 22:03 ` hjl dot tools at gmail dot com 2008-08-22 15:03 ` rguenth 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=20080302011143.3460.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).