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
1803581d
Commit
1803581d
authored
Mar 09, 2009
by
Eric Botcazou
Committed by
Eric Botcazou
Mar 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fold-const.c (fold_unary): Fix comment.
From-SVN: r144723
parent
b958b842
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
gcc/ChangeLog
+4
-0
gcc/fold-const.c
+6
-6
No files found.
gcc/ChangeLog
View file @
1803581d
2009-03-09 Eric Botcazou <ebotcazou@adacore.com>
* fold-const.c (fold_unary): Fix comment.
2009-03-07 Jan Hubicka <jh@suse.cz>
2009-03-07 Jan Hubicka <jh@suse.cz>
PR target/39361
PR target/39361
...
...
gcc/fold-const.c
View file @
1803581d
...
@@ -8174,12 +8174,12 @@ fold_unary (enum tree_code code, tree type, tree op0)
...
@@ -8174,12 +8174,12 @@ fold_unary (enum tree_code code, tree type, tree op0)
&&
inter_prec
>=
final_prec
)
&&
inter_prec
>=
final_prec
)
return
fold_build1
(
code
,
type
,
TREE_OPERAND
(
op0
,
0
));
return
fold_build1
(
code
,
type
,
TREE_OPERAND
(
op0
,
0
));
/* Likewise, if the intermediate and
fin
al types are either both
/* Likewise, if the intermediate and
initi
al types are either both
float or both integer, we don't need the middle conversion if
float or both integer, we don't need the middle conversion if
the
it is wider than the final type
and doesn't change the signedness
former is wider than the latter
and doesn't change the signedness
(for integers). Avoid this if the final type is a pointer
(for integers). Avoid this if the final type is a pointer
since
since then we sometimes need the inner conversion. Likewise if
then we sometimes need the middle conversion. Likewise if the
the outer
has a precision not equal to the size of its mode. */
final type
has a precision not equal to the size of its mode. */
if
(((
inter_int
&&
inside_int
)
if
(((
inter_int
&&
inside_int
)
||
(
inter_float
&&
inside_float
)
||
(
inter_float
&&
inside_float
)
||
(
inter_vec
&&
inside_vec
))
||
(
inter_vec
&&
inside_vec
))
...
...
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