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
2fbfe9b8
Commit
2fbfe9b8
authored
Dec 03, 1999
by
Mike Stump
Committed by
Mike Stump
Dec 03, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix p24939.
From-SVN: r30765
parent
38a7fbac
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
gcc/cp/ChangeLog
+4
-0
gcc/cp/init.c
+3
-0
gcc/testsuite/g++.old-deja/g++.mike/s24939.C
+13
-0
No files found.
gcc/cp/ChangeLog
View file @
2fbfe9b8
1999-12-02 Mike Stump <mrs@wrs.com>
* init.c (perform_member_init): Handle parse errors better.
1999-12-01 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (min_tree_cons): Remove.
...
...
gcc/cp/init.c
View file @
2fbfe9b8
...
...
@@ -144,6 +144,9 @@ perform_member_init (member, name, init, explicit)
decl
=
build_component_ref
(
current_class_ref
,
name
,
NULL_TREE
,
explicit
);
if
(
decl
==
error_mark_node
)
return
;
/* Deal with this here, as we will get confused if we try to call the
assignment op for an anonymous union. This can happen in a
synthesized copy constructor. */
...
...
gcc/testsuite/g++.old-deja/g++.mike/s24939.C
0 → 100644
View file @
2fbfe9b8
// Build don't link:
class
A
;
class
B
{
public
:
B
();
private
:
A
a
;
// ERROR -
};
class
A
{
};
B
::
B
()
{
}
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