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
5c6e1aa1
Commit
5c6e1aa1
authored
26 years ago
by
Martin v. Löwis
Committed by
Martin v. Löwis
26 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* class.c (finish_struct_1): Always reset TYPE_FIELDS for empty classes.
From-SVN: r25944
parent
9747e84a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/cp/ChangeLog
+5
-0
gcc/cp/class.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
5c6e1aa1
1999-03-24 Martin von Lwis <loewis@informatik.hu-berlin.de>
* class.c (finish_struct_1): Always reset TYPE_FIELDS for empty
classes.
1999-03-24 Jason Merrill <jason@yorick.cygnus.com>
* decl.c (lookup_name_real): Do nested field lookup regardless of
...
...
This diff is collapsed.
Click to expand it.
gcc/cp/class.c
View file @
5c6e1aa1
...
...
@@ -3985,7 +3985,7 @@ finish_struct_1 (t, warn_anon)
if
(
n_baseclasses
)
/* layout_basetypes will remove the base subobject fields. */
max_has_virtual
=
layout_basetypes
(
t
,
max_has_virtual
);
else
if
(
empty
)
if
(
empty
)
TYPE_FIELDS
(
t
)
=
fields
;
my_friendly_assert
(
TYPE_FIELDS
(
t
)
==
fields
,
981117
);
...
...
This diff is collapsed.
Click to expand it.
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