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
a7fcb968
Commit
a7fcb968
authored
Feb 27, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(make_node, stabilize_reference_1): Abort if unknown class.
From-SVN: r6647
parent
0575fe3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
gcc/tree.c
+7
-0
No files found.
gcc/tree.c
View file @
a7fcb968
...
@@ -926,6 +926,10 @@ make_node (code)
...
@@ -926,6 +926,10 @@ make_node (code)
/* Identifier nodes are always permanent since they are
/* Identifier nodes are always permanent since they are
unique in a compiler run. */
unique in a compiler run. */
if
(
code
==
IDENTIFIER_NODE
)
obstack
=
&
permanent_obstack
;
if
(
code
==
IDENTIFIER_NODE
)
obstack
=
&
permanent_obstack
;
break
;
default
:
abort
();
}
}
t
=
(
tree
)
obstack_alloc
(
obstack
,
length
);
t
=
(
tree
)
obstack_alloc
(
obstack
,
length
);
...
@@ -2375,6 +2379,9 @@ stabilize_reference_1 (e)
...
@@ -2375,6 +2379,9 @@ stabilize_reference_1 (e)
/* Recursively stabilize each operand. */
/* Recursively stabilize each operand. */
result
=
build_nt
(
code
,
stabilize_reference_1
(
TREE_OPERAND
(
e
,
0
)));
result
=
build_nt
(
code
,
stabilize_reference_1
(
TREE_OPERAND
(
e
,
0
)));
break
;
break
;
default
:
abort
();
}
}
TREE_TYPE
(
result
)
=
TREE_TYPE
(
e
);
TREE_TYPE
(
result
)
=
TREE_TYPE
(
e
);
...
...
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