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
b2802a4b
Commit
b2802a4b
authored
Jan 26, 2005
by
J"orn Rennecke
Committed by
Joern Rennecke
Jan 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parse.c (cp_parser_initializer_clause): Initialize *non_constant_p.
From-SVN: r94270
parent
f7aa1423
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
gcc/cp/ChangeLog
+4
-0
gcc/cp/parser.c
+3
-0
No files found.
gcc/cp/ChangeLog
View file @
b2802a4b
2005-01-26 J"orn Rennecke <joern.rennecke@st.com>
* parse.c (cp_parser_initializer_clause): Initialize *non_constant_p.
2005-01-25 Andrew Pinski <pinskia@physics.uc.edu>
2005-01-25 Andrew Pinski <pinskia@physics.uc.edu>
* class.c (abort_fndecl_addr): New variable.
* class.c (abort_fndecl_addr): New variable.
...
...
gcc/cp/parser.c
View file @
b2802a4b
...
@@ -12001,6 +12001,9 @@ cp_parser_initializer_clause (cp_parser* parser, bool* non_constant_p)
...
@@ -12001,6 +12001,9 @@ cp_parser_initializer_clause (cp_parser* parser, bool* non_constant_p)
{
{
tree
initializer
;
tree
initializer
;
/* Assume the expression is constant. */
*
non_constant_p
=
false
;
/* If it is not a `{', then we are looking at an
/* If it is not a `{', then we are looking at an
assignment-expression. */
assignment-expression. */
if
(
cp_lexer_next_token_is_not
(
parser
->
lexer
,
CPP_OPEN_BRACE
))
if
(
cp_lexer_next_token_is_not
(
parser
->
lexer
,
CPP_OPEN_BRACE
))
...
...
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