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
dd82a6c6
Commit
dd82a6c6
authored
Jan 17, 2007
by
Jan Hubicka
Committed by
Jan Hubicka
Jan 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ipa-type-escape.c (look_for_casts): Revamp using handled_component_p.
From-SVN: r120849
parent
30fd45a0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
gcc/ChangeLog
+4
-0
gcc/ipa-type-escape.c
+2
-7
No files found.
gcc/ChangeLog
View file @
dd82a6c6
2007-01-17 Jan Hubicka <jh@suse.cz>
* ipa-type-escape.c (look_for_casts): Revamp using handled_component_p.
2007-01-17 Eric Christopher <echristo@apple.com>
2007-01-17 Eric Christopher <echristo@apple.com>
* config.gcc: Support core2 processor.
* config.gcc: Support core2 processor.
...
...
gcc/ipa-type-escape.c
View file @
dd82a6c6
...
@@ -920,12 +920,8 @@ look_for_casts (tree lhs __attribute__((unused)), tree t)
...
@@ -920,12 +920,8 @@ look_for_casts (tree lhs __attribute__((unused)), tree t)
tree
castfromvar
=
TREE_OPERAND
(
t
,
0
);
tree
castfromvar
=
TREE_OPERAND
(
t
,
0
);
check_cast
(
TREE_TYPE
(
t
),
castfromvar
);
check_cast
(
TREE_TYPE
(
t
),
castfromvar
);
}
}
else
if
(
TREE_CODE
(
t
)
==
COMPONENT_REF
else
||
TREE_CODE
(
t
)
==
INDIRECT_REF
while
(
handled_component_p
(
t
))
||
TREE_CODE
(
t
)
==
BIT_FIELD_REF
)
{
tree
base
=
get_base_address
(
t
);
while
(
t
!=
base
)
{
{
t
=
TREE_OPERAND
(
t
,
0
);
t
=
TREE_OPERAND
(
t
,
0
);
if
(
TREE_CODE
(
t
)
==
VIEW_CONVERT_EXPR
)
if
(
TREE_CODE
(
t
)
==
VIEW_CONVERT_EXPR
)
...
@@ -939,7 +935,6 @@ look_for_casts (tree lhs __attribute__((unused)), tree t)
...
@@ -939,7 +935,6 @@ look_for_casts (tree lhs __attribute__((unused)), tree t)
else
if
(
TREE_CODE
(
t
)
==
COMPONENT_REF
)
else
if
(
TREE_CODE
(
t
)
==
COMPONENT_REF
)
get_canon_type
(
TREE_TYPE
(
TREE_OPERAND
(
t
,
1
)),
false
,
false
);
get_canon_type
(
TREE_TYPE
(
TREE_OPERAND
(
t
,
1
)),
false
,
false
);
}
}
}
}
}
/* Check to see if T is a read or address of operation on a static var
/* Check to see if T is a read or address of operation on a static var
...
...
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