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
c945ee25
Commit
c945ee25
authored
Mar 02, 2018
by
Jason Merrill
Committed by
Jason Merrill
Mar 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* semantics.c (force_paren_expr): Remove redundant test.
From-SVN: r258151
parent
c660f88b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/semantics.c
+1
-2
No files found.
gcc/cp/ChangeLog
View file @
c945ee25
2018-03-02 Jason Merrill <jason@redhat.com>
* semantics.c (force_paren_expr): Remove redundant test.
2018-03-02 Marek Polacek <polacek@redhat.com>
PR c++/84663
...
...
gcc/cp/semantics.c
View file @
c945ee25
...
...
@@ -1693,8 +1693,7 @@ force_paren_expr (tree expr)
if
(
TREE_CODE
(
expr
)
==
COMPONENT_REF
||
TREE_CODE
(
expr
)
==
SCOPE_REF
)
REF_PARENTHESIZED_P
(
expr
)
=
true
;
else
if
(
type_dependent_expression_p
(
expr
)
||
processing_template_decl
)
else
if
(
processing_template_decl
)
expr
=
build1
(
PAREN_EXPR
,
TREE_TYPE
(
expr
),
expr
);
else
if
(
VAR_P
(
expr
)
&&
DECL_HARD_REGISTER
(
expr
))
/* We can't bind a hard register variable to a reference. */
;
...
...
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