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
b40a3a7b
Commit
b40a3a7b
authored
Aug 28, 2004
by
Jason Merrill
Committed by
Jason Merrill
Aug 28, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl.c (expand_static_init): Avoid bogus warnings.
From-SVN: r86689
parent
bcac21a0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl.c
+2
-2
No files found.
gcc/cp/ChangeLog
View file @
b40a3a7b
2004-08-28 Jason Merrill <jason@redhat.com>
* decl.c (expand_static_init): Avoid bogus warnings.
2004-08-27 Jason Merrill <jason@redhat.com>
PR c++/16851
...
...
gcc/cp/decl.c
View file @
b40a3a7b
...
...
@@ -5151,8 +5151,8 @@ expand_static_init (tree decl, tree init)
if
(
DECL_FUNCTION_SCOPE_P
(
decl
))
{
/* Emit code to perform this initialization but once. */
tree
if_stmt
,
inner_if_stmt
;
tree
then_clause
,
inner_then_clause
;
tree
if_stmt
,
inner_if_stmt
=
NULL_TREE
;
tree
then_clause
,
inner_then_clause
=
NULL_TREE
;
tree
guard
,
guard_addr
,
guard_addr_list
;
tree
acquire_fn
,
release_fn
,
abort_fn
;
tree
flag
,
begin
;
...
...
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