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
31408f60
Commit
31408f60
authored
Mar 21, 2011
by
Eric Botcazou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag.
From-SVN: r171253
parent
126e6609
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+5
-1
gcc/gimplify.c
+1
-0
No files found.
gcc/ChangeLog
View file @
31408f60
2011-03-20 Jakub Jelinek <jakub@redhat.com>
2011-03-21 Eric Botcazou <ebotcazou@adacore.com>
* gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag.
2011-03-21 Jakub Jelinek <jakub@redhat.com>
PR c/42544
PR c/48197
...
...
gcc/gimplify.c
View file @
31408f60
...
...
@@ -1322,6 +1322,7 @@ gimplify_vla_decl (tree decl, gimple_seq *seq_p)
addr
=
create_tmp_var
(
ptr_type
,
get_name
(
decl
));
DECL_IGNORED_P
(
addr
)
=
0
;
t
=
build_fold_indirect_ref
(
addr
);
TREE_THIS_NOTRAP
(
t
)
=
1
;
SET_DECL_VALUE_EXPR
(
decl
,
t
);
DECL_HAS_VALUE_EXPR_P
(
decl
)
=
1
;
...
...
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