public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/42285]  New: ICE in Graphite's scan_tree_for_params for 416.gamess
@ 2009-12-04 20:43 janis at gcc dot gnu dot org
  2009-12-04 21:41 ` [Bug tree-optimization/42285] " dominiq at lps dot ens dot fr
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-12-04 20:43 UTC (permalink / raw)
  To: gcc-bugs

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

GCC trunk gets an internal compiler error when building SPEC CPU2006 test
416.gamess with "-O2 -floop-interchange" on powerpc-linux, as demonstrated by
this minimized testcase:

      SUBROUTINE EFGRDM(NCF,NFRG,G,RTRMS,GM,IOPT,K1)
      IMPLICIT DOUBLE PRECISION (A-H,O-Z)
      DIMENSION G(*),RTRMS(*),GM(*)

      DUM = 0
      DO I=1,NFRG
         DO J=1,3
            IF (IOPT.EQ.0) THEN
               GM(K1)=G(K1)
            END IF
         END DO
         DO J=1,3
            JDX=NCF*9+IOPT*9*NFRG
            DO M=1,3
               DUM=DUM+RTRMS(JDX+M)
            END DO
            GM(K1)=DUM
         END DO
      END DO
      RETURN
      END

elm3b187% /opt/gcc-nightly/trunk/bin/gfortran -c -O2 -floop-interchange bug.f
bug.f: In function ‘efgrdm’:
bug.f:1:0: internal compiler error: in scan_tree_for_params, at
graphite-sese-to-poly.c:815
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

A Graphite-enabled trunk build is broken during the 19-hour range from r150250
to 150300.  The test passes with the build just before that range and fails
with r150301, the first revision that builds after a merge from the Graphite
branch.


-- 
           Summary: ICE in Graphite's scan_tree_for_params for 416.gamess
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: powerpc-linux


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


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

* [Bug tree-optimization/42285] ICE in Graphite's scan_tree_for_params for 416.gamess
  2009-12-04 20:43 [Bug tree-optimization/42285] New: ICE in Graphite's scan_tree_for_params for 416.gamess janis at gcc dot gnu dot org
@ 2009-12-04 21:41 ` dominiq at lps dot ens dot fr
  2009-12-05  2:31 ` spop at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-12-04 21:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dominiq at lps dot ens dot fr  2009-12-04 21:41 -------
Confirmed on x86_64-apple-darwin10.


-- 


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


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

* [Bug tree-optimization/42285] ICE in Graphite's scan_tree_for_params for 416.gamess
  2009-12-04 20:43 [Bug tree-optimization/42285] New: ICE in Graphite's scan_tree_for_params for 416.gamess janis at gcc dot gnu dot org
  2009-12-04 21:41 ` [Bug tree-optimization/42285] " dominiq at lps dot ens dot fr
@ 2009-12-05  2:31 ` spop at gcc dot gnu dot org
  2009-12-09  4:55 ` spop at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-05  2:31 UTC (permalink / raw)
  To: gcc-bugs



-- 

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-12-05 02:31:07
               date|                            |


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


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

* [Bug tree-optimization/42285] ICE in Graphite's scan_tree_for_params for 416.gamess
  2009-12-04 20:43 [Bug tree-optimization/42285] New: ICE in Graphite's scan_tree_for_params for 416.gamess janis at gcc dot gnu dot org
  2009-12-04 21:41 ` [Bug tree-optimization/42285] " dominiq at lps dot ens dot fr
  2009-12-05  2:31 ` spop at gcc dot gnu dot org
@ 2009-12-09  4:55 ` spop at gcc dot gnu dot org
  2009-12-09  4:56 ` spop at gcc dot gnu dot org
  2009-12-09 15:18 ` spop at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-09  4:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from spop at gcc dot gnu dot org  2009-12-09 04:55 -------
Subject: Bug 42285

Author: spop
Date: Wed Dec  9 04:54:54 2009
New Revision: 155100

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155100
Log:
Fix PR42285.

2009-12-08  Sebastian Pop  <sebpop@gmail.com>

        PR middle-end/42285
        * graphite-scop-detection.c (graphite_can_represent_init): Also
        handle more complex MULT_EXPRs containing parameters by recursion
        on the structure.

        * testsuite/gfortran.dg/graphite/pr42285.f90: New.

Added:
    branches/graphite/gcc/testsuite/gfortran.dg/graphite/pr42285.f90
Modified:
    branches/graphite/gcc/ChangeLog.graphite
    branches/graphite/gcc/graphite-scop-detection.c


-- 


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


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

* [Bug tree-optimization/42285] ICE in Graphite's scan_tree_for_params for 416.gamess
  2009-12-04 20:43 [Bug tree-optimization/42285] New: ICE in Graphite's scan_tree_for_params for 416.gamess janis at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-12-09  4:55 ` spop at gcc dot gnu dot org
@ 2009-12-09  4:56 ` spop at gcc dot gnu dot org
  2009-12-09 15:18 ` spop at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-09  4:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from spop at gcc dot gnu dot org  2009-12-09 04:56 -------
Fixed in the Graphite branch, I will commit this to trunk once it passes
regtest on the branch.

Sebastian


-- 

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=42285


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

* [Bug tree-optimization/42285] ICE in Graphite's scan_tree_for_params for 416.gamess
  2009-12-04 20:43 [Bug tree-optimization/42285] New: ICE in Graphite's scan_tree_for_params for 416.gamess janis at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-12-09  4:56 ` spop at gcc dot gnu dot org
@ 2009-12-09 15:18 ` spop at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-09 15:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2009-12-09 15:18 -------
Subject: Bug 42285

Author: spop
Date: Wed Dec  9 15:18:22 2009
New Revision: 155108

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155108
Log:
Fix PR42285.

2009-12-08  Sebastian Pop  <sebpop@gmail.com>

        PR middle-end/42285
        * graphite-scop-detection.c (graphite_can_represent_init): Also
        handle more complex MULT_EXPRs containing parameters by recursion
        on the structure.

        * testsuite/gfortran.dg/graphite/pr42285.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/graphite/pr42285.f90
Modified:
    trunk/gcc/ChangeLog.graphite
    trunk/gcc/graphite-scop-detection.c


-- 


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


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

end of thread, other threads:[~2009-12-09 15:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-04 20:43 [Bug tree-optimization/42285] New: ICE in Graphite's scan_tree_for_params for 416.gamess janis at gcc dot gnu dot org
2009-12-04 21:41 ` [Bug tree-optimization/42285] " dominiq at lps dot ens dot fr
2009-12-05  2:31 ` spop at gcc dot gnu dot org
2009-12-09  4:55 ` spop at gcc dot gnu dot org
2009-12-09  4:56 ` spop at gcc dot gnu dot org
2009-12-09 15:18 ` 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).