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
ee20f4ee
Commit
ee20f4ee
authored
Jul 24, 2003
by
Nathan Sidwell
Committed by
Nathan Sidwell
Jul 24, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl.c (reshape_init): Remove unreachable code.
From-SVN: r69741
parent
a4878735
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl.c
+1
-7
No files found.
gcc/cp/ChangeLog
View file @
ee20f4ee
2003
-
07
-
24
Nathan
Sidwell
<
nathan
@
codesourcery.com
>
*
decl.c
(
reshape_init
):
Remove
unreachable
code.
2003
-
07
-
24
Kriang
Lerdsuwanakij
<
lerdsuwa
@
users.sourceforge.net
>
2003
-
07
-
24
Kriang
Lerdsuwanakij
<
lerdsuwa
@
users.sourceforge.net
>
PR
c
++/
11513
PR
c
++/
11513
...
...
gcc/cp/decl.c
View file @
ee20f4ee
...
@@ -7465,13 +7465,7 @@ reshape_init (tree type, tree *initp)
...
@@ -7465,13 +7465,7 @@ reshape_init (tree type, tree *initp)
old_init_value
=
(
TREE_CODE
(
*
initp
)
==
TREE_LIST
old_init_value
=
(
TREE_CODE
(
*
initp
)
==
TREE_LIST
?
TREE_VALUE
(
*
initp
)
:
old_init
);
?
TREE_VALUE
(
*
initp
)
:
old_init
);
/* For some parse errors, OLD_INIT_VALUE may be NULL. */
my_friendly_assert
(
old_init_value
,
20030723
);
if
(
!
old_init_value
)
{
my_friendly_assert
(
TREE_CODE
(
old_init
)
==
TREE_LIST
,
20021202
);
TREE_VALUE
(
old_init
)
=
error_mark_node
;
return
old_init
;
}
/* If the initializer is brace-enclosed, pull initializers from the
/* If the initializer is brace-enclosed, pull initializers from the
enclosed elements. Advance past the brace-enclosed initializer
enclosed elements. Advance past the brace-enclosed initializer
...
...
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