This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Apr 2010 12:25:11 -0000
- Subject: [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
- References: <bug-43793-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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