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
989e6706
Commit
989e6706
authored
May 30, 2012
by
Jason Merrill
Committed by
Jason Merrill
May 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.c (stabilize_expr): Tweak logic.
From-SVN: r188028
parent
a932fb89
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
gcc/cp/ChangeLog
+2
-0
gcc/cp/tree.c
+2
-2
No files found.
gcc/cp/ChangeLog
View file @
989e6706
2012-05-30 Jason Merrill <jason@redhat.com>
2012-05-30 Jason Merrill <jason@redhat.com>
* tree.c (stabilize_expr): Tweak logic.
PR c++/53356
PR c++/53356
* tree.c (stabilize_init): Side effects make the init unstable.
* tree.c (stabilize_init): Side effects make the init unstable.
...
...
gcc/cp/tree.c
View file @
989e6706
...
@@ -3283,8 +3283,8 @@ stabilize_expr (tree exp, tree* initp)
...
@@ -3283,8 +3283,8 @@ stabilize_expr (tree exp, tree* initp)
init_expr
=
NULL_TREE
;
init_expr
=
NULL_TREE
;
else
if
(
VOID_TYPE_P
(
TREE_TYPE
(
exp
)))
else
if
(
VOID_TYPE_P
(
TREE_TYPE
(
exp
)))
{
{
*
initp
=
exp
;
init_expr
=
exp
;
return
void_zero_node
;
exp
=
void_zero_node
;
}
}
/* There are no expressions with REFERENCE_TYPE, but there can be call
/* There are no expressions with REFERENCE_TYPE, but there can be call
arguments with such a type; just treat it as a pointer. */
arguments with such a type; just treat it as a pointer. */
...
...
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