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
3110415b
Commit
3110415b
authored
Aug 20, 2009
by
Tobias Schlüter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* trans-stmt.c (gfc_trans_do): Add a few missing folds.
From-SVN: r150969
parent
6d383c5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
gcc/fortran/ChangeLog
+4
-0
gcc/fortran/trans-stmt.c
+4
-4
No files found.
gcc/fortran/ChangeLog
View file @
3110415b
2009-08-20 Tobias Schlter <tobi@gcc.gnu.org>
* trans-stmt.c (gfc_trans_do): Add a few missing folds.
2009-08-20 Michael Matz <matz@suse.de>
PR fortran/41126
...
...
gcc/fortran/trans-stmt.c
View file @
3110415b
...
...
@@ -1017,8 +1017,8 @@ gfc_trans_do (gfc_code * code)
tmp
=
fold_convert
(
utype
,
tmp
);
tmp
=
fold_build2
(
TRUNC_DIV_EXPR
,
utype
,
tmp
,
fold_convert
(
utype
,
step
));
tmp
=
build2
(
MODIFY_EXPR
,
void_type_node
,
countm1
,
tmp
);
pos
=
build2
(
COMPOUND_EXPR
,
void_type_node
,
pos
,
tmp
);
tmp
=
fold_
build2
(
MODIFY_EXPR
,
void_type_node
,
countm1
,
tmp
);
pos
=
fold_
build2
(
COMPOUND_EXPR
,
void_type_node
,
pos
,
tmp
);
tmp
=
fold_build2
(
GT_EXPR
,
boolean_type_node
,
to
,
from
);
neg
=
fold_build3
(
COND_EXPR
,
void_type_node
,
tmp
,
...
...
@@ -1029,8 +1029,8 @@ gfc_trans_do (gfc_code * code)
tmp
=
fold_build2
(
TRUNC_DIV_EXPR
,
utype
,
tmp
,
fold_convert
(
utype
,
fold_build1
(
NEGATE_EXPR
,
type
,
step
)));
tmp
=
build2
(
MODIFY_EXPR
,
void_type_node
,
countm1
,
tmp
);
neg
=
build2
(
COMPOUND_EXPR
,
void_type_node
,
neg
,
tmp
);
tmp
=
fold_
build2
(
MODIFY_EXPR
,
void_type_node
,
countm1
,
tmp
);
neg
=
fold_
build2
(
COMPOUND_EXPR
,
void_type_node
,
neg
,
tmp
);
tmp
=
fold_build3
(
COND_EXPR
,
void_type_node
,
pos_step
,
pos
,
neg
);
gfc_add_expr_to_block
(
&
block
,
tmp
);
...
...
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