public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/40980]  New: air.f90 ICEs compiler with -fgraphite-identity
@ 2009-08-06  0:23 howarth at nitro dot med dot uc dot edu
  2009-08-06  0:27 ` [Bug middle-end/40980] " spop at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-08-06  0:23 UTC (permalink / raw)
  To: gcc-bugs

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

When the Polyhedron 2005 benchmark air.f90 is compiled with
-fgraphite-identity, the compiler ICEs with the error...

gfortran -O2 -fgraphite-identity air.f90 -o air
air.f90: In function ‘spectop’:
air.f90:1064:0: error: Incompatible types in PHI argument 0
character(kind=4)

integer(kind=4)

ivtmp.1799_745 = PHI <var.1825_744(157), D.2584_20(158)>

air.f90:1064:0: internal compiler error: verify_stmts failed

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


-- 
           Summary: air.f90 ICEs compiler with -fgraphite-identity
           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=40980


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

* [Bug middle-end/40980] air.f90 ICEs compiler with -fgraphite-identity
  2009-08-06  0:23 [Bug middle-end/40980] New: air.f90 ICEs compiler with -fgraphite-identity howarth at nitro dot med dot uc dot edu
@ 2009-08-06  0:27 ` spop at gcc dot gnu dot org
  2009-08-06  1:28 ` howarth at nitro dot med dot uc dot edu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-08-06  0:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from spop at gcc dot gnu dot org  2009-08-06 00:26 -------
This makes me think that Tobias' regtester does not test the polyhedron
benchmarks in the extra tests, or it does not report anymore the failures.

I will investigate this issue.


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |spop at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-08-06 00:26:51
               date|                            |


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


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

* [Bug middle-end/40980] air.f90 ICEs compiler with -fgraphite-identity
  2009-08-06  0:23 [Bug middle-end/40980] New: air.f90 ICEs compiler with -fgraphite-identity howarth at nitro dot med dot uc dot edu
  2009-08-06  0:27 ` [Bug middle-end/40980] " spop at gcc dot gnu dot org
@ 2009-08-06  1:28 ` howarth at nitro dot med dot uc dot edu
  2009-08-12  3:30 ` spop at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-08-06  1:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from howarth at nitro dot med dot uc dot edu  2009-08-06 01:28 -------
Interestingly...

gfortran -O2 -fgraphite-identity -floop-interchange air.f90 -o air

compiles the air benchmark without errors but the resulting code produces...

         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
       14  100.000043187820   0.01000000         NaN
 deltat, final t, iterations
   100.00000000000000        100.00004318782042               14
          14                       NaN


-- 


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


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

* [Bug middle-end/40980] air.f90 ICEs compiler with -fgraphite-identity
  2009-08-06  0:23 [Bug middle-end/40980] New: air.f90 ICEs compiler with -fgraphite-identity howarth at nitro dot med dot uc dot edu
  2009-08-06  0:27 ` [Bug middle-end/40980] " spop at gcc dot gnu dot org
  2009-08-06  1:28 ` howarth at nitro dot med dot uc dot edu
@ 2009-08-12  3:30 ` spop at gcc dot gnu dot org
  2009-08-12 14:33 ` spop at gcc dot gnu dot org
  2009-08-12 14:41 ` spop at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-08-12  3:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from spop at gcc dot gnu dot org  2009-08-12 03:29 -------
Subject: Bug 40980

Author: spop
Date: Wed Aug 12 03:29:35 2009
New Revision: 150674

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150674
Log:
Prepare expressions to be good phi arguments.

2009-08-11  Sebastian Pop  <sebastian.pop@amd.com>

        PR middle-end/40980
        * sese.c (convert_for_phi_arg): New.
        (add_guard_exit_phis): Use convert_for_phi_arg.

        * testsuite/gfortran.dg/graphite/id-17.f: New.

Added:
    branches/graphite/gcc/testsuite/gfortran.dg/graphite/id-17.f
Modified:
    branches/graphite/gcc/ChangeLog.graphite
    branches/graphite/gcc/sese.c


-- 


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


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

* [Bug middle-end/40980] air.f90 ICEs compiler with -fgraphite-identity
  2009-08-06  0:23 [Bug middle-end/40980] New: air.f90 ICEs compiler with -fgraphite-identity howarth at nitro dot med dot uc dot edu
                   ` (2 preceding siblings ...)
  2009-08-12  3:30 ` spop at gcc dot gnu dot org
@ 2009-08-12 14:33 ` spop at gcc dot gnu dot org
  2009-08-12 14:41 ` spop at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-08-12 14:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2009-08-12 14:33 -------
Subject: Bug 40980

Author: spop
Date: Wed Aug 12 14:32:31 2009
New Revision: 150694

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150694
Log:
Prepare expressions to be good phi arguments.

2009-08-11  Sebastian Pop  <sebastian.pop@amd.com>

        PR middle-end/40980
        * sese.c (convert_for_phi_arg): New.
        (add_guard_exit_phis): Use convert_for_phi_arg.

        * testsuite/gfortran.dg/graphite/id-17.f: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/graphite/id-17.f
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ChangeLog.graphite
    trunk/gcc/sese.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug middle-end/40980] air.f90 ICEs compiler with -fgraphite-identity
  2009-08-06  0:23 [Bug middle-end/40980] New: air.f90 ICEs compiler with -fgraphite-identity howarth at nitro dot med dot uc dot edu
                   ` (3 preceding siblings ...)
  2009-08-12 14:33 ` spop at gcc dot gnu dot org
@ 2009-08-12 14:41 ` spop at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-08-12 14:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from spop at gcc dot gnu dot org  2009-08-12 14:41 -------
Fixed.


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-08-12 14:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-06  0:23 [Bug middle-end/40980] New: air.f90 ICEs compiler with -fgraphite-identity howarth at nitro dot med dot uc dot edu
2009-08-06  0:27 ` [Bug middle-end/40980] " spop at gcc dot gnu dot org
2009-08-06  1:28 ` howarth at nitro dot med dot uc dot edu
2009-08-12  3:30 ` spop at gcc dot gnu dot org
2009-08-12 14:33 ` spop at gcc dot gnu dot org
2009-08-12 14:41 ` spop at gcc dot gnu dot 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).