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
500abaa8
Commit
500abaa8
authored
May 20, 2002
by
Andreas Jaeger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* init.c (build_default_init): Remove unused variable.
From-SVN: r53660
parent
ffd56a64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
23 deletions
+25
-23
gcc/cp/ChangeLog
+25
-21
gcc/cp/init.c
+0
-2
No files found.
gcc/cp/ChangeLog
View file @
500abaa8
2002-05-20 Andreas Jaeger <aj@suse.de>
* init.c (build_default_init): Remove unused variable.
2002-05-20 Alexandre Oliva <aoliva@redhat.com>
2002-05-20 Alexandre Oliva <aoliva@redhat.com>
* call.c (any_strictly_viable): New.
* call.c (any_strictly_viable): New.
...
@@ -148,11 +152,11 @@
...
@@ -148,11 +152,11 @@
PR c++/6486
PR c++/6486
* method.c (do_build_copy_constructor): Avoid building
* method.c (do_build_copy_constructor): Avoid building
cv-qualified reference types.
cv-qualified reference types.
2002-04-29 Nathan Sidwell <nathan@codesourcery.com>
2002-04-29 Nathan Sidwell <nathan@codesourcery.com>
PR c++/5719
PR c++/5719
* decl.c (grok_op_properties): Assignment ops don't have to return
* decl.c (grok_op_properties): Assignment ops don't have to return
by value. operator% should.
by value. operator% should.
2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
...
@@ -304,7 +308,7 @@
...
@@ -304,7 +308,7 @@
(finish_init_stmts): Set STMT_EXPR_NO_SCOPE.
(finish_init_stmts): Set STMT_EXPR_NO_SCOPE.
* semantics.c (begin_gobal_stmt_expr): Adjust call to
* semantics.c (begin_gobal_stmt_expr): Adjust call to
expand_start_stmt_expr.
expand_start_stmt_expr.
2002-04-15 Mark Mitchell <mark@codesourcery.com>
2002-04-15 Mark Mitchell <mark@codesourcery.com>
* decl.c (register_dtor_fn): Pass the address of dso_handle, not
* decl.c (register_dtor_fn): Pass the address of dso_handle, not
...
@@ -355,11 +359,11 @@
...
@@ -355,11 +359,11 @@
* typeck.c (type_after_usual_arithmetic_conversions):
* typeck.c (type_after_usual_arithmetic_conversions):
If two types have the same variant, return immediately.
If two types have the same variant, return immediately.
When two floating-point operands are the same precision:
When two floating-point operands are the same precision:
convert to float if one of the operands is float;
convert to float if one of the operands is float;
if neither operand is one of the standard types, return the type
if neither operand is one of the standard types, return the type
of the first operand.
of the first operand.
2002-04-10 Nathan Sidwell <nathan@codesourcery.com>
2002-04-10 Nathan Sidwell <nathan@codesourcery.com>
PR c++/5507
PR c++/5507
...
@@ -415,15 +419,15 @@
...
@@ -415,15 +419,15 @@
* init.c (build_member_call): Use build_scoped_ref.
* init.c (build_member_call): Use build_scoped_ref.
(resolve_offset_ref): Likewise.
(resolve_offset_ref): Likewise.
* call.c (build_scoped_method_call): Likewise.
* call.c (build_scoped_method_call): Likewise.
* tree.c (maybe_dummy_object): Kludge around current_class_type being
* tree.c (maybe_dummy_object): Kludge around current_class_type being
wrong.
wrong.
* typeck2.c (build_scoped_ref): Return the binfo via binfo_p parm.
* typeck2.c (build_scoped_ref): Return the binfo via binfo_p parm.
* cp-tree.h: Adjust.
* cp-tree.h: Adjust.
* init.c (push_base_cleanups): Just use build_scoped_method_call.
* init.c (push_base_cleanups): Just use build_scoped_method_call.
PR c++/6179
PR c++/6179
* method.c (implicitly_declare_fn): Pass unqualified type to
* method.c (implicitly_declare_fn): Pass unqualified type to
synthesize_exception_spec.
synthesize_exception_spec.
2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
...
@@ -438,7 +442,7 @@
...
@@ -438,7 +442,7 @@
* semantics.c (finish_eh_cleanup): New fn.
* semantics.c (finish_eh_cleanup): New fn.
* cp-tree.h: Add prototype.
* cp-tree.h: Add prototype.
* init.c (perform_member_init, expand_cleanup_for_base): Use
* init.c (perform_member_init, expand_cleanup_for_base): Use
finish_eh_cleanup.
finish_eh_cleanup.
* cp-tree.def (SUBOBJECT, CTOR_STMT): Remove.
* cp-tree.def (SUBOBJECT, CTOR_STMT): Remove.
* cp-tree.h: Remove references.
* cp-tree.h: Remove references.
...
@@ -581,7 +585,7 @@
...
@@ -581,7 +585,7 @@
PR c++/4884
PR c++/4884
* call.c (build_op_delete_call): Allow for the fact the placement
* call.c (build_op_delete_call): Allow for the fact the placement
may be a COMPOUND_EXPR.
may be a COMPOUND_EXPR.
2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
* cp-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
* cp-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
...
@@ -643,7 +647,7 @@
...
@@ -643,7 +647,7 @@
PR C++/3656
PR C++/3656
* semantics.c (finish_base_specifier): Handle erronous base
* semantics.c (finish_base_specifier): Handle erronous base
classes.
classes.
2002-03-22 Zack Weinberg <zack@codesourcery.com>
2002-03-22 Zack Weinberg <zack@codesourcery.com>
...
@@ -908,7 +912,7 @@
...
@@ -908,7 +912,7 @@
* except.c: Don't include decl.h or obstack.h. Do include
* except.c: Don't include decl.h or obstack.h. Do include
tree-inline.h.
tree-inline.h.
(build_throw): Destroy temporaries from the thrown
(build_throw): Destroy temporaries from the thrown
expression before calling __cxa_throw. Construct a thrown
expression before calling __cxa_throw. Construct a thrown
temporary directly into the exception object.
temporary directly into the exception object.
(stabilize_throw_expr): New function.
(stabilize_throw_expr): New function.
(wrap_cleanups_r): New function.
(wrap_cleanups_r): New function.
...
@@ -939,7 +943,7 @@
...
@@ -939,7 +943,7 @@
the C front end but not used, or used only to permit the
the C front end but not used, or used only to permit the
compiler to link.
compiler to link.
2002-02-24 Craig Rodrigues <rodrigc@gcc.gnu.org>
2002-02-24 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR c++/4093
PR c++/4093
* cp-tree.h (SET_BINFO_MARKED): Cast false part of condition
* cp-tree.h (SET_BINFO_MARKED): Cast false part of condition
...
@@ -993,7 +997,7 @@
...
@@ -993,7 +997,7 @@
2002-02-19 Jason Merrill <jason@redhat.com>
2002-02-19 Jason Merrill <jason@redhat.com>
ABI change: Mangle `void (A::*)() const' as
ABI change: Mangle `void (A::*)() const' as
M1AKFvvE, not MK1AFvvE.
M1AKFvvE, not MK1AFvvE.
* mangle.c (write_function_type): Write cv-quals for member
* mangle.c (write_function_type): Write cv-quals for member
function type here.
function type here.
...
@@ -1068,14 +1072,14 @@
...
@@ -1068,14 +1072,14 @@
(coerce_template_template_parms, convert_template_argument,
(coerce_template_template_parms, convert_template_argument,
coerce_template_parms, maybe_get_template_decl_from_type_decl,
coerce_template_parms, maybe_get_template_decl_from_type_decl,
lookup_template_class, tsubst_friend_function, tsubst_friend_class,
lookup_template_class, tsubst_friend_function, tsubst_friend_class,
instantiate_class_template, tsubst_template_arg_vector,
instantiate_class_template, tsubst_template_arg_vector,
tsubst_template_parms, tsubst_aggr_type, tsubst_default_argument,
tsubst_template_parms, tsubst_aggr_type, tsubst_default_argument,
tsubst_decl, tsubst_arg_types, tsubst_function_type,
tsubst_decl, tsubst_arg_types, tsubst_function_type,
tsubst_call_declarator_parms, tsubst, tsubst_copy, tsubst_expr,
tsubst_call_declarator_parms, tsubst, tsubst_copy, tsubst_expr,
instantiate_template, fn_type_unification,
instantiate_template, fn_type_unification,
resolve_overloaded_unification, verify_class_unification,
resolve_overloaded_unification, verify_class_unification,
unify, get_bindings_real, do_type_instantiation,
unify, get_bindings_real, do_type_instantiation,
regenerate_decl_from_template, instantiate_decl,
regenerate_decl_from_template, instantiate_decl,
tsubst_initializer_list, tsubst_enum,
tsubst_initializer_list, tsubst_enum,
get_mostly_instantiated_function_type,
get_mostly_instantiated_function_type,
invalid_nontype_parm_type_p): Likewise.
invalid_nontype_parm_type_p): Likewise.
...
@@ -1136,7 +1140,7 @@
...
@@ -1136,7 +1140,7 @@
2002-02-01 Jason Merrill <jason@redhat.com>
2002-02-01 Jason Merrill <jason@redhat.com>
PR c++/4872
PR c++/4872
* decl.c (finish_function): Warn about a non-void function with
* decl.c (finish_function): Warn about a non-void function with
no return statement and no abnormal exit.
no return statement and no abnormal exit.
* cp-tree.h (struct cp_language_function): Add returns_abnormally.
* cp-tree.h (struct cp_language_function): Add returns_abnormally.
(current_function_returns_abnormally): New macro.
(current_function_returns_abnormally): New macro.
...
...
gcc/cp/init.c
View file @
500abaa8
...
@@ -213,8 +213,6 @@ static tree
...
@@ -213,8 +213,6 @@ static tree
build_default_init
(
type
)
build_default_init
(
type
)
tree
type
;
tree
type
;
{
{
tree
init
=
NULL_TREE
;
if
(
TYPE_NEEDS_CONSTRUCTING
(
type
))
if
(
TYPE_NEEDS_CONSTRUCTING
(
type
))
/* Other code will handle running the default constructor. We can't do
/* Other code will handle running the default constructor. We can't do
anything with a CONSTRUCTOR for arrays here, as that would imply
anything with a CONSTRUCTOR for arrays here, as that would imply
...
...
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