public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/60881] New: ICE on dummy argument that extends a type with scalar and scalar coarry components
@ 2014-04-18 7:57 rouson at stanford dot edu
2014-04-18 8:17 ` [Bug fortran/60881] " dominiq at lps dot ens.fr
2014-04-22 19:36 ` burnus at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: rouson at stanford dot edu @ 2014-04-18 7:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60881
Bug ID: 60881
Summary: ICE on dummy argument that extends a type with scalar
and scalar coarry components
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: rouson at stanford dot edu
The code and error message below demonstrate an ICE that occurs when passing an
actual argument that extends a type with two components: a default-initialized
scalar and an allocatable scalar coarray.
Damian
$ cat all.f90
program main
implicit none
type co_object
logical :: defined=.false.
real, allocatable :: dummy_to_facilitate_extension[:]
end type
type, extends(co_object) :: global_field
end type
type(global_field) T
call assign_local_field(T)
contains
subroutine assign_local_field(lhs)
type(global_field) lhs
end subroutine
end program
$ gfortran -fcoarray=single all.f90
all.f90: In function 'MAIN__':
all.f90:9:0: internal compiler error: in fold_convert_loc, at fold-const.c:2116
type(global_field) T
^
all.f90:9:0: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Abort trap: 6
$ gfortran --version
GNU Fortran (MacPorts gcc49 4.9-20140406_0) 4.9.0 20140406 (experimental)
Copyright (C) 2014 Free Software Foundation, Inc.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/60881] ICE on dummy argument that extends a type with scalar and scalar coarry components
2014-04-18 7:57 [Bug fortran/60881] New: ICE on dummy argument that extends a type with scalar and scalar coarry components rouson at stanford dot edu
@ 2014-04-18 8:17 ` dominiq at lps dot ens.fr
2014-04-22 19:36 ` burnus at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-04-18 8:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60881
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-04-18
Ever confirmed|0 |1
Known to fail| |4.10.0, 4.7.4, 4.8.3, 4.9.0
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed on 4.7.4, 4.8.3, 4.9.0, and trunk.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/60881] ICE on dummy argument that extends a type with scalar and scalar coarry components
2014-04-18 7:57 [Bug fortran/60881] New: ICE on dummy argument that extends a type with scalar and scalar coarry components rouson at stanford dot edu
2014-04-18 8:17 ` [Bug fortran/60881] " dominiq at lps dot ens.fr
@ 2014-04-22 19:36 ` burnus at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-04-22 19:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60881
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |burnus at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> ---
FIXED on the trunk (GCC 4.10).
Thanks for the report!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-22 19:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-18 7:57 [Bug fortran/60881] New: ICE on dummy argument that extends a type with scalar and scalar coarry components rouson at stanford dot edu
2014-04-18 8:17 ` [Bug fortran/60881] " dominiq at lps dot ens.fr
2014-04-22 19:36 ` burnus 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).