public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/58484] [4.9 Regression] ICE in chrec_fold_plus_1, at tree-chrec.c:272 building 416.gamess
  2013-09-20 12:07 [Bug middle-end/58484] New: [4.9 Regression] ICE in chrec_fold_plus_1, at tree-chrec.c:272 building 416.gamess rguenth at gcc dot gnu.org
@ 2013-09-20 12:07 ` rguenth at gcc dot gnu.org
  2013-09-20 12:16 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-20 12:07 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2013-09-20
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Target Milestone|---                         |4.9.0
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Reducing a testcase.


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

* [Bug middle-end/58484] New: [4.9 Regression] ICE in chrec_fold_plus_1, at tree-chrec.c:272 building 416.gamess
@ 2013-09-20 12:07 rguenth at gcc dot gnu.org
  2013-09-20 12:07 ` [Bug middle-end/58484] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-20 12:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58484
           Summary: [4.9 Regression] ICE in chrec_fold_plus_1, at
                    tree-chrec.c:272 building 416.gamess
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
            Blocks: 58417

> ./f951 -quiet mp2.fppized.f -O2
mp2.fppized.f: In function 'umpse':
mp2.fppized.f:2889:0: internal compiler error: in chrec_fold_plus_1, at
tree-chrec.c:272
       SUBROUTINE UMPSE(EA,AIBJ,NOC,NDIM,NOCA,NVIRA,NOCCA,IOCA,E2)
 ^
0x12b7434 chrec_fold_plus_1
        /space/rguenther/src/svn/trunk/gcc/tree-chrec.c:271
0x12b7cea chrec_fold_plus(tree_node*, tree_node*, tree_node*)
        /space/rguenther/src/svn/trunk/gcc/tree-chrec.c:373
0xcebd7b instantiate_scev_binary
        /space/rguenther/src/svn/trunk/gcc/tree-scalar-evolution.c:2347

from a quick look instantiate_scev_r for some reason doesn't do its work
properly.


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

* [Bug middle-end/58484] [4.9 Regression] ICE in chrec_fold_plus_1, at tree-chrec.c:272 building 416.gamess
  2013-09-20 12:07 [Bug middle-end/58484] New: [4.9 Regression] ICE in chrec_fold_plus_1, at tree-chrec.c:272 building 416.gamess rguenth at gcc dot gnu.org
  2013-09-20 12:07 ` [Bug middle-end/58484] " rguenth at gcc dot gnu.org
@ 2013-09-20 12:16 ` rguenth at gcc dot gnu.org
  2013-09-20 17:49 ` rguenth at gcc dot gnu.org
  2013-09-20 17:50 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-20 12:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
      SUBROUTINE UMPSE(AIBJ,NOC,NDIM,NOCA,NVIRA,NOCCA,E2)
      DIMENSION AIBJ(NOC,NDIM,*)
      DO 20 MA=1,NVIRA
      DO 20 MI=1,NOCA
         DO 10 MB=1,MA
         MBI = MI+NOCA*(MB-1)
         DO 10 MJ=1,NOCCA
            DUM = AIBJ(MJ,MAI,MB)-AIBJ(MJ,MBI,MA)
            E2A = E2A-DUM
   10    CONTINUE
   20 CONTINUE
      E2  = E2+E2A
      END


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

* [Bug middle-end/58484] [4.9 Regression] ICE in chrec_fold_plus_1, at tree-chrec.c:272 building 416.gamess
  2013-09-20 12:07 [Bug middle-end/58484] New: [4.9 Regression] ICE in chrec_fold_plus_1, at tree-chrec.c:272 building 416.gamess rguenth at gcc dot gnu.org
  2013-09-20 12:07 ` [Bug middle-end/58484] " rguenth at gcc dot gnu.org
  2013-09-20 12:16 ` rguenth at gcc dot gnu.org
@ 2013-09-20 17:49 ` rguenth at gcc dot gnu.org
  2013-09-20 17:50 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-20 17:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Sep 20 17:49:45 2013
New Revision: 202790

URL: http://gcc.gnu.org/viewcvs?rev=202790&root=gcc&view=rev
Log:
2013-09-20  Richard Biener  <rguenther@suse.de>

    PR middle-end/58484
    * tree-scalar-evolution.c (struct scev_info_str): Shrink by
    remembering SSA name version and block index.
    (new_scev_info_str): Adjust.
    (hash_scev_info): Likewise.  Also hash the block index.
    (eq_scev_info): Adjust.
    (find_var_scev_info): Likewise.
    (struct instantiate_cache_entry): Remove.
    (struct instantiate_cache_type): Use a htab to map name, block
    to chrec.
    (instantiate_cache_type::~instantiate_cache_type): Adjust.
    (get_instantiated_value_entry): Likewise.
    (hash_idx_scev_info, eq_idx_scev_info): New functions.
    (instantiate_scev_name): Adjust.

    * gfortran.dg/pr58484.f: New testcase.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr58484.f
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-scalar-evolution.c


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

* [Bug middle-end/58484] [4.9 Regression] ICE in chrec_fold_plus_1, at tree-chrec.c:272 building 416.gamess
  2013-09-20 12:07 [Bug middle-end/58484] New: [4.9 Regression] ICE in chrec_fold_plus_1, at tree-chrec.c:272 building 416.gamess rguenth at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2013-09-20 17:49 ` rguenth at gcc dot gnu.org
@ 2013-09-20 17:50 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-20 17:50 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2013-09-20 17:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-20 12:07 [Bug middle-end/58484] New: [4.9 Regression] ICE in chrec_fold_plus_1, at tree-chrec.c:272 building 416.gamess rguenth at gcc dot gnu.org
2013-09-20 12:07 ` [Bug middle-end/58484] " rguenth at gcc dot gnu.org
2013-09-20 12:16 ` rguenth at gcc dot gnu.org
2013-09-20 17:49 ` rguenth at gcc dot gnu.org
2013-09-20 17:50 ` rguenth at gcc dot gnu.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).