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
07b983cd
Commit
07b983cd
authored
Oct 10, 1999
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checked in wrong version
From-SVN: r29892
parent
c3693cb1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
gcc/c-decl.c
+2
-2
gcc/cp/class.c
+3
-2
No files found.
gcc/c-decl.c
View file @
07b983cd
...
...
@@ -5529,8 +5529,8 @@ finish_struct (t, fieldlist, attributes)
/* Delete all zero-width bit-fields from the fieldlist */
{
tree
*
fieldlistp
=
&
fieldlist
;
while
(
*
fieldlistp
&&
TREE_CODE
(
*
fieldlistp
)
==
FIELD_DECL
)
if
(
DECL_INITIAL
(
*
fieldlistp
))
while
(
*
fieldlistp
)
if
(
TREE_CODE
(
*
fieldlistp
)
==
FIELD_DECL
&&
DECL_INITIAL
(
*
fieldlistp
))
*
fieldlistp
=
TREE_CHAIN
(
*
fieldlistp
);
else
fieldlistp
=
&
TREE_CHAIN
(
*
fieldlistp
);
...
...
gcc/cp/class.c
View file @
07b983cd
...
...
@@ -3865,8 +3865,9 @@ finish_struct_1 (t)
/* Delete all zero-width bit-fields from the fieldlist */
{
tree
*
fieldsp
=
&
fields
;
while
(
*
fieldsp
&&
TREE_CODE
(
*
fieldsp
)
==
FIELD_DECL
)
if
(
DECL_C_BIT_FIELD
(
*
fieldsp
)
&&
DECL_INITIAL
(
*
fieldsp
))
while
(
*
fieldsp
)
if
(
TREE_CODE
(
*
fieldsp
)
==
FIELD_DECL
&&
DECL_C_BIT_FIELD
(
*
fieldsp
)
&&
DECL_INITIAL
(
*
fieldsp
))
*
fieldsp
=
TREE_CHAIN
(
*
fieldsp
);
else
fieldsp
=
&
TREE_CHAIN
(
*
fieldsp
);
...
...
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