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
1e748a2b
Commit
1e748a2b
authored
Jul 01, 2004
by
Richard Kenner
Committed by
Richard Kenner
Jul 01, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gimplify.c (gimplify_one_sizepos): Don't do anything if any VAR_DECL.
From-SVN: r83998
parent
8e6b96d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/ChangeLog
+2
-0
gcc/gimplify.c
+5
-1
No files found.
gcc/ChangeLog
View file @
1e748a2b
2004-07-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* gimplify.c (gimplify_one_sizepos): Don't do anything if any VAR_DECL.
* tree-pretty-print.c (dump_generic_node, case ARRAY_REF): Use
access functions for lower bound and element size and only output
if lower bound nonzero or element size not same as that of type.
...
...
gcc/gimplify.c
View file @
1e748a2b
...
...
@@ -4069,8 +4069,12 @@ void
gimplify_one_sizepos
(
tree
*
expr_p
,
tree
*
stmt_p
)
{
/* We don't do anything if the value isn't there, is constant, or contains
A PLACEHOLDER_EXPR. */
A PLACEHOLDER_EXPR. We also don't want to do anything if it's already
a VAR_DECL. If it's a VAR_DECL from another function, the gimplfier
will want to replace it with a new variable, but that will cause problems
if this type is from outside the function. It's OK to have that here. */
if
(
*
expr_p
==
NULL_TREE
||
TREE_CONSTANT
(
*
expr_p
)
||
TREE_CODE
(
*
expr_p
)
==
VAR_DECL
||
CONTAINS_PLACEHOLDER_P
(
*
expr_p
))
return
;
...
...
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