* [Bug fortran/61960] internal compiler error: in gfc_conv_component_ref
2014-07-30 10:00 [Bug fortran/61960] New: internal compiler error: in gfc_conv_component_ref geertjan.bex at uhasselt dot be
@ 2014-08-02 11:31 ` dominiq at lps dot ens.fr
2015-02-22 20:10 ` edlinger at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-08-02 11:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61960
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-08-02
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Reduced test
module data_func_mod
implicit none
integer, parameter :: sp = 4
type :: data_type
real(kind=sp), pointer, dimension(:, :) :: data => null()
integer :: nr_rows = 0, nr_cols = 0
end type data_type
contains
function get_row(this, i) result(row)
implicit none
type(data_type), intent(in) :: this
integer, intent(in) :: i
real(kind=sp), dimension(this%nr_cols) :: row
row = this%data(:, i)
end function get_row
subroutine print_matrix(m)
implicit none
class(data_type), intent(in) :: m
integer :: i
character(len=20) :: fmt_str
write (unit=6, fmt=fmt_str) get_row(m, 1)
end subroutine print_matrix
end module data_func_mod
Before revision r182107 (2011-12-08) compiling the test gave the error
pr61960_red.f90:24.48:
write (unit=6, fmt=fmt_str) get_row(m, 1)
1
Error: Type mismatch in argument 'this' at (1); passed CLASS(data_type) to
TYPE(data_type)
At revision r183001 (2012-01-09) the original and the reduced tests compile up
to revision r183968 (2012-02-03). From revision r184278 (2012-02-15) up to
trunk the compilation gives an ICE in trans-expr.c.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/61960] internal compiler error: in gfc_conv_component_ref
2014-07-30 10:00 [Bug fortran/61960] New: internal compiler error: in gfc_conv_component_ref geertjan.bex at uhasselt dot be
2014-08-02 11:31 ` [Bug fortran/61960] " dominiq at lps dot ens.fr
@ 2015-02-22 20:10 ` edlinger at gcc dot gnu.org
2015-02-27 22:33 ` dominiq at lps dot ens.fr
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: edlinger at gcc dot gnu.org @ 2015-02-22 20:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61960
--- Comment #2 from Bernd Edlinger <edlinger at gcc dot gnu.org> ---
Author: edlinger
Date: Sun Feb 22 19:38:53 2015
New Revision: 220899
URL: https://gcc.gnu.org/viewcvs?rev=220899&root=gcc&view=rev
Log:
2015-02-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR fortran/64980
PR fortran/61960
* trans-expr.c (gfc_apply_interface_mapping_to_expr): Remove mapping
for component references to class objects.
(gfc_conv_procedure_call): Compare the class by name.
testsuite:
2015-02-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR fortran/64980
PR fortran/61960
* gfortran.dg/pr61960.f90: New.
* gfortran.dg/pr64230.f90: New.
* gfortran.dg/pr64980.f03: New.
Added:
trunk/gcc/testsuite/gfortran.dg/pr61960.f90
trunk/gcc/testsuite/gfortran.dg/pr64230.f90
trunk/gcc/testsuite/gfortran.dg/pr64980.f03
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/61960] internal compiler error: in gfc_conv_component_ref
2014-07-30 10:00 [Bug fortran/61960] New: internal compiler error: in gfc_conv_component_ref geertjan.bex at uhasselt dot be
2014-08-02 11:31 ` [Bug fortran/61960] " dominiq at lps dot ens.fr
2015-02-22 20:10 ` edlinger at gcc dot gnu.org
@ 2015-02-27 22:33 ` dominiq at lps dot ens.fr
2015-08-30 15:28 ` dominiq at lps dot ens.fr
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-02-27 22:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61960
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Is not this PR fixed by revision r220899?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/61960] internal compiler error: in gfc_conv_component_ref
2014-07-30 10:00 [Bug fortran/61960] New: internal compiler error: in gfc_conv_component_ref geertjan.bex at uhasselt dot be
` (2 preceding siblings ...)
2015-02-27 22:33 ` dominiq at lps dot ens.fr
@ 2015-08-30 15:28 ` dominiq at lps dot ens.fr
2015-09-03 9:13 ` geertjan.bex at uhasselt dot be
2015-09-29 17:24 ` dominiq at lps dot ens.fr
5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-08-30 15:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61960
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Is not this PR fixed by revision r220899?
PING! Without answer I'll close this PR as FIXED.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/61960] internal compiler error: in gfc_conv_component_ref
2014-07-30 10:00 [Bug fortran/61960] New: internal compiler error: in gfc_conv_component_ref geertjan.bex at uhasselt dot be
` (3 preceding siblings ...)
2015-08-30 15:28 ` dominiq at lps dot ens.fr
@ 2015-09-03 9:13 ` geertjan.bex at uhasselt dot be
2015-09-29 17:24 ` dominiq at lps dot ens.fr
5 siblings, 0 replies; 7+ messages in thread
From: geertjan.bex at uhasselt dot be @ 2015-09-03 9:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61960
--- Comment #5 from Geert Jan Bex <geertjan.bex at uhasselt dot be> ---
Dear,
Sorry, this is too long ago, I've lost the context of this.
I guess it is okay to consider the issue solved.
Thanks, best regards, -gjb-
On Sun, Aug 30, 2015 at 5:28 PM, dominiq at lps dot ens.fr <
gcc-bugzilla@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61960
>
> --- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > Is not this PR fixed by revision r220899?
>
> PING! Without answer I'll close this PR as FIXED.
>
> --
> You are receiving this mail because:
> You reported the bug.
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/61960] internal compiler error: in gfc_conv_component_ref
2014-07-30 10:00 [Bug fortran/61960] New: internal compiler error: in gfc_conv_component_ref geertjan.bex at uhasselt dot be
` (4 preceding siblings ...)
2015-09-03 9:13 ` geertjan.bex at uhasselt dot be
@ 2015-09-29 17:24 ` dominiq at lps dot ens.fr
5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-09-29 17:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61960
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I guess it is okay to consider the issue solved.
So closing as FIXED.
^ permalink raw reply [flat|nested] 7+ messages in thread