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
48c73063
Commit
48c73063
authored
Aug 21, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(build_conditional_expr):
Use TREE_READONLY and TREE_THIS_VOLATILE, not TYPE_... From-SVN: r1929
parent
d3b9996a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/c-typeck.c
+2
-2
No files found.
gcc/c-typeck.c
View file @
48c73063
...
...
@@ -3545,8 +3545,8 @@ build_conditional_expr (ifexp, op1, op2)
/* Merge const and volatile flags of the incoming types. */
result_type
=
build_type_variant
(
result_type
,
T
YPE_READONLY
(
op1
)
||
TYP
E_READONLY
(
op2
),
T
YPE_VOLATILE
(
op1
)
||
TYPE
_VOLATILE
(
op2
));
T
REE_READONLY
(
op1
)
||
TRE
E_READONLY
(
op2
),
T
REE_THIS_VOLATILE
(
op1
)
||
TREE_THIS
_VOLATILE
(
op2
));
if
(
result_type
!=
TREE_TYPE
(
op1
))
op1
=
convert
(
result_type
,
op1
);
...
...
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