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
51fa2e5f
Commit
51fa2e5f
authored
Jul 03, 2004
by
Richard Kenner
Committed by
Richard Kenner
Jul 03, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-sra.c (generate_element_init): Remove any useless conversions.
From-SVN: r84057
parent
73d6ddef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+2
-0
gcc/tree-sra.c
+4
-1
No files found.
gcc/ChangeLog
View file @
51fa2e5f
2004-07-03 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2004-07-03 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* tree-sra.c (generate_element_init): Remove any useless conversions.
* gimplify.c (gimplify_conversion): Remove stripping useless
* gimplify.c (gimplify_conversion): Remove stripping useless
conversions from here.
conversions from here.
...
...
gcc/tree-sra.c
View file @
51fa2e5f
...
@@ -1513,10 +1513,13 @@ generate_element_zero (struct sra_elt *elt, tree *list_p)
...
@@ -1513,10 +1513,13 @@ generate_element_zero (struct sra_elt *elt, tree *list_p)
static
void
static
void
generate_element_init
(
struct
sra_elt
*
elt
,
tree
init
,
tree
*
list_p
)
generate_element_init
(
struct
sra_elt
*
elt
,
tree
init
,
tree
*
list_p
)
{
{
enum
tree_code
init_code
=
TREE_CODE
(
init
)
;
enum
tree_code
init_code
;
struct
sra_elt
*
sub
;
struct
sra_elt
*
sub
;
tree
t
;
tree
t
;
STRIP_USELESS_TYPE_CONVERSION
(
init
);
init_code
=
TREE_CODE
(
init
);
if
(
elt
->
is_scalar
)
if
(
elt
->
is_scalar
)
{
{
if
(
elt
->
replacement
)
if
(
elt
->
replacement
)
...
...
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