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
a333b79f
Commit
a333b79f
authored
Mar 04, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fold): Fix error in handling REALPART_EXPR and IMAGPART_EXPR.
From-SVN: r3644
parent
c100b4ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/fold-const.c
+2
-2
No files found.
gcc/fold-const.c
View file @
a333b79f
...
...
@@ -4403,7 +4403,7 @@ fold (expr)
return
t
;
case
REALPART_EXPR
:
if
(
TREE_CODE
(
type
)
!=
COMPLEX_TYPE
)
if
(
TREE_CODE
(
TREE_TYPE
(
arg0
)
)
!=
COMPLEX_TYPE
)
return
t
;
else
if
(
TREE_CODE
(
arg0
)
==
COMPLEX_EXPR
)
return
omit_one_operand
(
type
,
TREE_OPERAND
(
arg0
,
0
),
...
...
@@ -4422,7 +4422,7 @@ fold (expr)
return
t
;
case
IMAGPART_EXPR
:
if
(
TREE_CODE
(
type
)
!=
COMPLEX_TYPE
)
if
(
TREE_CODE
(
TREE_TYPE
(
arg0
)
)
!=
COMPLEX_TYPE
)
return
convert
(
type
,
integer_zero_node
);
else
if
(
TREE_CODE
(
arg0
)
==
COMPLEX_EXPR
)
return
omit_one_operand
(
type
,
TREE_OPERAND
(
arg0
,
1
),
...
...
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