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
5a4916be
Commit
5a4916be
authored
Jun 06, 2016
by
Eric Botcazou
Committed by
Eric Botcazou
Jun 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc-interface/trans.c (process_type): Beef up comment.
From-SVN: r237126
parent
62801a77
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/ada/ChangeLog
+4
-0
gcc/ada/gcc-interface/trans.c
+3
-1
No files found.
gcc/ada/ChangeLog
View file @
5a4916be
2016
-
06
-
06
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
2016
-
06
-
06
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
*
gcc
-
interface
/
trans
.
c
(
process_type
):
Beef
up
comment
.
2016
-
06
-
06
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
*
gcc
-
interface
/
utils2
.
c
(
build_call_alloc_dealloc
):
Do
not
substitute
*
gcc
-
interface
/
utils2
.
c
(
build_call_alloc_dealloc
):
Do
not
substitute
placeholder
expressions
here
but
...
placeholder
expressions
here
but
...
*
gcc
-
interface
/
trans
.
c
(
gnat_to_gnu
)
<
N_Free_Statement
>:
...
here
.
*
gcc
-
interface
/
trans
.
c
(
gnat_to_gnu
)
<
N_Free_Statement
>:
...
here
.
...
...
gcc/ada/gcc-interface/trans.c
View file @
5a4916be
...
@@ -9512,7 +9512,9 @@ process_type (Entity_Id gnat_entity)
...
@@ -9512,7 +9512,9 @@ process_type (Entity_Id gnat_entity)
/* If we saved away a dummy type for this node, it means that this made the
/* If we saved away a dummy type for this node, it means that this made the
type that corresponds to the full type of an incomplete type. Clear that
type that corresponds to the full type of an incomplete type. Clear that
type for now and then update the type in the pointers below. */
type for now and then update the type in the pointers below. But, if the
saved type is not dummy, it very likely means that we have a use before
declaration for the type in the tree, what we really cannot handle. */
if
(
gnu_old
)
if
(
gnu_old
)
{
{
gcc_assert
(
TREE_CODE
(
gnu_old
)
==
TYPE_DECL
gcc_assert
(
TREE_CODE
(
gnu_old
)
==
TYPE_DECL
...
...
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