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
e97b32d9
Commit
e97b32d9
authored
23 years ago
by
Tom Tromey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reverted erroneous checking -- sorry about that
From-SVN: r48250
parent
82712f8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
gcc/java/parse.y
+3
-12
No files found.
gcc/java/parse.y
View file @
e97b32d9
...
...
@@ -5232,23 +5232,14 @@ check_inner_circular_reference (source, target)
if
(
!basetype_vec)
return
NULL_TREE
;
for
(
i
=
0
;
i
<
TREE_VEC_LENGTH
(
basetype_vec
);
i
++)
{
tree
su
;
/*
We
can
end
up
with
a
NULL_TREE
or
an
incomplete
type
here
if
we
are
compiling
multiple
files
at
once
.
It
's safe to simply
ignore these cases. */
if (TREE_VEC_ELT (basetype_vec, i) == NULL_TREE)
continue;
su = BINFO_TYPE (TREE_VEC_ELT (basetype_vec, i));
if (INCOMPLETE_TYPE_P (su))
continue;
tree
su
=
BINFO_TYPE
(
TREE_VEC_ELT
(
basetype_vec
,
i
));
if
(
inherits_from_p
(
su
,
target
))
return
lookup_cl
(
TYPE_NAME
(
su
));
for
(
ctx
=
DECL_CONTEXT
(
TYPE_NAME
(
su
));
ctx
;
ctx
=
DECL_CONTEXT
(
ctx
))
{
/*
An
enclosing
context
shouldn
't be TARGET */
...
...
This diff is collapsed.
Click to expand it.
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