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
71690b03
Commit
71690b03
authored
Nov 29, 2008
by
Eric Botcazou
Committed by
Eric Botcazou
Nov 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* trans-array.c (gfc_conv_array_parameter): Guard union access.
From-SVN: r142283
parent
44b55e85
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/fortran/ChangeLog
+4
-0
gcc/fortran/trans-array.c
+2
-1
No files found.
gcc/fortran/ChangeLog
View file @
71690b03
2008-11-29 Eric Botcazou <ebotcazou@adacore.com>
* trans-array.c (gfc_conv_array_parameter): Guard union access.
2008-11-29 Janus Weil <janus@gcc.gnu.org>
Mikael Morin <mikael@gcc.gnu.org>
...
...
gcc/fortran/trans-array.c
View file @
71690b03
...
...
@@ -5206,7 +5206,8 @@ gfc_conv_array_parameter (gfc_se * se, gfc_expr * expr, gfc_ss * ss, int g77,
stmtblock_t
block
;
full_array_var
=
(
expr
->
expr_type
==
EXPR_VARIABLE
&&
expr
->
ref
->
u
.
ar
.
type
==
AR_FULL
);
&&
expr
->
ref
->
type
==
REF_ARRAY
&&
expr
->
ref
->
u
.
ar
.
type
==
AR_FULL
);
sym
=
full_array_var
?
expr
->
symtree
->
n
.
sym
:
NULL
;
/* The symbol should have an array specification. */
...
...
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