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
436529ea
Commit
436529ea
authored
Aug 24, 2004
by
Tobias Schlüter
Committed by
Tobias Schlüter
Aug 24, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* trans-types.c: Spelling and formatting fixes.
From-SVN: r86490
parent
7746c5c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
12 deletions
+16
-12
gcc/fortran/ChangeLog
+4
-0
gcc/fortran/trans-types.c
+12
-12
No files found.
gcc/fortran/ChangeLog
View file @
436529ea
2004-08-24 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* trans-types.c: Spelling and formatting fixes.
2004-08-23 Richard Henderson <rth@redhat.com>
* trans-const.c (gfc_conv_mpz_to_tree): Use mpz_getlimbn instead
...
...
gcc/fortran/trans-types.c
View file @
436529ea
...
...
@@ -177,7 +177,7 @@ gfc_init_types (void)
boolean_false_node
=
build_int_cst
(
boolean_type_node
,
0
,
0
);
}
/* Get a type node for an integer kind */
/* Get a type node for an integer kind
.
*/
tree
gfc_get_int_type
(
int
kind
)
...
...
@@ -201,7 +201,7 @@ gfc_get_int_type (int kind)
}
}
/* Get a type node for a real kind */
/* Get a type node for a real kind
.
*/
tree
gfc_get_real_type
(
int
kind
)
...
...
@@ -221,11 +221,12 @@ gfc_get_real_type (int kind)
}
}
/* Get a type node for a complex kind */
/* Get a type node for a complex kind
.
*/
tree
gfc_get_complex_type
(
int
kind
)
{
switch
(
kind
)
{
case
4
:
...
...
@@ -241,7 +242,7 @@ gfc_get_complex_type (int kind)
}
}
/* Get a type node for a logical kind */
/* Get a type node for a logical kind
.
*/
tree
gfc_get_logical_type
(
int
kind
)
...
...
@@ -445,8 +446,7 @@ gfc_get_element_type (tree type)
dimension. This requires extra fields in the descriptor (both real_ubound
and fake_ubound). In tree.def there is mention of TYPE_SEP, which
may allow us to do this. However I can't find mention of this anywhere
else.
*/
else. */
/* Returns true if the array sym does not require a descriptor. */
...
...
@@ -903,7 +903,8 @@ gfc_get_array_type_bounds (tree etype, int dimen, tree * lbound,
static
tree
gfc_build_pointer_type
(
gfc_symbol
*
sym
,
tree
type
)
{
/* Array pointer types aren't actualy pointers. */
/* Array pointer types aren't actually pointers. */
if
(
sym
->
attr
.
dimension
)
return
type
;
else
...
...
@@ -1036,10 +1037,10 @@ gfc_get_derived_type (gfc_symbol * derived)
assert
(
derived
&&
derived
->
attr
.
flavor
==
FL_DERIVED
);
/* derived->backend_decl != 0 means we saw it before, but its
component's
backend_decl may have not been built. */
components'
backend_decl may have not been built. */
if
(
derived
->
backend_decl
)
{
/* Its component
's backend_decl has
been built. */
/* Its component
s' backend_decl have
been built. */
if
(
TYPE_FIELDS
(
derived
->
backend_decl
))
return
derived
->
backend_decl
;
else
...
...
@@ -1144,7 +1145,6 @@ gfc_return_by_reference (gfc_symbol * sym)
return
0
;
}
tree
gfc_get_function_type
(
gfc_symbol
*
sym
)
{
...
...
@@ -1193,7 +1193,7 @@ gfc_get_function_type (gfc_symbol * sym)
typelist
=
gfc_chainon_list
(
typelist
,
gfc_strlen_type_node
);
}
/* Build the argument types for the function */
/* Build the argument types for the function
.
*/
for
(
f
=
sym
->
formal
;
f
;
f
=
f
->
next
)
{
arg
=
f
->
sym
;
...
...
@@ -1255,7 +1255,7 @@ gfc_get_function_type (gfc_symbol * sym)
return
type
;
}
/* Routines for getting integer type nodes */
/* Routines for getting integer type nodes
.
*/
/* Return an integer type with BITS bits of precision,
...
...
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