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
d4e70294
Commit
d4e70294
authored
Mar 12, 2007
by
Olga Golovanevsky
Committed by
Olga Golovanevsky
Mar 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ipa-type-escape improvements
From-SVN: r122835
parent
e8bb4597
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
3 deletions
+19
-3
gcc/ChangeLog
+17
-0
gcc/fold-const.c
+1
-2
gcc/ipa-type-escape.c
+0
-0
gcc/tree.h
+1
-1
No files found.
gcc/ChangeLog
View file @
d4e70294
2007-03-12 Olga Golovanevsky <olga@il.ibm.com>
* tree.h : Add multiple_of_p declaration.
* fold-const.c (multiple_of_p): Make multiple_of_p public.
* ipa-type-escape.c (results_of_malloc): Redundant.
(visited_stmts): New. Visited stmt for walk_use_def_chains.
(cast_type): Extended with new members.
(check_cast): Returns cast_type.
(cast): New structure for data of walk_use_def_chains.
(is_malloc_result, is_cast_from_non_pointer_1,
is_cast_from_non_pointer,
is_array_access_through_pointer_and_index): New functions.
(look_for_casts): Returns cast types.
(check_call): Returns void.
(okay_pointer_operation): Use support of pointer plus index,
pointer plus constant and allow all multiplications.
2007-03-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/31115
...
...
gcc/fold-const.c
View file @
d4e70294
...
...
@@ -131,7 +131,6 @@ static tree fold_truthop (enum tree_code, tree, tree, tree);
static
tree
optimize_minmax_comparison
(
enum
tree_code
,
tree
,
tree
,
tree
);
static
tree
extract_muldiv
(
tree
,
tree
,
enum
tree_code
,
tree
,
bool
*
);
static
tree
extract_muldiv_1
(
tree
,
tree
,
enum
tree_code
,
tree
,
bool
*
);
static
int
multiple_of_p
(
tree
,
tree
,
tree
);
static
tree
fold_binary_op_with_conditional_arg
(
enum
tree_code
,
tree
,
tree
,
tree
,
tree
,
tree
,
int
);
...
...
@@ -13115,7 +13114,7 @@ fold_build_call_array_initializer (tree type, tree fn,
(where the same SAVE_EXPR (J) is used in the original and the
transformed version). */
static
int
int
multiple_of_p
(
tree
type
,
tree
top
,
tree
bottom
)
{
if
(
operand_equal_p
(
top
,
bottom
,
0
))
...
...
gcc/ipa-type-escape.c
View file @
d4e70294
This diff is collapsed.
Click to expand it.
gcc/tree.h
View file @
d4e70294
...
...
@@ -4454,7 +4454,7 @@ enum operand_equal_flag
};
extern
int
operand_equal_p
(
tree
,
tree
,
unsigned
int
);
extern
int
multiple_of_p
(
tree
,
tree
,
tree
);
extern
tree
omit_one_operand
(
tree
,
tree
,
tree
);
extern
tree
omit_two_operands
(
tree
,
tree
,
tree
,
tree
);
extern
tree
invert_truthvalue
(
tree
);
...
...
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