forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2013-12-14 Janus Weil <[email protected]>
PR fortran/59450 * module.c (mio_expr): Handle type-bound function expressions. 2013-12-14 Janus Weil <[email protected]> PR fortran/59450 * gfortran.dg/typebound_proc_31.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205983 138bc75d-0d04-0410-961f-82ee72b054a4
- Loading branch information
janus
committed
Dec 14, 2013
1 parent
959e44a
commit c55d169
Showing
4 changed files
with
63 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
2013-12-14 Janus Weil <[email protected]> | ||
|
||
PR fortran/59450 | ||
* module.c (mio_expr): Handle type-bound function expressions. | ||
|
||
2013-12-12 Tobias Burnus <[email protected]> | ||
|
||
PR fortran/59440 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
2013-12-14 Janus Weil <[email protected]> | ||
|
||
PR fortran/59450 | ||
* gfortran.dg/typebound_proc_31.f90: New. | ||
|
||
2013-12-13 Rainer Orth <[email protected]> | ||
|
||
* g++.dg/cilk-plus/cilk-plus.exp: Properly set ld_library_path. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
! { dg-do compile } | ||
! | ||
! PR 59450: [OOP] ICE for type-bound-procedure expression in module procedure interface | ||
! | ||
! Contributed by <[email protected]> | ||
|
||
module classes | ||
|
||
implicit none | ||
|
||
type :: base_class | ||
contains | ||
procedure, nopass :: get_num | ||
end type | ||
|
||
contains | ||
|
||
pure integer function get_num() | ||
end function | ||
|
||
function get_array( this ) result(array) | ||
class(base_class), intent(in) :: this | ||
integer, dimension( this%get_num() ) :: array | ||
end function | ||
|
||
end module | ||
|
||
! { dg-final { cleanup-modules "classes" } } |