public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/54166] New: ICE rank-1 assignment to rank-2 array section
@ 2012-08-03 13:31 koen.poppe at cs dot kuleuven.be
  2012-08-03 14:06 ` [Bug fortran/54166] " mikael at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: koen.poppe at cs dot kuleuven.be @ 2012-08-03 13:31 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 54166
           Summary: ICE rank-1 assignment to rank-2 array section
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: koen.poppe@cs.kuleuven.be


Created attachment 27931
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27931
Reproduces ICE

Assigning a rank-1 array slice to a rank-2 array selection, i.e. A(1,1:N) =
B(N+1:2*N), causes ICE in certain cases (see example).


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

* [Bug fortran/54166] ICE rank-1 assignment to rank-2 array section
  2012-08-03 13:31 [Bug fortran/54166] New: ICE rank-1 assignment to rank-2 array section koen.poppe at cs dot kuleuven.be
@ 2012-08-03 14:06 ` mikael at gcc dot gnu.org
  2012-08-03 16:01 ` mikael at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mikael at gcc dot gnu.org @ 2012-08-03 14:06 UTC (permalink / raw)
  To: gcc-bugs

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

Mikael Morin <mikael at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-08-03
                 CC|                            |mikael at gcc dot gnu.org
         AssignedTo|unassigned at gcc dot       |mikael at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #1 from Mikael Morin <mikael at gcc dot gnu.org> 2012-08-03 14:06:16 UTC ---
I'm the culprit.


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

* [Bug fortran/54166] ICE rank-1 assignment to rank-2 array section
  2012-08-03 13:31 [Bug fortran/54166] New: ICE rank-1 assignment to rank-2 array section koen.poppe at cs dot kuleuven.be
  2012-08-03 14:06 ` [Bug fortran/54166] " mikael at gcc dot gnu.org
@ 2012-08-03 16:01 ` mikael at gcc dot gnu.org
  2012-08-03 16:11 ` mikael at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mikael at gcc dot gnu.org @ 2012-08-03 16:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Mikael Morin <mikael at gcc dot gnu.org> 2012-08-03 16:00:59 UTC ---
Author: mikael
Date: Fri Aug  3 16:00:50 2012
New Revision: 190130

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190130
Log:
fortran/
    PR fortran/54166
    * trans-array.c (set_loop_bounds): Access specinfo using spec_dim.

testsuite/
    PR fortran/54166
    * gfortran.dg/array_5.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/array_5.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug fortran/54166] ICE rank-1 assignment to rank-2 array section
  2012-08-03 13:31 [Bug fortran/54166] New: ICE rank-1 assignment to rank-2 array section koen.poppe at cs dot kuleuven.be
  2012-08-03 14:06 ` [Bug fortran/54166] " mikael at gcc dot gnu.org
  2012-08-03 16:01 ` mikael at gcc dot gnu.org
@ 2012-08-03 16:11 ` mikael at gcc dot gnu.org
  2012-08-04 18:19 ` hjl.tools at gmail dot com
  2012-08-06  6:54 ` koen.poppe at cs dot kuleuven.be
  4 siblings, 0 replies; 6+ messages in thread
From: mikael at gcc dot gnu.org @ 2012-08-03 16:11 UTC (permalink / raw)
  To: gcc-bugs

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

Mikael Morin <mikael at gcc dot gnu.org> changed:

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

--- Comment #3 from Mikael Morin <mikael at gcc dot gnu.org> 2012-08-03 16:10:54 UTC ---
Sorry for the breakage and thanks for the bug with a reduced testcase :-).
Fixed.


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

* [Bug fortran/54166] ICE rank-1 assignment to rank-2 array section
  2012-08-03 13:31 [Bug fortran/54166] New: ICE rank-1 assignment to rank-2 array section koen.poppe at cs dot kuleuven.be
                   ` (2 preceding siblings ...)
  2012-08-03 16:11 ` mikael at gcc dot gnu.org
@ 2012-08-04 18:19 ` hjl.tools at gmail dot com
  2012-08-06  6:54 ` koen.poppe at cs dot kuleuven.be
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2012-08-04 18:19 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2012-08-04 18:18:21 UTC ---
*** Bug 54175 has been marked as a duplicate of this bug. ***


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

* [Bug fortran/54166] ICE rank-1 assignment to rank-2 array section
  2012-08-03 13:31 [Bug fortran/54166] New: ICE rank-1 assignment to rank-2 array section koen.poppe at cs dot kuleuven.be
                   ` (3 preceding siblings ...)
  2012-08-04 18:19 ` hjl.tools at gmail dot com
@ 2012-08-06  6:54 ` koen.poppe at cs dot kuleuven.be
  4 siblings, 0 replies; 6+ messages in thread
From: koen.poppe at cs dot kuleuven.be @ 2012-08-06  6:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from koen.poppe at cs dot kuleuven.be 2012-08-06 06:53:56 UTC ---
You're welcome! Thank you for the quick fix!


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

end of thread, other threads:[~2012-08-06  6:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-03 13:31 [Bug fortran/54166] New: ICE rank-1 assignment to rank-2 array section koen.poppe at cs dot kuleuven.be
2012-08-03 14:06 ` [Bug fortran/54166] " mikael at gcc dot gnu.org
2012-08-03 16:01 ` mikael at gcc dot gnu.org
2012-08-03 16:11 ` mikael at gcc dot gnu.org
2012-08-04 18:19 ` hjl.tools at gmail dot com
2012-08-06  6:54 ` koen.poppe at cs dot kuleuven.be

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).