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
a56e7133
Commit
a56e7133
authored
Oct 05, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(contains_placeholder_p): Return 0 for CONSTRUCTOR.
(substitute_in_expr): Don't allow CONSTRUCTOR. From-SVN: r5625
parent
f52b5958
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
gcc/tree.c
+2
-1
No files found.
gcc/tree.c
View file @
a56e7133
...
...
@@ -1911,6 +1911,7 @@ contains_placeholder_p (exp)
return
contains_placeholder_p
(
TREE_OPERAND
(
exp
,
0
));
case
2
:
return
(
code
!=
RTL_EXPR
&&
code
!=
CONSTRUCTOR
&&
!
(
code
==
SAVE_EXPR
&&
SAVE_EXPR_RTL
(
exp
)
!=
0
)
&&
code
!=
WITH_RECORD_EXPR
&&
(
contains_placeholder_p
(
TREE_OPERAND
(
exp
,
0
))
...
...
@@ -1963,7 +1964,7 @@ substitute_in_expr (exp, f, r)
f
,
r
)));
case
2
:
if
(
code
==
RTL_EXPR
)
if
(
code
==
RTL_EXPR
||
code
==
CONSTRUCTOR
)
abort
();
return
fold
(
build
(
code
,
TREE_TYPE
(
exp
),
...
...
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