Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
fffad99b
Commit
fffad99b
authored
Jun 13, 2013
by
Mikael Morin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit forgotten file
From-SVN: r200070
parent
37ea263a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
gcc/testsuite/gfortran.dg/typebound_assignment_5.f03
+40
-0
No files found.
gcc/testsuite/gfortran.dg/typebound_assignment_5.f03
0 → 100644
View file @
fffad99b
! { dg-do run }
!
! PR fortran/49074
! ICE on defined assignment with class arrays.
module
foo
type
bar
integer
::
i
contains
generic
::
assignment
(
=
)
=>
assgn_bar
procedure
,
private
::
assgn_bar
end
type
bar
contains
elemental
subroutine
assgn_bar
(
a
,
b
)
class
(
bar
),
intent
(
inout
)
::
a
class
(
bar
),
intent
(
in
)
::
b
select
type
(
b
)
type
is
(
bar
)
a
%
i
=
b
%
i
end
select
return
end
subroutine
assgn_bar
end
module
foo
program
main
use
foo
type
(
bar
),
allocatable
::
foobar
(:)
allocate
(
foobar
(
2
))
foobar
=
[
bar
(
1
),
bar
(
2
)]
if
(
any
(
foobar
%
i
/
=
[
1
,
2
]))
call
abort
end
program
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment