This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/43793] [4.5/4.6 Regression] tree check: expected tree that contains �decl minimal� structure, have �indirect_ref� in gfc_trans_array_bound_check



------- Comment #12 from jv244 at cam dot ac dot uk  2010-04-24 12:25 -------
This was also ported back to 4.5.1, causing a regression there. This is against
the policy of 'open for regression and documentation fixes'. It was also never
approved for the branch only trunk.

2010-04-16  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/30073
        * trans-array.c (gfc_trans_array_bound_check): Eliminate a redundant
        block of code.  Set name to the variable associated with the
descriptor.

Just for completeness, this testcase again emphasizes that this is an ICE on
valid code.

MODULE fft_tools
  IMPLICIT NONE
  INTEGER, PARAMETER :: sp=4, dp=8
  INTEGER, PARAMETER :: lp = dp
CONTAINS
  SUBROUTINE sparse_alltoall ( rs, rq, rcount, rreq, group )
    COMPLEX(KIND=lp), DIMENSION(:, :), &
      POINTER                                :: rs
    COMPLEX(KIND=lp), DIMENSION(:, :), &
      POINTER                                :: rq
    INTEGER, DIMENSION(:) :: rcount,rreq
    INTEGER :: group, pos
    IF ( rcount(pos) /= 0 ) THEN
       rq(1:rcount(pos),pos) = rs(1:rcount(pos),pos)
    END IF
  END SUBROUTINE sparse_alltoall
END MODULE fft_tools


-- 

jv244 at cam dot ac dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenther at suse dot de
           Keywords|ice-on-invalid-code         |ice-on-valid-code
      Known to fail|4.6.0                       |4.5.1 4.6.0
            Summary|[4.6 Regression] tree check:|[4.5/4.6 Regression] tree
                   |expected tree that contains |check: expected tree that
                   |�decl minimal�          |contains �decl minimal�
                   |structure, have             |structure, have
                   |�indirect_ref� in       |�indirect_ref� in
                   |gfc_trans_array_bound_check |gfc_trans_array_bound_check
   Target Milestone|4.6.0                       |4.5.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]