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
1fceb215
Commit
1fceb215
authored
Dec 15, 2015
by
Alessandro Fanfarillo
Committed by
Alessandro Fanfarillo
Dec 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ICE for coarray Critical inside module procedure
From-SVN: r231649
parent
4a414de8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
0 deletions
+22
-0
gcc/fortran/ChangeLog
+5
-0
gcc/fortran/resolve.c
+1
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gfortran.dg/coarray_critical_1.f90
+12
-0
No files found.
gcc/fortran/ChangeLog
View file @
1fceb215
2015-12-15 Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
* resolve.c (resolve_critical): Committing symbols of
lock variables.
2014-12-14 Tobias Burnus <burnus@net-b.de>
PR fortran/68850
...
...
gcc/fortran/resolve.c
View file @
1fceb215
...
...
@@ -8852,6 +8852,7 @@ resolve_critical (gfc_code *code)
symtree
->
n
.
sym
->
as
->
cotype
=
AS_EXPLICIT
;
symtree
->
n
.
sym
->
as
->
lower
[
0
]
=
gfc_get_int_expr
(
gfc_default_integer_kind
,
NULL
,
1
);
gfc_commit_symbols
();
}
...
...
gcc/testsuite/ChangeLog
View file @
1fceb215
2015-12-15 Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
* gfortran.dg/coarray_critical_1.f90: New.
2015-12-15 Martin Jambor <mjambor@suse.cz>
PR ipa/68851
...
...
gcc/testsuite/gfortran.dg/coarray_critical_1.f90
0 → 100644
View file @
1fceb215
! { dg-do compile }
! { dg-options "-fcoarray=lib" }
!
module
m
contains
subroutine
f
()
critical
end
critical
end
subroutine
f
end
module
m
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