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
837a549b
Commit
837a549b
authored
Apr 23, 2012
by
Jan Hubicka
Committed by
Jan Hubicka
Apr 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Bail out at NULL tree refs.
From-SVN: r186693
parent
f67b870a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+4
-0
gcc/tree-ssa-loop-ivopts.c
+2
-1
No files found.
gcc/ChangeLog
View file @
837a549b
2012-04-22 Jan Hubicka <jh@suse.cz>
2012-04-22 Jan Hubicka <jh@suse.cz>
* tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Bail out at NULL tree refs.
2012-04-22 Jan Hubicka <jh@suse.cz>
* lto-symtab.c (lto_varpool_replace_node): Do not merge needed flags.
* lto-symtab.c (lto_varpool_replace_node): Do not merge needed flags.
* cgraphbuild.c (record_reference, record_type_list, mark_address,
* cgraphbuild.c (record_reference, record_type_list, mark_address,
mark_load, mark_store): Do not mark varpool nodes as needed.
mark_load, mark_store): Do not mark varpool nodes as needed.
...
...
gcc/tree-ssa-loop-ivopts.c
View file @
837a549b
...
@@ -1411,7 +1411,8 @@ expr_invariant_in_loop_p (struct loop *loop, tree expr)
...
@@ -1411,7 +1411,8 @@ expr_invariant_in_loop_p (struct loop *loop, tree expr)
len
=
TREE_OPERAND_LENGTH
(
expr
);
len
=
TREE_OPERAND_LENGTH
(
expr
);
for
(
i
=
0
;
i
<
len
;
i
++
)
for
(
i
=
0
;
i
<
len
;
i
++
)
if
(
!
expr_invariant_in_loop_p
(
loop
,
TREE_OPERAND
(
expr
,
i
)))
if
(
TREE_OPERAND
(
expr
,
i
)
&&
!
expr_invariant_in_loop_p
(
loop
,
TREE_OPERAND
(
expr
,
i
)))
return
false
;
return
false
;
return
true
;
return
true
;
...
...
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