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
472ca416
Commit
472ca416
authored
May 19, 2004
by
Tobias Schlüter
Committed by
Tobias Schlüter
May 19, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* trans.c, trans-decl.c: Fix comment typos.
From-SVN: r82008
parent
d7981fd9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
gcc/fortran/ChangeLog
+4
-0
gcc/fortran/trans-decl.c
+5
-5
gcc/fortran/trans.c
+3
-3
No files found.
gcc/fortran/ChangeLog
View file @
472ca416
2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* trans.c, trans-decl.c: Fix comment typos.
2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* trans-const.c (gfc_conv_mpf_to_tree): Fix typo.
* trans-const.c (gfc_conv_mpf_to_tree): Fix typo.
2004-05-18 Steve Kargl <kargls@comcast.net>
2004-05-18 Steve Kargl <kargls@comcast.net>
...
...
gcc/fortran/trans-decl.c
View file @
472ca416
...
@@ -1048,7 +1048,7 @@ gfc_build_function_decl (gfc_symbol * sym)
...
@@ -1048,7 +1048,7 @@ gfc_build_function_decl (gfc_symbol * sym)
DECL_EXTERNAL
(
fndecl
)
=
0
;
DECL_EXTERNAL
(
fndecl
)
=
0
;
/* This specifies if a function is globaly addressable, ie. it is
/* This specifies if a function is globaly addressable, ie. it is
the opposite of dec
alring static
in C. */
the opposite of dec
laring static
in C. */
if
(
DECL_CONTEXT
(
fndecl
)
==
NULL_TREE
||
attr
.
external
)
if
(
DECL_CONTEXT
(
fndecl
)
==
NULL_TREE
||
attr
.
external
)
TREE_PUBLIC
(
fndecl
)
=
1
;
TREE_PUBLIC
(
fndecl
)
=
1
;
...
@@ -1094,7 +1094,7 @@ gfc_build_function_decl (gfc_symbol * sym)
...
@@ -1094,7 +1094,7 @@ gfc_build_function_decl (gfc_symbol * sym)
{
{
gfc_allocate_lang_decl
(
parm
);
gfc_allocate_lang_decl
(
parm
);
/* Length of character result */
/* Length of character result
.
*/
type
=
TREE_VALUE
(
typelist
);
type
=
TREE_VALUE
(
typelist
);
assert
(
type
==
gfc_strlen_type_node
);
assert
(
type
==
gfc_strlen_type_node
);
...
@@ -1795,10 +1795,10 @@ gfc_generate_module_vars (gfc_namespace * ns)
...
@@ -1795,10 +1795,10 @@ gfc_generate_module_vars (gfc_namespace * ns)
{
{
module_namespace
=
ns
;
module_namespace
=
ns
;
/* Check the frontend left the namespace in a reasonable state. */
/* Check
if
the frontend left the namespace in a reasonable state. */
assert
(
ns
->
proc_name
&&
!
ns
->
proc_name
->
tlink
);
assert
(
ns
->
proc_name
&&
!
ns
->
proc_name
->
tlink
);
/* Create decls for all the module var
u
iables. */
/* Create decls for all the module variables. */
gfc_traverse_ns
(
ns
,
gfc_create_module_variable
);
gfc_traverse_ns
(
ns
,
gfc_create_module_variable
);
}
}
...
@@ -1856,7 +1856,7 @@ generate_local_decl (gfc_symbol * sym)
...
@@ -1856,7 +1856,7 @@ generate_local_decl (gfc_symbol * sym)
warning
(
"unused parameter `%s'"
,
sym
->
name
);
warning
(
"unused parameter `%s'"
,
sym
->
name
);
}
}
/* warn for unused variables, but not if they're inside a common
/* warn for unused variables, but not if they're inside a common
block. */
block. */
else
if
(
warn_unused_variable
&&
!
sym
->
attr
.
in_common
)
else
if
(
warn_unused_variable
&&
!
sym
->
attr
.
in_common
)
warning
(
"unused variable `%s'"
,
sym
->
name
);
warning
(
"unused variable `%s'"
,
sym
->
name
);
}
}
...
...
gcc/fortran/trans.c
View file @
472ca416
...
@@ -366,7 +366,7 @@ gfc_trans_runtime_check (tree cond, tree msg, stmtblock_t * pblock)
...
@@ -366,7 +366,7 @@ gfc_trans_runtime_check (tree cond, tree msg, stmtblock_t * pblock)
}
}
else
else
{
{
/* Tell the compiler that this isn't lik
le
y. */
/* Tell the compiler that this isn't lik
el
y. */
tmp
=
gfc_chainon_list
(
NULL_TREE
,
cond
);
tmp
=
gfc_chainon_list
(
NULL_TREE
,
cond
);
tmp
=
gfc_chainon_list
(
tmp
,
integer_zero_node
);
tmp
=
gfc_chainon_list
(
tmp
,
integer_zero_node
);
cond
=
gfc_build_function_call
(
built_in_decls
[
BUILT_IN_EXPECT
],
tmp
);
cond
=
gfc_build_function_call
(
built_in_decls
[
BUILT_IN_EXPECT
],
tmp
);
...
@@ -377,7 +377,7 @@ gfc_trans_runtime_check (tree cond, tree msg, stmtblock_t * pblock)
...
@@ -377,7 +377,7 @@ gfc_trans_runtime_check (tree cond, tree msg, stmtblock_t * pblock)
}
}
/* Add a statement to a bock. */
/* Add a statement to a b
l
ock. */
void
void
gfc_add_expr_to_block
(
stmtblock_t
*
block
,
tree
expr
)
gfc_add_expr_to_block
(
stmtblock_t
*
block
,
tree
expr
)
...
@@ -409,7 +409,7 @@ gfc_add_block_to_block (stmtblock_t * block, stmtblock_t * append)
...
@@ -409,7 +409,7 @@ gfc_add_block_to_block (stmtblock_t * block, stmtblock_t * append)
/* Get the current locus. The structure may not be complete, and should
/* Get the current locus. The structure may not be complete, and should
only be used with gfc_set_
current
_locus. */
only be used with gfc_set_
backend
_locus. */
void
void
gfc_get_backend_locus
(
locus
*
loc
)
gfc_get_backend_locus
(
locus
*
loc
)
...
...
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