public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/42181]  New: -fgraphite-identity miscompiles or ICEs on air.f90
Date: Thu, 26 Nov 2009 02:53:00 -0000	[thread overview]
Message-ID: <bug-42181-11113@http.gcc.gnu.org/bugzilla/> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3738 bytes --]

The Polyhedron 2005 benchmark air.f90 is miscompiled at -O2 -fgraphite-identity
such that it produces incorrect results...

         AIRFLOW IN A BOX
            Version 2.0  
   (c) Hanley Innovations  1995 
  1.00000000000000002E-002  0.29999999999999999        10.000000000000000      
0.10000000000000001                0
   272.76999999999998        272.76999999999998        272.76999999999998      
 272.76999999999998        0.0000000000000000     
          11          12
  X-DATA
           1   0.0000000000000000       0.10000000000000001                4
           2  5.00000000000000028E-002  0.22000000000000000                4
           3  0.10000000000000001       0.29999999999999999                4
           4  0.20000000000000001       0.40000000000000002                4
           5  0.29999999999999999       0.50000000000000000                4
           6  0.40000000000000002       0.59999999999999998                4
           7  0.50000000000000000       0.69999999999999996                4
           8  0.59999999999999998       0.80000000000000004                4
           9  0.69999999999999996       0.90000000000000002                4
          10  0.80000000000000004       0.96999999999999997                4
          11  0.90000000000000002        1.0000000000000000                4
  Y-DATA
   0.0000000000000000       0.10000000000000001                4
  4.00000000000000008E-002  0.14999999999999999                4
  8.00000000000000017E-002  0.20000000000000001                4
  0.14999999999999999       0.29999999999999999                4
  0.20000000000000001       0.40000000000000002                4
  0.29999999999999999       0.50000000000000000                4
  0.40000000000000002       0.59999999999999998                4
  0.50000000000000000       0.69999999999999996                4
  0.59999999999999998       0.80000000000000004                4
  0.69999999999999996       0.89000000000000001                4
  0.80000000000000004       0.94999999999999996                4
  0.94999999999999996        1.0000000000000000                4
  ITERATION#  TIME             FINAL          MASS RESIDUAL
        3  100.000005723761   0.01000000         NaN
 deltat, final t, iterations
   100.00000000000000        100.00000572376112                3
           3                       NaN

When compiling air.f90  with -O1 -fgraphite-identity, the gfortran compiler
ICEs...

air.f90: In function ‘state_’:
air.f90:1034:0: internal compiler error: in scan_tree_for_params, at
graphite-sese-to-poly.c:853

Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin10.2.0/4.5.0/lto-wrapper
Target: x86_64-apple-darwin10.2.0
Configured with: ../gcc-4.5-20091125/configure --prefix=/sw
--prefix=/sw/lib/gcc4.5 --mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--disable-libjava-multilib
Thread model: posix
gcc version 4.5.0 20091125 (experimental) (GCC)


-- 
           Summary: -fgraphite-identity miscompiles or ICEs on air.f90
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: x86_64-apple-darwin10
  GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10


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


             reply	other threads:[~2009-11-26  2:53 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-26  2:53 howarth at nitro dot med dot uc dot edu [this message]
2009-11-26 17:03 ` [Bug middle-end/42181] " jv244 at cam dot ac dot uk
2009-11-26 17:04 ` jv244 at cam dot ac dot uk
2009-11-26 17:05 ` [Bug middle-end/42181] [4.5 Regression] " jv244 at cam dot ac dot uk
2009-11-27 11:32 ` rguenth at gcc dot gnu dot org
2009-12-14 19:03 ` spop at gcc dot gnu dot org
2009-12-14 19:03 ` spop at gcc dot gnu dot org
2009-12-23  7:50 ` spop at gcc dot gnu dot org
2009-12-24  0:14 ` howarth at nitro dot med dot uc dot edu
2009-12-24  0:15 ` howarth at nitro dot med dot uc dot edu
2009-12-24  0:18 ` howarth at nitro dot med dot uc dot edu
2009-12-24  0:20 ` howarth at nitro dot med dot uc dot edu
2009-12-24  8:13 ` dominiq at lps dot ens dot fr
2010-01-14 16:57 ` trifunovic at gcc dot gnu dot org
2010-01-14 19:25 ` spop at gcc dot gnu dot org
2010-02-06 17:44 ` [Bug middle-end/42181] [4.5 Regression][graphite] " spop at gcc dot gnu dot org
2010-03-08 23:09 ` [Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90 howarth at nitro dot med dot uc dot edu
2010-03-08 23:16 ` spop at gcc dot gnu dot org
2010-03-09  2:26 ` howarth at nitro dot med dot uc dot edu
2010-03-09  2:34 ` howarth at nitro dot med dot uc dot edu
2010-03-09  2:35 ` howarth at nitro dot med dot uc dot edu
2010-03-09  2:37 ` howarth at nitro dot med dot uc dot edu
2010-03-09  3:45 ` howarth at nitro dot med dot uc dot edu
2010-03-09  3:49 ` howarth at nitro dot med dot uc dot edu
2010-03-09 13:32 ` dominiq at lps dot ens dot fr
2010-03-09 22:31 ` spop at gcc dot gnu dot org
2010-03-14 11:40 ` dominiq at lps dot ens dot fr
2010-03-20 10:45 ` dominiq at lps dot ens dot fr
2010-03-21 16:28   ` Sebastian Pop
2010-03-21 16:28 ` sebpop at gmail dot com
2010-03-23 20:08 ` spop at gcc dot gnu dot org
2010-03-23 21:24 ` spop at gcc dot gnu dot org
2010-03-23 21:28 ` spop at gcc dot gnu dot org
2010-03-24 20:18 ` spop at gcc dot gnu dot org
2010-03-24 21:35 ` howarth at nitro dot med dot uc dot edu
2010-03-25 17:43   ` Sebastian Pop
2010-03-26  9:58     ` Richard Guenther
2010-03-25 17:44 ` sebpop at gmail dot com
2010-03-26  9:58 ` rguenther at suse dot de

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=bug-42181-11113@http.gcc.gnu.org/bugzilla/ \
    --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: link
Be 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).