2017-03-09 09:35:37 +01:00
|
|
|
|
2017-03-09 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79900 - ICE in strip_typedefs
|
|
|
|
|
* tree.c (strip_typedefs): Skip the attribute handling if T is
|
|
|
|
|
a variant type which hasn't been updated yet.
|
|
|
|
|
|
2017-03-09 02:01:18 +01:00
|
|
|
|
2017-03-08 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79797 - ICE with self-reference in array DMI.
|
|
|
|
|
* constexpr.c (lookup_placeholder): Split out...
|
|
|
|
|
(cxx_eval_constant_expression): ...from here.
|
|
|
|
|
|
2017-03-07 20:07:44 +01:00
|
|
|
|
2017-03-07 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/79834
|
|
|
|
|
* parser.c (cp_parser_omp_cancellation_point,
|
|
|
|
|
cp_parser_omp_target_enter_data, cp_parser_omp_target_exit_data,
|
|
|
|
|
cp_parser_omp_target_update): Change "may only be used in compound
|
|
|
|
|
statements" diagnostics, such that the same translatable string is
|
|
|
|
|
used for all pragmas.
|
|
|
|
|
(cp_parser_pragma): Likewise. Use error_at instead of
|
|
|
|
|
cp_parser_error for that diagnostics.
|
|
|
|
|
|
2017-03-06 18:38:42 +01:00
|
|
|
|
2017-03-06 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79796 - ICE with NSDMI and this pointer
|
|
|
|
|
* call.c (build_over_call): Handle NSDMI with a 'this' by calling
|
|
|
|
|
replace_placeholders.
|
|
|
|
|
|
2017-03-06 16:43:51 +01:00
|
|
|
|
2017-03-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79822
|
|
|
|
|
* constexpr.c (cxx_eval_statement_list): Treat empty ({ }) like
|
|
|
|
|
({ (void) 0; }).
|
|
|
|
|
|
2017-03-06 15:44:44 +01:00
|
|
|
|
2017-03-06 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
Revert "Allow deduction guides to look into primary template."
|
|
|
|
|
* cp-tree.h, parser.c, pt.c, search.c: Revert.
|
|
|
|
|
|
2017-03-05 18:13:16 +01:00
|
|
|
|
2017-03-05 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
|
|
PR c++/70266
|
|
|
|
|
* except.c (build_must_not_throw_expr): Perform the implicit
|
|
|
|
|
conversions on the condition.
|
|
|
|
|
|
2017-03-04 09:12:28 +01:00
|
|
|
|
2017-03-03 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2017-03-04 20:21:38 +01:00
|
|
|
|
* mangle.c (mangle_decl): Check -Wnoexcept-type instead of
|
|
|
|
|
-Wc++1z-compat.
|
|
|
|
|
|
2017-03-04 09:12:28 +01:00
|
|
|
|
Core issues 2273 and 2277
|
|
|
|
|
* call.c (joust): Adjust using-declaration tiebreaker to handle
|
|
|
|
|
the intermediate base case.
|
|
|
|
|
* method.c (strip_inheriting_ctors): Just return the argument if
|
|
|
|
|
!flag_new_inheriting_ctors.
|
|
|
|
|
|
2017-03-03 12:30:32 +01:00
|
|
|
|
2017-03-03 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR c++/79825
|
|
|
|
|
* cp-gimplify.c (simple_empty_class_p): Handle EMPTY_CLASS_EXPR.
|
|
|
|
|
|
2017-03-03 10:58:10 +01:00
|
|
|
|
2017-03-03 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79791
|
|
|
|
|
* typeck.c (string_conv_p): In C++11, always call pedwarn with
|
|
|
|
|
OPT_Wwrite_strings.
|
|
|
|
|
|
2017-03-03 02:26:47 +01:00
|
|
|
|
2017-03-02 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2017-03-03 08:31:54 +01:00
|
|
|
|
Update overload resolution with deduction guides.
|
|
|
|
|
* pt.c (do_class_deduction): Always build the copy guide.
|
|
|
|
|
(copy_guide_p, template_guide_p): New.
|
|
|
|
|
(build_deduction_guide): Remember the original constructor.
|
|
|
|
|
* call.c (joust): Prefer the copy guide and non-template guides.
|
|
|
|
|
|
2017-03-03 02:26:47 +01:00
|
|
|
|
Allow deduction guides to look into primary template.
|
|
|
|
|
* cp-tree.h (struct saved_scope): Add deduction_guide_type.
|
|
|
|
|
(struct cp_decl_specifier_seq): Add constructor_p.
|
|
|
|
|
* parser.c (cp_parser_decl_specifier_seq): Set constructor_p.
|
|
|
|
|
(cp_parser_init_declarator): Check it. Set ctor_dtor_or_conv_p.
|
|
|
|
|
Clear deduction_guide_type. Don't handle deduction guide names.
|
|
|
|
|
(cp_parser_declarator): Don't clear ctor_dtor_or_conv_p.
|
|
|
|
|
(cp_parser_direct_declarator): Likewise. Handle deduction guides.
|
|
|
|
|
(cp_parser_member_declaration, cp_parser_cache_defarg)
|
|
|
|
|
(cp_parser_objc_class_ivars): Set ctor_dtor_or_conv_p.
|
|
|
|
|
* pt.c (tsubst_copy, tsubst_copy_and_build): Revert last change.
|
|
|
|
|
(build_deduction_guide): Set deduction_guide_type.
|
|
|
|
|
(dependent_scope_p): Check deduction_guide_type.
|
|
|
|
|
* search.c (lookup_member): Likewise.
|
|
|
|
|
|
2017-03-02 22:31:40 +01:00
|
|
|
|
2017-03-02 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79782
|
|
|
|
|
* init.c (mark_exp_read_r): New function.
|
|
|
|
|
(emit_mem_initializers): Use cp_walk_tree with mark_exp_read_r on
|
|
|
|
|
whole arguments instead of plain mark_exp_read on TREE_LIST values.
|
|
|
|
|
|
2017-03-02 02:58:30 +01:00
|
|
|
|
2017-03-01 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
Class template argument deduction in new-expression
|
|
|
|
|
* init.c (build_new): Handle deduction from no initializer.
|
|
|
|
|
* parser.c (cp_parser_new_expression): Don't require a single
|
|
|
|
|
expression for class template deduction.
|
|
|
|
|
* typeck2.c (cxx_incomplete_type_diagnostic): Fix diagnostic for
|
|
|
|
|
class template placeholder.
|
|
|
|
|
* pt.c (tsubst_copy) [TEMPLATE_DECL]: Handle dependent context.
|
|
|
|
|
(tsubst_copy_and_build) [TEMPLATE_ID_EXPR]: Handle SCOPE_REF.
|
|
|
|
|
(redeclare_class_template): Set TEMPLATE_TYPE_PARM_FOR_CLASS.
|
|
|
|
|
|
2017-03-01 09:35:55 +01:00
|
|
|
|
2017-03-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79746
|
|
|
|
|
* init.c (emit_mem_initializers): When not constructing vbases of
|
|
|
|
|
abstract classes, mark arguments as read for
|
|
|
|
|
-Wunused-but-set-parameter.
|
|
|
|
|
|
2017-03-01 00:57:09 +01:00
|
|
|
|
2017-02-28 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
Class template argument deduction refinements
|
|
|
|
|
* call.c (joust): Move deduction guide tiebreaker down.
|
|
|
|
|
* decl.c (start_decl_1, cp_finish_decl, grokdeclarator): Allow class
|
|
|
|
|
deduction with no initializer.
|
|
|
|
|
* pt.c (build_deduction_guide): Handle implicit default/copy ctor.
|
|
|
|
|
(do_class_deduction): Use that rather than special case.
|
|
|
|
|
(do_auto_deduction): Handle null initializer.
|
|
|
|
|
|
2017-02-28 16:25:19 +01:00
|
|
|
|
2017-02-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* decl.c (find_decomp_class_base): Use cond ? G_("...") : G_("...")
|
|
|
|
|
instead of just cond ? "..." : "...".
|
|
|
|
|
(grokdeclarator): Likewise.
|
|
|
|
|
(build_enumerator): Likewise.
|
|
|
|
|
* init.c (build_new_1): Likewise.
|
|
|
|
|
* call.c (build_new_method_call_1): Likewise.
|
|
|
|
|
* parser.c: Include intl.h.
|
|
|
|
|
(cp_parser_oacc_enter_exit_data): Use %s and ternary operator only for
|
|
|
|
|
"enter"/"exit" keyword.
|
|
|
|
|
(cp_finalize_oacc_routine): Don't use %s to supply portions of the
|
|
|
|
|
message.
|
|
|
|
|
|
2017-02-27 21:17:17 +01:00
|
|
|
|
2017-02-27 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/71568 - SFINAE forming pointer to member function
|
|
|
|
|
* init.c (build_offset_ref): Check the return value of
|
|
|
|
|
perform_or_defer_access_check.
|
|
|
|
|
|
2017-02-27 14:39:36 +01:00
|
|
|
|
2017-02-27 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
* decl.c (expand_static_init): Add missing } in a comment.
|
|
|
|
|
|
2017-02-27 14:29:35 +01:00
|
|
|
|
2017-02-27 Volker Reichelt <v.reichelt@netcologne.de>
|
|
|
|
|
|
|
|
|
|
* init.c: Include intl.h.
|
|
|
|
|
(build_new_1): Move message strings into pedwarn to make them
|
|
|
|
|
-Wformat-security friendly. Mark string for translation.
|
|
|
|
|
* pt.c (tsubst_copy_and_build): Mark string for translation.
|
|
|
|
|
Make the pointer const.
|
|
|
|
|
* semantics.c (finish_id_expression): Mark strings for translation.
|
|
|
|
|
|
2017-02-25 09:33:17 +01:00
|
|
|
|
2017-02-25 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* call.c (build_op_delete_call): Make msg1 and msg2 const.
|
|
|
|
|
|
2017-02-24 21:41:54 +01:00
|
|
|
|
2017-02-24 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79588
|
|
|
|
|
* call.c (build_over_call): Call check_function_arguments even for
|
|
|
|
|
-Wrestrict, adjust check_function_arguments caller.
|
|
|
|
|
* parser.c (cp_parser_postfix_expression): Don't handle -Wrestrict
|
|
|
|
|
here.
|
|
|
|
|
* typeck.c (cp_build_function_call_vec): Adjust
|
|
|
|
|
check_function_arguments caller.
|
|
|
|
|
|
2017-02-24 19:54:13 +01:00
|
|
|
|
2017-02-24 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR translation/79705
|
|
|
|
|
* decl.c (check_redeclaration_exception_specification): Mark a string
|
|
|
|
|
for translation. Make the pointer const.
|
|
|
|
|
|
2017-02-24 00:20:58 +01:00
|
|
|
|
2017-02-23 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79361
|
|
|
|
|
* pt.c (register_specialization): Check duplicate_decls return value
|
|
|
|
|
for error_mark_node and pass it back.
|
|
|
|
|
|
2017-02-22 23:55:26 +01:00
|
|
|
|
2017-02-22 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2017-02-23 02:15:43 +01:00
|
|
|
|
PR c++/79679 - missing destructor for argument
|
|
|
|
|
* call.c (build_over_call): Don't pass tf_no_cleanup to argument
|
|
|
|
|
conversions.
|
|
|
|
|
|
2017-02-22 23:55:26 +01:00
|
|
|
|
* pt.c (do_class_deduction): Handle 0 argument case.
|
|
|
|
|
|
2017-02-22 23:36:20 +01:00
|
|
|
|
2017-02-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79664
|
|
|
|
|
* parser.c (cp_parser_omp_teams, cp_parser_omp_target): Use
|
|
|
|
|
SET_EXPR_LOCATION on OMP_TARGET/OMP_TEAMS tree.
|
|
|
|
|
* constexpr.c (potential_constant_expression_1): Handle
|
|
|
|
|
OMP_*, OACC_* and CILK_* trees. Use error_at with
|
|
|
|
|
EXPR_LOC_OR_LOC (t, input_location) computed early
|
|
|
|
|
instead of error, or error_at with location_of (t).
|
|
|
|
|
|
2017-02-22 20:31:49 +01:00
|
|
|
|
2017-02-22 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79653
|
|
|
|
|
* parser.c (cp_parser_std_attribute_spec): Don't build the attribute
|
|
|
|
|
if the alignas expression is erroneous.
|
|
|
|
|
* pt.c (tsubst_attribute): If tsubst_pack_expansion fails, return
|
|
|
|
|
error_mark_node.
|
|
|
|
|
|
2017-02-22 20:33:13 +01:00
|
|
|
|
PR c++/79657
|
|
|
|
|
* semantics.c (finish_underlying_type): Bail out for incomplete enums.
|
|
|
|
|
|
2017-02-21 21:50:57 +01:00
|
|
|
|
2017-02-21 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2017-02-21 21:51:03 +01:00
|
|
|
|
PR c++/50308 - wrong deprecated warning with ADL
|
|
|
|
|
PR c++/17729 - duplicate deprecated warning
|
|
|
|
|
* semantics.c (finish_id_expression): Only call mark_used on a
|
|
|
|
|
function if we aren't building a call.
|
|
|
|
|
|
2017-02-21 21:50:57 +01:00
|
|
|
|
PR c++/41727 - ICE with partial spec of partial instantiation
|
|
|
|
|
* pt.c (process_partial_specialization): For now, don't check more
|
|
|
|
|
specialized if there is more than one level of args.
|
|
|
|
|
|
2017-02-21 21:23:09 +01:00
|
|
|
|
2017-02-21 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79535
|
|
|
|
|
* cp-tree.h (maybe_reject_flexarray_init): Declare.
|
|
|
|
|
* init.c (maybe_reject_flexarray_init): No longer static.
|
|
|
|
|
Add check for current_function_decl.
|
|
|
|
|
* parser.c (cp_parser_late_parse_one_default_arg): Reject
|
|
|
|
|
a default mem-initializer for a flexible array.
|
|
|
|
|
|
2017-02-21 19:00:35 +01:00
|
|
|
|
2017-02-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79654
|
|
|
|
|
* decl.c (cp_finish_decomp): Don't set decl's type to error_mark_node
|
|
|
|
|
on error.
|
|
|
|
|
* pt.c (tsubst_decomp_names): Return error_mark_node if the first
|
|
|
|
|
decl after the decomposition artificial decl has error_mark_node.
|
|
|
|
|
* decl2.c (prune_vars_needing_no_initialization): Use error_operand_p
|
|
|
|
|
instead of just == error_mark_node comparison.
|
|
|
|
|
|
2017-02-21 18:48:57 +01:00
|
|
|
|
2017-02-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-21 18:59:07 +01:00
|
|
|
|
PR sanitizer/79589
|
|
|
|
|
* decl.c: Include gimplify.h.
|
|
|
|
|
(cp_finish_decomp): Make sure there is no sharing of trees
|
|
|
|
|
in between DECL_VALUE_EXPR of decomposition decls.
|
|
|
|
|
|
2017-02-21 18:57:23 +01:00
|
|
|
|
PR c++/79655
|
|
|
|
|
* constexpr.c (cxx_eval_array_reference): Diagnose negative subscript.
|
|
|
|
|
|
2017-02-21 18:48:57 +01:00
|
|
|
|
PR c++/79639
|
|
|
|
|
* constexpr.c (cxx_eval_store_expression): If *valp is a PTRMEM_CST,
|
|
|
|
|
call cplus_expand_constant on it first.
|
|
|
|
|
|
2017-02-20 07:03:45 +01:00
|
|
|
|
2017-02-19 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2017-02-20 19:18:30 +01:00
|
|
|
|
PR c++/78139 - destructor needed by new-expression
|
|
|
|
|
* call.c (build_special_member_call): Use tf_no_cleanup.
|
|
|
|
|
|
2017-02-20 07:06:39 +01:00
|
|
|
|
PR c++/78282 - auto template and pack expansion
|
|
|
|
|
* pt.c (find_parameter_packs_r): Don't walk into the type of
|
|
|
|
|
templates other than template template-parameters.
|
|
|
|
|
|
2017-02-20 07:06:20 +01:00
|
|
|
|
PR c++/79606 - ICE with this->base_member in NSDMI
|
|
|
|
|
* class.c (build_base_path): Check processing_template_decl.
|
|
|
|
|
|
2017-02-20 07:06:03 +01:00
|
|
|
|
PR c++/79607 - ICE with T{} initializer
|
|
|
|
|
* decl.c (type_dependent_init_p): Check the type of a CONSTRUCTOR.
|
|
|
|
|
|
2017-02-20 07:05:54 +01:00
|
|
|
|
PR c++/79566 - elaborated-type-specifier in range for
|
|
|
|
|
* parser.c (cp_parser_simple_declaration): Fix check for type
|
|
|
|
|
definition.
|
|
|
|
|
|
2017-02-20 07:05:45 +01:00
|
|
|
|
PR c++/79400 - confusing suggestion of 'noexcept'
|
|
|
|
|
* parser.c (cp_parser_exception_specification_opt): Remove
|
|
|
|
|
suggestion for deprecated dynamic exception-specification.
|
|
|
|
|
|
2017-02-20 07:05:38 +01:00
|
|
|
|
PR c++/79470 - partial ordering with reference parameters
|
|
|
|
|
* pt.c (unify) [INDIRECT_REF]: Handle pack expansions.
|
|
|
|
|
|
2017-02-20 07:05:31 +01:00
|
|
|
|
PR c++/79500 - ICE with non-template deduction guide
|
|
|
|
|
* pt.c (do_class_deduction): Use STRIP_TEMPLATE rather than
|
|
|
|
|
DECL_TEMPLATE_RESULT.
|
|
|
|
|
|
2017-02-20 07:05:08 +01:00
|
|
|
|
PR c++/79580 - ICE with compound literal
|
|
|
|
|
* parser.c (cp_parser_class_head): If we're in the middle of an
|
|
|
|
|
expression, use ts_within_enclosing_non_class.
|
|
|
|
|
|
2017-02-20 07:03:45 +01:00
|
|
|
|
PR c++/79503 - inherited ctor taking base class
|
|
|
|
|
* call.c (add_function_candidate): Also check that
|
|
|
|
|
DECL_INHERITED_CTOR_BASE is reference-related to the parameter type.
|
|
|
|
|
|
2017-02-19 18:43:41 +01:00
|
|
|
|
2017-02-19 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79380
|
|
|
|
|
* typeck.c (cxx_alignas_expr): Reject a non-integral alignas
|
|
|
|
|
argument.
|
|
|
|
|
|
2017-02-19 15:13:53 +01:00
|
|
|
|
2017-02-19 Eric Fiselier <eric@efcs.ca>
|
|
|
|
|
Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/69523
|
|
|
|
|
* parser.c (cp_parser_unqualified_id): Use OPT_Wliteral_suffix to
|
|
|
|
|
control warning about literal suffix identifiers without a leading
|
|
|
|
|
underscore.
|
|
|
|
|
|
2017-02-17 17:50:16 +01:00
|
|
|
|
2017-02-17 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2017-02-17 23:05:18 +01:00
|
|
|
|
PR c++/79508 - lookup error with member template
|
|
|
|
|
* parser.c (cp_parser_template_name): Clear
|
|
|
|
|
parser->context->object_type if we aren't doing lookup.
|
|
|
|
|
|
2017-02-17 21:28:38 +01:00
|
|
|
|
PR c++/78690 - ICE with using and global type with same name
|
|
|
|
|
* pt.c (type_dependent_object_expression_p): True for
|
|
|
|
|
IDENTIFIER_NODE.
|
|
|
|
|
|
2017-02-17 19:42:43 +01:00
|
|
|
|
PR c++/79549 - C++17 ICE with non-type auto template parameter pack
|
|
|
|
|
* pt.c (convert_template_argument): Just return an auto arg pack.
|
|
|
|
|
(tsubst_template_args): Don't tsubst an auto pack type.
|
|
|
|
|
|
2017-02-17 19:42:37 +01:00
|
|
|
|
PR c++/79556 - C++17 ICE with non-type auto
|
|
|
|
|
* pt.c (do_auto_deduction): Don't try to deduce from null type.
|
|
|
|
|
|
2017-02-17 17:50:16 +01:00
|
|
|
|
PR c++/79533 - C++17 ICE with temporary cast to reference
|
|
|
|
|
* call.c (build_over_call): Conversion to a reference prevents copy
|
|
|
|
|
elision.
|
|
|
|
|
|
2017-02-16 20:49:19 +01:00
|
|
|
|
2017-02-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79502 - lost nodiscard attribute
|
|
|
|
|
* pt.c (apply_late_template_attributes): Do apply non-dependent
|
|
|
|
|
attributes to types.
|
|
|
|
|
|
2017-02-16 17:42:00 +01:00
|
|
|
|
2017-02-16 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2017-02-16 17:42:06 +01:00
|
|
|
|
PR c++/78572 - ICE with self-modifying array initializer
|
|
|
|
|
* constexpr.c (cxx_eval_store_expression): The object we're
|
|
|
|
|
initializing is outside the constant-expression.
|
|
|
|
|
(cxx_eval_call_expression): Set ctx->call.
|
|
|
|
|
|
2017-02-16 17:42:00 +01:00
|
|
|
|
PR c++/79050 - ICE with undeduced auto and LTO
|
|
|
|
|
* decl.c (poplevel): Remove undeduced auto decls.
|
|
|
|
|
|
2017-02-16 13:02:24 +01:00
|
|
|
|
2017-02-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79512
|
|
|
|
|
* parser.c (cp_parser_omp_target): For -fopenmp-simd
|
|
|
|
|
ignore #pragma omp target even when not followed by identifier.
|
|
|
|
|
|
2017-02-15 21:29:08 +01:00
|
|
|
|
2017-02-15 Jason Merrill <jason@redhat.com>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79464 - ICE in IPA with omitted constructor parms
|
|
|
|
|
* class.c (build_clone): Also omit parms from TYPE_ARG_TYPES.
|
|
|
|
|
(adjust_clone_args): Adjust.
|
|
|
|
|
(add_method): Remember omitted parms.
|
|
|
|
|
* call.c (add_function_candidate): Likewise.
|
|
|
|
|
* mangle.c (write_method_parms): Likewise.
|
|
|
|
|
* method.c (ctor_omit_inherited_parms): Return false if there are no
|
|
|
|
|
parms to omit.
|
|
|
|
|
|
2017-02-15 21:28:32 +01:00
|
|
|
|
2017-02-15 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79363
|
|
|
|
|
* init.c (maybe_reject_flexarray_init): New function.
|
|
|
|
|
(perform_member_init): Call it.
|
|
|
|
|
|
2017-02-15 18:09:18 +01:00
|
|
|
|
2017-02-15 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-15 18:10:40 +01:00
|
|
|
|
PR c++/79301
|
|
|
|
|
* parser.c (cp_parser_std_attribute): Don't pedwarn about
|
|
|
|
|
[[deprecated]] with -std=c++11 and [[fallthrough]] with
|
|
|
|
|
-std=c++11 and -std=c++14.
|
|
|
|
|
|
2017-02-15 18:09:18 +01:00
|
|
|
|
PR c++/79288
|
|
|
|
|
* decl.c (grokdeclarator): For static data members, handle thread_p
|
|
|
|
|
only after handling inline.
|
|
|
|
|
|
2017-02-14 18:33:21 +01:00
|
|
|
|
2017-02-14 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79420
|
|
|
|
|
PR c++/79463
|
|
|
|
|
* parser.c (cp_parser_postfix_dot_deref_expression): Avoid
|
|
|
|
|
clobbering if the postfix expression isn't an EXPR_P.
|
|
|
|
|
|
2017-02-13 23:31:12 +01:00
|
|
|
|
2017-02-13 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79461 - ICE with lambda in constexpr constructor
|
|
|
|
|
* constexpr.c (build_data_member_initialization): Ignore
|
|
|
|
|
initialization of a local variable.
|
|
|
|
|
|
2017-02-13 20:31:14 +01:00
|
|
|
|
2017-02-13 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-13 22:54:01 +01:00
|
|
|
|
* init.c (warn_placement_new_too_small): Add missing space in
|
|
|
|
|
diagnostics.
|
|
|
|
|
* parser.c (cp_parser_oacc_declare): Likewise.
|
|
|
|
|
* mangle.c (maybe_check_abi_tags): Likewise.
|
|
|
|
|
|
2017-02-13 20:31:14 +01:00
|
|
|
|
PR c++/79232
|
|
|
|
|
* typeck.c (cp_build_modify_expr): Handle properly COMPOUND_EXPRs
|
|
|
|
|
on lhs that have {PRE{DEC,INC}REMENT,MODIFY,MIN,MAX,COND}_EXPR
|
|
|
|
|
in the rightmost operand.
|
|
|
|
|
|
2017-02-13 18:42:31 +01:00
|
|
|
|
2017-02-13 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
PR c++/79296 - ICE mangling localized template instantiation
|
|
|
|
|
* decl2.c (determine_visibility): Use template fn context for
|
|
|
|
|
local class instantiations.
|
|
|
|
|
|
2017-02-11 18:29:45 +01:00
|
|
|
|
2017-02-11 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2017-02-12 04:31:02 +01:00
|
|
|
|
PR c++/77659 - ICE with new and C++14 aggregate NSDMI
|
|
|
|
|
* init.c (build_new): Make backups of any CONSTRUCTORs in init.
|
|
|
|
|
(build_new_1): Use replace_placeholders.
|
|
|
|
|
* tree.c (replace_placeholders_t): Also track whether we've seen a
|
|
|
|
|
placeholder.
|
|
|
|
|
(replace_placeholders, replace_placeholders_r): Adjust.
|
|
|
|
|
* cp-tree.h: Adjust.
|
|
|
|
|
|
2017-02-11 18:29:45 +01:00
|
|
|
|
PR c++/77790 - ICE with auto function in C++11 mode
|
|
|
|
|
* decl.c (undeduced_auto_decl): Remove C++14 limitation.
|
|
|
|
|
(require_deduced_type): Add complain parm, return bool.
|
|
|
|
|
* cp-tree.h: Adjust.
|
|
|
|
|
* decl2.c (mark_used): Use require_deduced_type.
|
|
|
|
|
|
2017-02-10 19:01:27 +01:00
|
|
|
|
2017-02-10 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2017-02-10 21:43:33 +01:00
|
|
|
|
PR c++/78908 - template ops and bitfields
|
|
|
|
|
* tree.c (build_min_non_dep): Use unlowered_expr_type.
|
|
|
|
|
|
2017-02-10 19:50:30 +01:00
|
|
|
|
PR c++/78897 - constexpr union
|
|
|
|
|
* constexpr.c (cxx_eval_store_expression): A store to a union member
|
|
|
|
|
erases a previous store to another member.
|
|
|
|
|
|
2017-02-10 19:24:36 +01:00
|
|
|
|
PR c++/71285 - member of fold-expression
|
|
|
|
|
* semantics.c (finish_unary_fold_expr)
|
|
|
|
|
(finish_binary_fold_expr): Use null type for fold-expressions.
|
|
|
|
|
|
2017-02-10 19:01:27 +01:00
|
|
|
|
PR c++/79401 - protected inherited constructor
|
|
|
|
|
* call.c (enforce_access): For inheriting constructor, find a base
|
|
|
|
|
binfo in the path we already have.
|
|
|
|
|
|
2017-02-10 17:32:19 +01:00
|
|
|
|
2017-02-10 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79435
|
|
|
|
|
* pt.c (type_dependent_expression_p): Check if the expression type
|
|
|
|
|
is null.
|
|
|
|
|
|
2017-02-10 17:33:45 +01:00
|
|
|
|
PR c++/79184
|
|
|
|
|
* cvt.c (ocp_convert): Add a sentinel against -Wint-in-bool-context
|
|
|
|
|
if warnings shouldn't be given.
|
|
|
|
|
|
2017-02-10 14:14:05 +01:00
|
|
|
|
2017-02-10 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
|
|
PR c++/71737
|
|
|
|
|
* pt.c (tsubst_decl): Don't try to preserve a typedef that names
|
|
|
|
|
an error_mark_node as type.
|
|
|
|
|
|
2017-02-09 23:12:15 +01:00
|
|
|
|
2017-02-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79143
|
|
|
|
|
* pt.c (instantiate_class_template_1): Copy CLASSTYPE_NON_AGGREGATE
|
|
|
|
|
from pattern to type.
|
|
|
|
|
|
2017-02-09 21:55:54 +01:00
|
|
|
|
2017-02-09 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79316 - default argument in deduction guide
|
|
|
|
|
PR c++/79350 - explicit deduction guide
|
|
|
|
|
* parser.c (cp_parser_constructor_declarator_p)
|
|
|
|
|
(cp_parser_direct_declarator): Parse deduction guides more like
|
|
|
|
|
constructors.
|
|
|
|
|
* cp-tree.h (enum special_function_kind): Add sfk_deduction_guide.
|
|
|
|
|
* tree.c (special_function_p): Return it.
|
|
|
|
|
* decl.c (check_special_function_return_type): Handle it.
|
|
|
|
|
(grokdeclarator, grokfndecl): Adjust.
|
|
|
|
|
(cp_finish_decl): Pass flags to do_auto_deduction.
|
|
|
|
|
* error.c (dump_decl_name): Use TFF_UNQUALIFIED_NAME.
|
|
|
|
|
* pt.c (dguide_name_p): Take a const_tree.
|
|
|
|
|
(do_class_deduction): Handle explicit.
|
|
|
|
|
(do_auto_deduction): Pass flags through.
|
|
|
|
|
(build_deduction_guide): Copy explicit flag.
|
|
|
|
|
|
2017-02-09 15:01:44 +01:00
|
|
|
|
2017-02-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-09 15:06:58 +01:00
|
|
|
|
PR c++/79429
|
|
|
|
|
* parser.c (cp_parser_omp_ordered): Don't check for non-pragma_stmt
|
|
|
|
|
non-pragma_compound context here.
|
|
|
|
|
(cp_parser_omp_target): Likewise.
|
|
|
|
|
(cp_parser_pragma): Don't call push_omp_privatization_clauses and
|
|
|
|
|
parsing for ordered and target omp pragmas in non-pragma_stmt
|
|
|
|
|
non-pragma_compound contexts.
|
|
|
|
|
|
2017-02-09 15:01:44 +01:00
|
|
|
|
PR c/79431
|
|
|
|
|
* parser.c (cp_parser_oacc_declare): Formatting fix.
|
|
|
|
|
(cp_parser_omp_declare_target): Don't invoke symtab_node::get on
|
|
|
|
|
automatic variables.
|
|
|
|
|
|
gimplify.c (gimplify_scan_omp_clauses): No special handling for OMP_CLAUSE_TILE.
2017-02-09 Nathan Sidwell <nathan@codesourcery.com>
Cesar Philippidis <cesar@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
Chung-Lin Tang <cltang@codesourcery.com>
gcc/
* gimplify.c (gimplify_scan_omp_clauses): No special handling for
OMP_CLAUSE_TILE.
(gimplify_adjust_omp_clauses): Don't delete TILE.
(gimplify_omp_for): Deal with TILE.
* internal-fn.c (expand_GOACC_TILE): New function.
* internal-fn.def (GOACC_DIM_POS): Comment may be overly conservative.
(GOACC_TILE): New.
* omp-expand.c (struct oacc_collapse): Add tile and outer fields.
(expand_oacc_collapse_init): Add LOC paramter. Initialize tile
element fields.
(expand_oacc_collapse_vars): Add INNER parm, adjust for tiling,
avoid DIV for outermost collapse var.
(expand_oacc_for): Insert tile element loop as needed. Adjust.
Remove out of date comments, fix whitespace.
* omp-general.c (omp_extract_for_data): Deal with tiling.
* omp-general.h (enum oacc_loop_flags): Add OLF_TILE flag,
adjust OLF_DIM_BASE value.
(struct omp_for_data): Add tiling field.
* omp-low.c (scan_sharing_clauses): Allow OMP_CLAUSE_TILE.
(lower_oacc_head_mark): Add OLF_TILE as appropriate. Ensure 2 levels
for auto loops. Remove default auto determining, moved to
oacc_loop_fixed_partitions.
* omp-offload.c (struct oacc_loop): Change 'ifns' to vector of call
stmts, add e_mask field.
(oacc_dim_call): New function, abstracted out from oacc_thread_numbers.
(oacc_thread_numbers): Use oacc_dim_call.
(oacc_xform_tile): New.
(new_oacc_loop_raw): Initialize e_mask, adjust for ifns vector.
(finish_oacc_loop): Adjust for ifns vector.
(oacc_loop_discover_walk): Append loop abstraction sites to list,
add case for GOACC_TILE fns.
(oacc_loop_xform_loop): Delete.
(oacc_loop_process): Iterate over call list directly, and add
handling for GOACC_TILE fns.
(oacc_loop_fixed_partitions): Determine default auto, deal with TILE,
dump partitioning.
(oacc_loop_auto_partitions): Add outer_assign parm. Assign all but
vector partitioning to outer loops. Assign 2 partitions to loops
when available. Add TILE handling.
(oacc_loop_partition): Adjust oacc_loop_auto_partitions call.
(execite_oacc_device_lower): Process GOACC_TILE fns, ignore unknown specs.
* tree-nested.c (convert_nonlocal_omp_clauses): Allow OMP_CLAUSE_TILE.
* tree.c (omp_clause_num_ops): Adjust TILE ops.
* tree.h (OMP_CLAUSE_TILE_ITERVAR, OMP_CLAUSE_TILE_COUNT): New.
gcc/c/
* c-parser.c (c_parser_omp_clause_collapse): Disallow tile.
(c_parser_oacc_clause_tile): Disallow collapse. Fix parsing and
semantic checking.
* c-parser.c (c_parser_omp_for_loop): Accept tiling constructs.
gcc/cp/
* parser.c (cp_parser_oacc_clause_tile): Disallow collapse. Fix
parsing. Parse constant expression. Remove semantic checking.
(cp_parser_omp_clause_collapse): Disallow tile.
(cp_parser_omp_for_loop): Deal with tile clause. Don't emit a parse
error about missing for after already emitting one. Use more
conventional for idiom for unbounded loop.
* pt.c (tsubst_omp_clauses): Handle OMP_CLAUSE_TILE.
* semantics.c (finish_omp_clauses): Correct TILE semantic check.
(finish_omp_for): Deal with tile clause.
gcc/fortran/
* openmp.c (resolve_omp_clauses): Error on directives
containing both tile and collapse clauses.
(resolve_oacc_loop_blocks): Represent '*' tile arguments as zero.
* trans-openmp.c (gfc_trans_omp_do): Lower tiled loops like
collapsed loops.
gcc/testsuite/
* c-c++-common/goacc/combined-directives.c: Remove xfail.
* c-c++-common/goacc/loop-auto-1.c: Adjust and add additional case.
* c-c++-common/goacc/loop-auto-2.c: New.
* c-c++-common/goacc/tile.c: Include stdbool, fix expected errors.
* c-c++-common/goacc/tile-2.c: New.
* g++.dg/goacc/template.C: Test tile subst. Adjust erroneous uses.
* g++.dg/goacc/tile-1.C: New, check tile subst.
* gcc.dg/goacc/loop-processing-1.c: Adjust dg-final pattern.
* gfortran.dg/goacc/combined-directives.f90: Remove xfail.
* gfortran.dg/goacc/tile-1.f90: New test.
* gfortran.dg/goacc/tile-2.f90: New test.
* gfortran.dg/goacc/tile-lowering.f95: New test.
libgomp/
* testsuite/libgomp.oacc-c-c++-common/tile-1.c: New.
* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Adjust and
add additional case.
* testsuite/libgomp.oacc-c-c++-common/vprop.c: XFAIL under
"openacc_nvidia_accel_selected".
* libgomp.oacc-fortran/nested-function-1.f90 (test2):
Add num_workers(8) clause.
From-SVN: r245300
2017-02-09 14:46:20 +01:00
|
|
|
|
2016-02-09 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
Chung-Lin Tang <cltang@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* parser.c (cp_parser_oacc_clause_tile): Disallow collapse. Fix
|
|
|
|
|
parsing. Parse constant expression. Remove semantic checking.
|
|
|
|
|
(cp_parser_omp_clause_collapse): Disallow tile.
|
|
|
|
|
(cp_parser_omp_for_loop): Deal with tile clause. Don't emit a parse
|
|
|
|
|
error about missing for after already emitting one. Use more
|
|
|
|
|
conventional for idiom for unbounded loop.
|
|
|
|
|
* pt.c (tsubst_omp_clauses): Handle OMP_CLAUSE_TILE.
|
|
|
|
|
* semantics.c (finish_omp_clauses): Correct TILE semantic check.
|
|
|
|
|
(finish_omp_for): Deal with tile clause.
|
|
|
|
|
|
2017-02-07 18:43:12 +01:00
|
|
|
|
2017-02-07 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* method.c (synthesized_method_base_walk): New. Broken out of ...
|
|
|
|
|
(synthesized_method_walk): ... here. Call it. Cleanup
|
|
|
|
|
initializations.
|
|
|
|
|
|
2017-02-07 03:20:48 +01:00
|
|
|
|
2017-02-07 Patrick Palka <ppalka@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR c++/79360
|
|
|
|
|
* typeck2.c (process_init_constructor_union): Consider only
|
|
|
|
|
FIELD_DECLs when looking for an NSDMI.
|
|
|
|
|
|
2017-02-06 22:12:13 +01:00
|
|
|
|
2017-02-06 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/71193 - incomplete types in templates
|
|
|
|
|
* parser.c (cp_parser_postfix_dot_deref_expression): In a template
|
|
|
|
|
handle incomplete type by pedwarning and then treating as dependent.
|
|
|
|
|
|
2017-02-06 21:03:15 +01:00
|
|
|
|
2017-02-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-06 21:06:16 +01:00
|
|
|
|
PR c++/79379
|
|
|
|
|
* constexpr.c (cxx_eval_constant_expression): Handle ANNOTATE_EXPR.
|
|
|
|
|
(potential_constant_expression_1): Likewise.
|
|
|
|
|
|
2017-02-06 21:05:09 +01:00
|
|
|
|
PR c++/79377
|
|
|
|
|
* tree.c (build_min_non_dep_op_overload): For POST{INC,DEC}REMENT_EXPR
|
|
|
|
|
allow one fewer than expected arguments if flag_permissive.
|
|
|
|
|
|
2017-02-06 21:03:15 +01:00
|
|
|
|
PR c++/79372
|
|
|
|
|
* decl.c (cp_finish_decomp): On error set decl type to error_mark_node.
|
|
|
|
|
* pt.c (tsubst_expr): Don't call tsubst_decomp_names on decompositions
|
|
|
|
|
with error_mark_node type.
|
|
|
|
|
|
2017-02-03 20:44:21 +01:00
|
|
|
|
2017-02-03 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2017-02-03 23:42:37 +01:00
|
|
|
|
PR c++/78689 - ICE on constructor with label
|
|
|
|
|
* optimize.c (maybe_clone_body): Replace omitted parameters with
|
|
|
|
|
null lvalues.
|
|
|
|
|
* class.c (build_clone): Fix logic for omitting inherited parms.
|
|
|
|
|
|
2017-02-03 20:44:27 +01:00
|
|
|
|
PR c++/12245 - excessive memory use
|
|
|
|
|
* constexpr.c (maybe_constant_value): Fold maybe_constant_value_1
|
|
|
|
|
back in. Don't cache constants.
|
|
|
|
|
(maybe_constant_init): Don't cache constants.
|
|
|
|
|
|
2017-02-03 20:44:21 +01:00
|
|
|
|
PR c++/79294 - ICE with invalid template argument
|
|
|
|
|
* pt.c (convert_nontype_argument_function): Check value-dependence.
|
|
|
|
|
(convert_nontype_argument): Don't check it here for function ptrs.
|
|
|
|
|
|
2017-02-02 09:55:44 +01:00
|
|
|
|
2017-02-02 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR cp/14179
|
|
|
|
|
* cp-gimplify.c (cp_fold): When folding a CONSTRUCTOR copy
|
|
|
|
|
it lazily on the first changed element only and copy it
|
|
|
|
|
fully upfront, only storing changed elements.
|
|
|
|
|
|
2017-02-02 09:54:55 +01:00
|
|
|
|
2017-02-02 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
|
|
PR c++/69637
|
|
|
|
|
* decl2.c (grokbitfield): In case of error don't set-up DECL_INITIAL
|
|
|
|
|
to the width.
|
|
|
|
|
|
2017-01-31 22:38:00 +01:00
|
|
|
|
2017-01-31 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79304
|
|
|
|
|
* error.c (dump_expr) <case COMPONENT_REF>: Don't print .
|
|
|
|
|
after ARROW_EXPR.
|
|
|
|
|
|
2017-01-31 22:30:42 +01:00
|
|
|
|
2017-01-31 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79298
|
|
|
|
|
* name-lookup.c (suggest_alternative_in_explicit_scope): Resolve
|
|
|
|
|
any namespace aliases.
|
|
|
|
|
|
2017-01-31 16:10:41 +01:00
|
|
|
|
2017-01-31 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
2017-01-31 20:37:11 +01:00
|
|
|
|
PR c++/79290
|
|
|
|
|
* typeck.c (build_ptrmemfunc_access_expr): Set TREE_NO_WARNING.
|
|
|
|
|
|
2017-01-31 19:05:37 +01:00
|
|
|
|
PR c++/67273
|
|
|
|
|
PR c++/79253
|
|
|
|
|
* pt.c: (instantiate_decl): Push to top level when current
|
|
|
|
|
function scope doesn't match. Only push lmabda scope stack when
|
|
|
|
|
pushing to top.
|
|
|
|
|
|
2017-01-31 17:56:44 +01:00
|
|
|
|
* cp-tree.h (instantiate_decl): Make defer_ok bool.
|
|
|
|
|
* pt.c: Fix instantiate_decl calls to pass true/false not 0/1
|
|
|
|
|
(instantiate_decl): Simplify and reorder state saving and restoration.
|
|
|
|
|
|
2017-01-31 16:10:41 +01:00
|
|
|
|
PR c++/79264
|
|
|
|
|
* lambda.c (maybe_generic_this_capture): Deal with template-id-exprs.
|
|
|
|
|
* semantics.c (finish_member_declaration): Assert class is being
|
|
|
|
|
defined.
|
|
|
|
|
|
Introduce C++ support in libcc1
Extend libcc1's with an API for C++ support.
Extend libcc1's C API to distinguish between integral types with the
same width, as in C++. Likewise for float types.
Export small bits of functionality from the C++ front-end for use in
libcc1. Add support for the C++ front-end to look up names and
addresses using a libcc1-registered binding oracle. Add support for
global friends.
for gcc/cp/ChangeLog
Introduce C++ support in libcc1.
* cp-tree.h (struct lang_identifier): Add oracle_looked_up.
(ansi_opname): Rename to...
(cp_operator_id): ... this. Adjust all callers.
(ansi_assopname): Rename to...
(cp_assignment_operator_id): ... this. Adjust all callers.
(cp_literal_operator_id): Declare.
(set_global_friend): Declare.
(is_global_friend): Declare.
(enum cp_oracle_request): New type.
(cp_binding_oracle_function): New type.
(cp_binding_oracle): Declare.
(cp_finish_injected_record_type): Declare.
* friend.c (global_friend): New var.
(set_global_friend): New fn.
(is_global_friend): New fn.
(is_friend): Call is_global_friend.
* name-lookup.c (cp_binding_oracle): New var.
(query_oracle): New fn.
(qualified_lookup_using_namespace): Call query_oracle.
(lookup_name_real_1): Likewise.
* parser.c (cp_literal_operator_id): Drop static.
* search.c (friend_accessible_p): Call is_global_friend.
* semantics.c (is_this_parameter): Accept a variable if the
binding oracle is enabled.
for include/ChangeLog
Introduce C++ support in libcc1.
* gcc-c-fe.def (int_type_v0): Rename from...
(int_type): ... this. Introduce new version.
(float_type_v0): Rename from...
(float_type): ... this. Introduce new version.
(char_type): New.
* gcc-c-interface.h (gcc_c_api_version): Add GCC_C_FE_VERSION_1.
(gcc_type_array): Move...
* gcc-interface.h: ... here.
* gcc-cp-fe.def: New.
* gcc-cp-interface.h: New.
for libcc1/ChangeLog
Introduce C++ support.
* Makefile.am (AM_CPPFLAGS): Move some -I flags to...
(CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
new macros.
(plugin_LTLIBRARIES): Add libcp1plugin.la.
(BUILT_SOURCES, MOSTLYCLEANFILES): Add...
(cp-compiler-name.h): ... this. New.
(c-compiler-name.h): Rename all over from...
(compiler-name.h): ... this. Create it atomically.
(marshall_c_source, marshall_cxx_source): New macros.
(libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
Add marshall_c_source expansion.
(libcc1plugin.lo_CPPFLAGS): New macro.
(libcp1plugin_la_LDFLAGS): Likewise.
(libcp1plugin_la_SOURCES): Likewise.
(libcp1plugin.lo_CPPFLAGS): Likewise.
(libcp1plugin_la_LIBADD): Likewise.
(libcp1plugin_la_DEPENDENCIES): Likewise.
(libcp1plugin_la_LINK): Likewise.
(libcc1_la_SOURCES): Added marshall_c_source and
marshall_cxx_source expansions.
* Makefile.in: Rebuild.
* compiler-name.h: Rename all over to...
* c-compiler-name.h: ... this. Define C_COMPILER_NAME instead
of COMPILER_NAME.
* plugin.cc: Rename all over to...
* libcc1plugin.cc: ... this. Include marshall-c.hh.
(address_rewriter): Drop cleaning up of VLA sizes.
(plugin_build_decl): Mark decls as external.
(plugin_tagbind): Propagate name to all variants.
(build_anonymous_node): New.
(plugin_build_record_type): Use it instead of make_node.
(plugin_build_union_type): Likewise.
(plugin_build_enum_type): Likewise.
(plugin_finish_record_or_union): Update all type variants.
(safe_lookup_builtin_type): New.
(plugin_int_check): Factor out of, and add checks to, ...
(plugin_int_type): ... this. Rename to...
(plugin_int_type_v0): ... this.
(plugin_int_type): New interface, new implementation.
(plugin_char_type): New.
(plugin_float_type_v0): Rename from...
(plugin_float_type): ... this. New interface, new implementation.
(plugin_init): Bump handshake version.
* libcc1.cc: Include marshall-c.hh. Drop gcc-interface.h.
(call_binding_oracle): Rename to...
(c_call_binding_oracle): ... this, into anonymous namespace.
(call_symbol_address): Rename to...
(c_call_symbol_address): ... this, likewise.
(GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
(libcc1::compiler::find): Refer to C_COMPILER_NAME.
(fork_exec): Bump to GCC_C_FE_VERSION_1.
(libcc1_compile): Prefix callbacks with c_.
(gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
* libcc1.sym: Export gcc_cp_fe_context.
* libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
* libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
* libcp1plugin.sym: New.
* marshall-c.hh: New. Move C-specific types from...
* marshall.cc: ... this.
(cc1_plugin::marshall_array_start): New.
(cc1_plugin::marshall_array_elmts): New.
(cc1_plugin::marshall for gcc_type_array): Use the above.
(cc1_plugin::unmarshall_array_start): New.
(cc1_plugin::unmarshall_array_elmts): New.
(cc1_plugin::unmarshall for gcc_type_array): Use the above.
* marshall.hh: Declare the new array building blocks.
Drop C-specific unmarshall declarations.
* marshall-cp.hh: New.
* names.cc (GCC_METHOD#): Add LANG:: to method names.
(LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
* names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
corresponding namespaces.
* rpc.hh: Don't include marshall.hh.
[GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
From-SVN: r245051
2017-01-31 02:02:03 +01:00
|
|
|
|
2017-01-30 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
Introduce C++ support in libcc1.
|
|
|
|
|
* cp-tree.h (struct lang_identifier): Add oracle_looked_up.
|
|
|
|
|
(ansi_opname): Rename to...
|
|
|
|
|
(cp_operator_id): ... this. Adjust all callers.
|
|
|
|
|
(ansi_assopname): Rename to...
|
|
|
|
|
(cp_assignment_operator_id): ... this. Adjust all callers.
|
|
|
|
|
(cp_literal_operator_id): Declare.
|
|
|
|
|
(set_global_friend): Declare.
|
|
|
|
|
(is_global_friend): Declare.
|
|
|
|
|
(enum cp_oracle_request): New type.
|
|
|
|
|
(cp_binding_oracle_function): New type.
|
|
|
|
|
(cp_binding_oracle): Declare.
|
|
|
|
|
(cp_finish_injected_record_type): Declare.
|
|
|
|
|
* friend.c (global_friend): New var.
|
|
|
|
|
(set_global_friend): New fn.
|
|
|
|
|
(is_global_friend): New fn.
|
|
|
|
|
(is_friend): Call is_global_friend.
|
|
|
|
|
* name-lookup.c (cp_binding_oracle): New var.
|
|
|
|
|
(query_oracle): New fn.
|
|
|
|
|
(qualified_lookup_using_namespace): Call query_oracle.
|
|
|
|
|
(lookup_name_real_1): Likewise.
|
|
|
|
|
* parser.c (cp_literal_operator_id): Drop static.
|
|
|
|
|
* search.c (friend_accessible_p): Call is_global_friend.
|
|
|
|
|
* semantics.c (is_this_parameter): Accept a variable if the
|
|
|
|
|
binding oracle is enabled.
|
|
|
|
|
|
2017-01-27 17:48:34 +01:00
|
|
|
|
2017-01-27 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/78771 - ICE with inherited constructor.
|
|
|
|
|
* call.c (build_over_call): Call deduce_inheriting_ctor here.
|
|
|
|
|
* pt.c (tsubst_decl): Not here.
|
|
|
|
|
* class.c (add_method): Or here.
|
|
|
|
|
* method.c (deduce_inheriting_ctor): Handle clones.
|
|
|
|
|
(implicitly_declare_fn): Don't deduce inheriting ctors yet.
|
|
|
|
|
|
2017-01-27 08:59:06 +01:00
|
|
|
|
2017-01-27 Adam Butcher <adam@jessamine.co.uk>
|
|
|
|
|
|
|
|
|
|
PR c++/64382
|
|
|
|
|
* cp/parser.c (parsing_default_capturing_generic_lambda_in_template):
|
|
|
|
|
New function.
|
|
|
|
|
* cp/cp-tree.h: Declare it.
|
|
|
|
|
* cp/semantics.c (finish_id_expression): Resolve names within a default
|
|
|
|
|
capturing generic lambda defined within a template prior to
|
|
|
|
|
instantiation to allow for captures to be added to the closure type.
|
|
|
|
|
|
2017-01-26 20:39:40 +01:00
|
|
|
|
2017-01-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/68727
|
|
|
|
|
* cp-tree.def (OFFSETOF_EXPR): Bump number of operands to 2.
|
|
|
|
|
* cp-tree.h (finish_offsetof): Add OBJECT_PTR argument.
|
|
|
|
|
* parser.c (cp_parser_builtin_offsetof): Pass result of
|
|
|
|
|
build_static_cast of null_pointer_node to finish_offsetof.
|
|
|
|
|
* semantics.c (finish_offsetof): Add OBJECT_PTR argument, use
|
|
|
|
|
it for -Winvalid-offsetof pedwarn instead of trying to guess
|
|
|
|
|
original offsetof type from EXPR. Save OBJECT_PTR as a new
|
|
|
|
|
second operand to OFFSETOF_EXPR.
|
|
|
|
|
* pt.c (tsubst_copy_and_build) <case OFFSETOF_EXPR>: Adjust
|
|
|
|
|
finish_offsetof caller, pass the second operand of OFFSETOF_EXPR
|
|
|
|
|
as OBJECT_PTR.
|
|
|
|
|
|
2017-01-26 16:30:43 +01:00
|
|
|
|
2017-01-26 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2017-01-26 16:32:22 +01:00
|
|
|
|
* name-lookup.c (parse_using_directive): Deprecate strong using.
|
|
|
|
|
|
2017-01-26 16:30:43 +01:00
|
|
|
|
PR c++/79176 - lambda ICE with -flto -Os
|
|
|
|
|
* decl2.c (vague_linkage_p): Handle decloned 'tors.
|
|
|
|
|
* tree.c (decl_linkage): Likewise.
|
|
|
|
|
|
2017-01-26 00:11:53 +01:00
|
|
|
|
2017-01-25 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
2017-01-26 01:02:25 +01:00
|
|
|
|
* decl.c (grokdeclarator): Fix a typo in a comment.
|
2017-01-26 00:11:53 +01:00
|
|
|
|
|
2017-01-25 21:51:10 +01:00
|
|
|
|
2017-01-25 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-25 23:36:18 +01:00
|
|
|
|
PR c++/78896
|
|
|
|
|
* decl.c (cp_finish_decomp): Disallow memberwise decomposition of
|
|
|
|
|
lambda expressions.
|
|
|
|
|
|
2017-01-25 21:51:10 +01:00
|
|
|
|
PR c++/77914
|
|
|
|
|
* parser.c (cp_parser_lambda_declarator_opt): Pedwarn with
|
|
|
|
|
OPT_Wpedantic on lambda templates for -std=c++14 and higher.
|
|
|
|
|
|
2017-01-25 08:45:40 +01:00
|
|
|
|
2017-01-25 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
|
|
PR lto/79061
|
|
|
|
|
* decl.c (cxx_init_decl_processing): Pass main_input_filename
|
|
|
|
|
to build_translation_unit_decl.
|
|
|
|
|
|
2017-01-24 23:33:41 +01:00
|
|
|
|
2017-01-24 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79205
|
|
|
|
|
* cp-gimplify.c (cp_genericize_r): Add result of
|
|
|
|
|
convert_from_reference on invisiref parm to p_set.
|
|
|
|
|
|
2017-01-24 20:25:32 +01:00
|
|
|
|
2017-01-24 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
2017-01-24 20:29:44 +01:00
|
|
|
|
PR c++/78469 - defaulted ctor and inaccessible dtor
|
|
|
|
|
* cp-tree.h (tsubst_flags): Add tf_no_cleanup.
|
|
|
|
|
* init.c (build_new_1): Pass tf_no_cleanup to build_value_init.
|
|
|
|
|
* tree.c (build_target_expr): Check tf_no_cleanup.
|
|
|
|
|
|
2017-01-24 20:25:32 +01:00
|
|
|
|
PR c++/79118 - anon-members and constexpr
|
|
|
|
|
* constexpr.c (cx_check_missing_mem_inits): Caller passes type not
|
|
|
|
|
ctor decl. Recursively check anonymous members.
|
|
|
|
|
(register_constexpr_fundef): Adjust cx_check_missing_mem_inits
|
|
|
|
|
call.
|
|
|
|
|
(explain_invalid_constexpr_fn): Likewise.
|
|
|
|
|
|
2017-01-23 21:19:07 +01:00
|
|
|
|
2017-01-23 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
2017-01-23 21:24:32 +01:00
|
|
|
|
PR c++/71710 - template using directive of field
|
|
|
|
|
* pt.c (tsubst_copy_and_build [COMPONENT_REF]): Move FIELD_DECL
|
|
|
|
|
check earlier.
|
|
|
|
|
|
2017-01-23 21:19:07 +01:00
|
|
|
|
PR c++/71406 - ICE with scope-ref'd template id exprs
|
|
|
|
|
PR c++/77508
|
|
|
|
|
* typeck.c (finish_class_member_access_expr): Break up SCOPE_REF
|
|
|
|
|
before breaking up TEMPLATE_ID_EXPR.
|
|
|
|
|
|
2017-01-20 18:53:44 +01:00
|
|
|
|
2017-01-20 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
PR c++/78495 - wrong code inherited ctor and invisi-ref parm
|
|
|
|
|
* cp-gimplify.c (cp_generize_r): Don't skip thunks.
|
|
|
|
|
|
2017-01-20 15:36:46 +01:00
|
|
|
|
2017-01-20 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/77829
|
|
|
|
|
PR c++/78656
|
|
|
|
|
* cp-tree.h (suggest_alternatives_for): Add bool param.
|
|
|
|
|
(suggest_alternative_in_explicit_scope): New decl.
|
|
|
|
|
* error.c (qualified_name_lookup_error): When SCOPE is a namespace
|
|
|
|
|
that isn't the global one, call new function
|
|
|
|
|
suggest_alternative_in_explicit_scope, only calling
|
|
|
|
|
suggest_alternatives_for if it fails, and disabling near match
|
|
|
|
|
searches fort that case. When SCOPE is the global namespace,
|
|
|
|
|
pass true for new param to suggest_alternatives_for to allow for
|
|
|
|
|
fuzzy name lookups.
|
|
|
|
|
* lex.c (unqualified_name_lookup_error): Pass true for new param
|
|
|
|
|
to suggest_alternatives_for.
|
|
|
|
|
* name-lookup.c (consider_binding_level): Add forward decl.
|
|
|
|
|
(suggest_alternatives_for): Add "suggest_misspellings" param,
|
|
|
|
|
using it to conditionalize the fuzzy name-lookup code.
|
|
|
|
|
(suggest_alternative_in_explicit_scope): New function.
|
|
|
|
|
* parser.c (cp_parser_primary_expression): When calling
|
|
|
|
|
finish_id_expression, pass location of id_expression rather
|
|
|
|
|
than that of id_expr_token.
|
|
|
|
|
(cp_parser_id_expression): Convert local "unqualified_id" from
|
|
|
|
|
tree to cp_expr to avoid implicitly dropping location information.
|
|
|
|
|
|
re PR c/64279 (Warning missing for "(cond) ? A : A" / if(cond) expr1; else expr1; // same expression in if and else branch)
PR c/64279
* c-common.h (do_warn_duplicated_branches_r): Declare.
* c-gimplify.c (c_genericize): Walk the function tree calling
do_warn_duplicated_branches_r.
* c-warn.c (expr_from_macro_expansion_r): New.
(do_warn_duplicated_branches): New.
(do_warn_duplicated_branches_r): New.
* c.opt (Wduplicated-branches): New option.
* c-typeck.c (build_conditional_expr): Warn about duplicated branches.
* call.c (build_conditional_expr_1): Warn about duplicated branches.
* semantics.c (finish_expr_stmt): Build statement using the proper
location.
* doc/invoke.texi: Document -Wduplicated-branches.
* fold-const.c (operand_equal_p): Handle MODIFY_EXPR, INIT_EXPR,
COMPOUND_EXPR, PREDECREMENT_EXPR, PREINCREMENT_EXPR,
POSTDECREMENT_EXPR, POSTINCREMENT_EXPR, CLEANUP_POINT_EXPR, EXPR_STMT,
STATEMENT_LIST, and RETURN_EXPR. For non-pure non-const functions
return 0 only when not OEP_LEXICOGRAPHIC.
(fold_build_cleanup_point_expr): Use the expression
location when building CLEANUP_POINT_EXPR.
* tree-core.h (enum operand_equal_flag): Add OEP_LEXICOGRAPHIC.
* tree.c (add_expr): Handle error_mark_node.
* c-c++-common/Wduplicated-branches-1.c: New test.
* c-c++-common/Wduplicated-branches-10.c: New test.
* c-c++-common/Wduplicated-branches-11.c: New test.
* c-c++-common/Wduplicated-branches-12.c: New test.
* c-c++-common/Wduplicated-branches-2.c: New test.
* c-c++-common/Wduplicated-branches-3.c: New test.
* c-c++-common/Wduplicated-branches-4.c: New test.
* c-c++-common/Wduplicated-branches-5.c: New test.
* c-c++-common/Wduplicated-branches-6.c: New test.
* c-c++-common/Wduplicated-branches-7.c: New test.
* c-c++-common/Wduplicated-branches-8.c: New test.
* c-c++-common/Wduplicated-branches-9.c: New test.
* c-c++-common/Wimplicit-fallthrough-7.c: Coalesce dg-warning.
* g++.dg/cpp0x/lambda/lambda-switch.C: Move dg-warning.
* g++.dg/ext/builtin-object-size3.C: Likewise.
* g++.dg/gomp/loop-1.C: Likewise.
* g++.dg/warn/Wduplicated-branches1.C: New test.
* g++.dg/warn/Wduplicated-branches2.C: New test.
From-SVN: r244705
2017-01-20 13:02:50 +01:00
|
|
|
|
2017-01-20 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/64279
|
|
|
|
|
* call.c (build_conditional_expr_1): Warn about duplicated branches.
|
|
|
|
|
* semantics.c (finish_expr_stmt): Build statement using the proper
|
|
|
|
|
location.
|
|
|
|
|
|
2017-01-19 15:37:51 +01:00
|
|
|
|
2017-01-19 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2017-01-20 05:43:19 +01:00
|
|
|
|
US 20 - forwarding references and class template argument deduction
|
|
|
|
|
* cp-tree.h (TEMPLATE_TYPE_PARM_FOR_CLASS): New.
|
|
|
|
|
* pt.c (push_template_decl_real): Set it.
|
|
|
|
|
(maybe_adjust_types_for_deduction): Check it.
|
|
|
|
|
(rewrite_template_parm): Copy it.
|
|
|
|
|
|
2017-01-20 05:43:13 +01:00
|
|
|
|
US 19 - deduction guides and constructors
|
|
|
|
|
* call.c (joust): Prefer deduction guides to constructors.
|
|
|
|
|
* pt.c (build_deduction_guide): Set DECL_ARTIFICIAL.
|
|
|
|
|
(deduction_guide_p): Check DECL_P.
|
|
|
|
|
|
2017-01-19 16:59:04 +01:00
|
|
|
|
* decl.c (check_initializer): Always use build_aggr_init for array
|
|
|
|
|
decomposition.
|
|
|
|
|
|
2017-01-19 15:37:51 +01:00
|
|
|
|
PR c++/79130 - decomposition and direct-initialization
|
|
|
|
|
* init.c (build_aggr_init): Communicate direct-initialization to
|
|
|
|
|
build_vec_init.
|
|
|
|
|
(build_vec_init): Check for array copy sooner.
|
|
|
|
|
* parser.c (cp_parser_decomposition_declaration): Remove call to
|
|
|
|
|
build_x_compound_expr_from_list.
|
|
|
|
|
|
2017-01-18 22:05:12 +01:00
|
|
|
|
2017-01-18 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/68666 - member variable template-id
|
|
|
|
|
* typeck.c (finish_class_member_access_expr): Handle variable
|
|
|
|
|
template-id.
|
|
|
|
|
* pt.c (lookup_and_finish_template_variable): No longer static.
|
|
|
|
|
* cp-tree.h: Declare it.
|
|
|
|
|
|
2017-01-18 20:27:52 +01:00
|
|
|
|
2017-01-18 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
PR c++/78488
|
|
|
|
|
* call.c (build_over_call): When checking ellipsis conversions for
|
|
|
|
|
an inherited ctor, make sure there is at least one conversion.
|
|
|
|
|
|
2017-01-18 17:45:27 +01:00
|
|
|
|
2017-01-18 Jason Merrill <jason@redhat.com>
|
2017-01-18 17:44:27 +01:00
|
|
|
|
|
|
|
|
|
PR c++/78894 - ICE with class deduction and default arg
|
|
|
|
|
* pt.c (build_deduction_guide): Set DECL_PRIMARY_TEMPLATE.
|
|
|
|
|
|
2017-01-18 16:49:15 +01:00
|
|
|
|
2017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
|
|
PR c++/77489
|
|
|
|
|
* mangle.c (write_discriminator): Reorganize abi warning check.
|
|
|
|
|
|
2017-01-18 13:51:28 +01:00
|
|
|
|
2017-01-18 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
2017-01-18 13:52:24 +01:00
|
|
|
|
* cp-tree.h: Clarify exception spec node comment.
|
|
|
|
|
* except.c (nothrow_spec_p): Simplify by checking node-equality.
|
|
|
|
|
|
2017-01-18 13:51:28 +01:00
|
|
|
|
PR c++/79091
|
|
|
|
|
* mangle.c (write_exception_spec): Check nothrow explicitly.
|
|
|
|
|
(write_encoding): Don't increment processing_template_decl around
|
|
|
|
|
encoding.
|
|
|
|
|
|
2017-01-18 09:49:11 +01:00
|
|
|
|
2017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
|
|
PR c++/70182
|
|
|
|
|
* mangle.c (write_template_args): Add "on" for operator names.
|
|
|
|
|
|
2017-01-18 09:40:05 +01:00
|
|
|
|
2017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
|
|
PR c++/77489
|
|
|
|
|
* mangle.c (write_discriminator): Handle discriminator >= 10.
|
|
|
|
|
|
2017-01-17 19:22:34 +01:00
|
|
|
|
2017-01-17 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
PR c++/61636
|
|
|
|
|
* cp-tree.h (maybe_generic_this_capture): Declare.
|
|
|
|
|
* lambda.c (resolvable_dummy_lambda): New, broken out of ...
|
|
|
|
|
(maybe_resolve_dummy): ... here. Call it.
|
|
|
|
|
(maybe_generic_this_capture): New.
|
|
|
|
|
* parser.c (cp_parser_postfix_expression): Speculatively capture
|
|
|
|
|
this in generic lambda in unresolved member function call.
|
|
|
|
|
* pt.c (tsubst_copy_and_build): Force hard error from failed
|
|
|
|
|
member function lookup in generic lambda.
|
|
|
|
|
|
2017-01-17 17:54:55 +01:00
|
|
|
|
2017-01-17 Aldy Hernandez <aldyh@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/70565
|
|
|
|
|
* cp-array-notation.c (expand_array_notation_exprs): Handle
|
|
|
|
|
OMP_PARALLEL.
|
|
|
|
|
|
2017-01-11 22:43:42 +01:00
|
|
|
|
2017-01-11 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/78337 - ICE on invalid with generic lambda
|
|
|
|
|
* semantics.c (process_outer_var_ref): Check if containing_function
|
|
|
|
|
is null. Move inform call under complain test.
|
|
|
|
|
|
2017-01-11 21:37:16 +01:00
|
|
|
|
2017-01-11 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
PR c++/77812
|
|
|
|
|
* name-lookup.c (set_namespace_binding_1): An overload of 1 decl
|
|
|
|
|
is a new overload.
|
|
|
|
|
|
2017-01-11 21:11:56 +01:00
|
|
|
|
2017-01-11 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* name-lookup.c (push_overloaded_decl_1): Refactor OVERLOAD creation.
|
|
|
|
|
|
2017-01-11 19:08:57 +01:00
|
|
|
|
2017-01-11 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-11 19:09:58 +01:00
|
|
|
|
PR c++/78341
|
|
|
|
|
* parser.c (cp_parser_std_attribute_spec): Remove over-eager
|
|
|
|
|
assertion. Formatting fix.
|
|
|
|
|
|
2017-01-11 19:08:57 +01:00
|
|
|
|
PR c++/72813
|
|
|
|
|
* decl2.c (c_parse_final_cleanups): Set flag_syntax_only to 1 after
|
|
|
|
|
writing PCH file.
|
|
|
|
|
|
Fix issues with unrepresentable column numbers (PR c++/77949)
PR c++/77949 identifies an ICE when the C++ frontend attempts to emit a
fix-it hint inserting a missing semicolon at column 4097 of a source file.
This column value exceeds LINE_MAP_MAX_COLUMN_NUMBER and hence isn't
representable using a location_t.
Attempting to do so leads to these problems, which this patch fixes:
(a) when encountering a column number > LINE_MAP_MAX_COLUMN_NUMBER we
create a new linemap with m_column_and_range_bits == 0, but
linemap_position_for_column doesn't check for this, and hence can emit
a bogus location_t value that's calculated relative to the previous
linemap start, but which will be decoded relative to the new linemap,
leading to very large incorrect line values.
(b) when encountering a column number that can't be represented, and
for which the linemap was pre-existing, the code would hit this assertion:
if (linemap_assert_fails (column < (1u << map->m_column_and_range_bits)))
around a bail-out condition. The patch replaces this assertion with a
simple conditional, to stop the ICE when this occurs, and fixes the
bit count (effective column bits, vs column+range bits)
(c) the C++ frontend wasn't checking for failure of
linemap_position_for_loc_and_offset when considering emitting the fix-it
hint. The patch adds a conditional, so that no fix-it hint is emitted
if the location is bogus.
gcc/cp/ChangeLog:
PR c++/77949
* parser.c (cp_parser_class_specifier_1): Only suggest inserting
a missing semicolon if we have a valid insertion location for
the fix-it hint.
gcc/ChangeLog:
PR c++/77949
* input.c (selftest::test_accessing_ordinary_linemaps): Verify
that we correctly handle column numbers greater than
LINE_MAP_MAX_COLUMN_NUMBER.
gcc/testsuite/ChangeLog:
PR c++/77949
* g++.dg/diagnostic/pr77949.C: New test case.
libcpp/ChangeLog:
PR c++/77949
* line-map.c (linemap_position_for_column): When calling
linemap_start_line, detect if a new linemap was created with
0 column bits, and bail out early if this is the case.
(linemap_position_for_loc_and_offset): Replace overzealous
linemap_assert_fails with a simple conditional; use correct
bit count.
From-SVN: r244292
2017-01-10 22:54:09 +01:00
|
|
|
|
2017-01-10 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/77949
|
|
|
|
|
* parser.c (cp_parser_class_specifier_1): Only suggest inserting
|
|
|
|
|
a missing semicolon if we have a valid insertion location for
|
|
|
|
|
the fix-it hint.
|
|
|
|
|
|
2017-01-10 20:04:22 +01:00
|
|
|
|
2017-01-10 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
FI 20, decomposition declaration with parenthesized initializer.
|
|
|
|
|
* parser.c (cp_parser_decomposition_declaration): Use
|
|
|
|
|
cp_parser_initializer.
|
|
|
|
|
|
2017-01-09 22:51:08 +01:00
|
|
|
|
2017-01-09 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
Implement P0195R2, C++17 variadic using.
|
|
|
|
|
* parser.c (cp_parser_using_declaration): Handle ellipsis and comma.
|
|
|
|
|
* pt.c (tsubst_decl): Handle pack expansion in USING_DECL_SCOPE.
|
|
|
|
|
* error.c (dump_decl): Likewise.
|
|
|
|
|
|
2017-01-09 22:48:33 +01:00
|
|
|
|
2017-01-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR translation/79019
|
|
|
|
|
PR translation/79020
|
|
|
|
|
* semantics.c (finish_omp_clauses): Add missing whitespace to
|
|
|
|
|
translatable strings.
|
|
|
|
|
* cp-cilkplus.c (cpp_validate_cilk_plus_loop_aux): Fix comment typo.
|
|
|
|
|
|
2017-01-08 07:36:10 +01:00
|
|
|
|
2017-01-07 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/78948 - instantiation from discarded statement
|
|
|
|
|
* parser.h (struct cp_parser): Remove in_discarded_stmt field.
|
|
|
|
|
* cp-tree.h (in_discarded_stmt): Declare it.
|
|
|
|
|
(struct saved_scope): Add discarded_stmt bitfield.
|
|
|
|
|
(in_discarded_stmt): New macro.
|
|
|
|
|
* decl2.c (mark_used): Check it.
|
|
|
|
|
* parser.c (cp_parser_selection_statement): Adjust.
|
|
|
|
|
(cp_parser_jump_statement): Adjust.
|
|
|
|
|
|
2017-01-05 22:12:02 +01:00
|
|
|
|
2017-01-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-05 22:13:09 +01:00
|
|
|
|
PR c++/78931
|
|
|
|
|
* decl.c (cp_finish_decomp): Remove probe variable, if tt is
|
|
|
|
|
REFERENCE_REF_P, set tt to its operand.
|
|
|
|
|
|
2017-01-05 22:12:02 +01:00
|
|
|
|
PR c++/78890
|
|
|
|
|
* class.c (check_field_decls): Diagnose REFERENCE_TYPE fields in
|
|
|
|
|
unions even for C++11 and later.
|
|
|
|
|
|
2017-01-05 13:30:26 +01:00
|
|
|
|
2017-01-05 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
PR c++/78765
|
|
|
|
|
* pt.c (convert_nontype_argument): Don't try and see if integral
|
|
|
|
|
or enum expressions are constants prematurely.
|
|
|
|
|
|
2017-01-04 22:47:04 +01:00
|
|
|
|
2017-01-04 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/64767
|
|
|
|
|
* typeck.c (cp_build_binary_op): Warn when a pointer is compared with
|
|
|
|
|
a zero character literal.
|
|
|
|
|
|
2017-01-04 21:05:14 +01:00
|
|
|
|
2017-01-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-04 22:34:27 +01:00
|
|
|
|
PR c++/78949
|
|
|
|
|
* typeck.c (cp_build_unary_op): Call mark_rvalue_use on arg if it has
|
|
|
|
|
vector type.
|
|
|
|
|
|
2017-01-04 22:30:35 +01:00
|
|
|
|
PR c++/78693
|
|
|
|
|
* parser.c (cp_parser_simple_declaration): Only complain about
|
|
|
|
|
inconsistent auto deduction if auto_result doesn't use auto.
|
|
|
|
|
|
2017-01-04 21:13:14 +01:00
|
|
|
|
* parser.c (cp_parser_simple_declaration): Diagnose function
|
|
|
|
|
declaration among more than one init-declarators with auto
|
|
|
|
|
specifier.
|
|
|
|
|
|
2017-01-04 21:05:14 +01:00
|
|
|
|
PR c++/71182
|
|
|
|
|
* parser.c (cp_lexer_previous_token): Use vec_safe_address in the
|
|
|
|
|
assertion, as lexer->buffer may be NULL.
|
|
|
|
|
|
2017-01-04 18:47:04 +01:00
|
|
|
|
2017-01-04 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/77545
|
|
|
|
|
PR c++/77284
|
|
|
|
|
* constexpr.c (potential_constant_expression_1): Handle CLEANUP_STMT.
|
|
|
|
|
|
2017-01-04 16:23:40 +01:00
|
|
|
|
2017-01-04 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
PR c++/66735
|
|
|
|
|
* cp-tree.h (DECLTYPE_FOR_REF_CAPTURE): New.
|
|
|
|
|
(lambda_capture_field_type): Update prototype.
|
|
|
|
|
* lambda.c (lambda_capture_field_type): Add is_reference parm.
|
|
|
|
|
Add referenceness here.
|
|
|
|
|
(add_capture): Adjust lambda_capture_field_type call, refactor
|
|
|
|
|
error checking.
|
|
|
|
|
* pt.c (tsubst): Adjust lambda_capture_field_type call.
|
|
|
|
|
|
2017-01-01 13:07:43 +01:00
|
|
|
|
2017-01-01 Jakub Jelinek <jakub@redhat.com>
|
2015-01-05 13:33:28 +01:00
|
|
|
|
|
|
|
|
|
Update copyright years.
|
ABOUT-GCC-NLS, [...]: Add copyright and license notices.
* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
ChangeLog-1999, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008, ChangeLog.dataflow, ChangeLog.lib,
ChangeLog.ptr, ChangeLog.tree-ssa, ChangeLog.tuples, FSFChangeLog,
FSFChangeLog.10, FSFChangeLog.11, LANGUAGES, ONEWS, acinclude.m4,
config/alpha/gnu.h, config/alpha/libgcc-alpha-ldbl.ver,
config/alpha/t-osf4, config/alpha/t-vms, config/alpha/va_list.h,
config/alpha/x-vms, config/arc/t-arc,
config/arm/README-interworking, config/arm/arm-c.c,
config/arm/gentune.sh, config/arm/libgcc-bpabi.ver,
config/arm/t-arm, config/arm/t-arm-elf, config/arm/t-arm-softfp,
config/arm/t-bpabi, config/arm/t-linux, config/arm/t-linux-eabi,
config/arm/t-netbsd, config/arm/t-pe, config/arm/t-strongarm-elf,
config/arm/t-symbian, config/arm/t-vxworks, config/arm/t-wince-pe,
config/avr/t-avr, config/bfin/elf.h, config/bfin/libgcc-bfin.ver,
config/bfin/linux.h, config/bfin/t-bfin, config/bfin/t-bfin-elf,
config/bfin/t-bfin-linux, config/bfin/t-bfin-uclinux,
config/bfin/uclinux.h, config/cris/mulsi3.asm, config/cris/t-cris,
config/cris/t-elfmulti, config/crx/t-crx,
config/darwin-ppc-ldouble-patch.def, config/darwin-sections.def,
config/divmod.c, config/fr30/t-fr30, config/frv/libgcc-frv.ver,
config/frv/t-frv, config/frv/t-linux, config/h8300/genmova.sh,
config/h8300/t-h8300, config/i386/athlon.md,
config/i386/darwin-libgcc.10.4.ver,
config/i386/darwin-libgcc.10.5.ver, config/i386/libgcc-glibc.ver,
config/i386/mach.h, config/i386/netbsd.h, config/i386/t-crtpc,
config/i386/t-cygming, config/i386/t-cygwin, config/i386/t-i386,
config/i386/t-linux64, config/i386/t-nwld,
config/i386/t-rtems-i386, config/i386/t-sol2-10,
config/i386/x-mingw32, config/ia64/div.md, config/ia64/elf.h,
config/ia64/ia64.opt, config/ia64/libgcc-glibc.ver,
config/ia64/libgcc-ia64.ver, config/ia64/linux.h,
config/ia64/sysv4.h, config/ia64/t-hpux, config/ia64/t-ia64,
config/iq2000/abi, config/iq2000/lib2extra-funcs.c,
config/iq2000/t-iq2000, config/libgcc-glibc.ver,
config/m32r/libgcc-glibc.ver, config/m32r/t-linux,
config/m32r/t-m32r, config/m68hc11/t-m68hc11,
config/m68k/t-floatlib, config/m68k/t-linux, config/m68k/t-mlibs,
config/m68k/t-uclinux, config/mcore/t-mcore,
config/mcore/t-mcore-pe, config/mips/20kc.md, config/mips/4130.md,
config/mips/5400.md, config/mips/5500.md, config/mips/crti.asm,
config/mips/crtn.asm, config/mips/irix-crti.asm,
config/mips/irix-crtn.asm, config/mips/libgcc-mips16.ver,
config/mips/mips-dsp.md, config/mips/mips-dspr2.md,
config/mips/mips-fixed.md, config/mips/sb1.md,
config/mips/sr71k.md, config/mips/t-elf, config/mips/t-gofast,
config/mips/t-iris6, config/mips/t-isa3264,
config/mips/t-libgcc-mips16, config/mips/t-linux64,
config/mips/t-mips, config/mips/t-r3900, config/mips/t-rtems,
config/mips/t-sb1, config/mips/t-sde, config/mips/t-sdemtk,
config/mips/t-slibgcc-irix, config/mips/t-sr71k, config/mips/t-st,
config/mips/t-vr, config/mips/t-vxworks, config/mmix/t-mmix,
config/mn10300/t-linux, config/mn10300/t-mn10300,
config/pa/pa32-regs.h, config/pa/t-hpux-shlib, config/pa/t-linux,
config/pa/t-linux64, config/pa/t-pa64, config/pdp11/t-pdp11,
config/picochip/libgccExtras/clzsi2.asm,
config/picochip/t-picochip, config/rs6000/darwin-ldouble-format,
config/rs6000/darwin-libgcc.10.4.ver,
config/rs6000/darwin-libgcc.10.5.ver,
config/rs6000/libgcc-ppc-glibc.ver, config/rs6000/ppc-asm.h,
config/rs6000/t-aix43, config/rs6000/t-aix52,
config/rs6000/t-darwin, config/rs6000/t-fprules,
config/rs6000/t-fprules-fpbit, config/rs6000/t-linux64,
config/rs6000/t-lynx, config/rs6000/t-netbsd,
config/rs6000/t-ppccomm, config/rs6000/t-ppcendian,
config/rs6000/t-ppcgas, config/rs6000/t-rs6000,
config/rs6000/t-rtems, config/rs6000/t-spe,
config/rs6000/t-vxworks, config/s390/libgcc-glibc.ver,
config/score/t-score-elf, config/sh/divcost-analysis,
config/sh/libgcc-glibc.ver, config/sh/t-netbsd, config/sh/t-sh,
config/sh/t-sh64, config/sh/t-superh, config/sh/t-symbian,
config/sparc/libgcc-sparc-glibc.ver, config/sparc/sol2-bi.h,
config/sparc/sol2-gas.h, config/sparc/sol2-gld-bi.h,
config/sparc/t-elf, config/sparc/t-linux64, config/sparc/t-sol2,
config/stormy16/stormy-abi, config/stormy16/t-stormy16,
config/t-darwin, config/t-libunwind, config/t-libunwind-elf,
config/t-linux, config/t-lynx, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld, config/t-sol2, config/t-vxworks,
config/udivmod.c, config/udivmodsi4.c, config/v850/t-v850,
config/v850/t-v850e, config/xtensa/t-xtensa, diagnostic.def,
gdbinit.in, glimits.h, gstab.h, gsyms.h, java/ChangeLog,
java/ChangeLog.ptr, java/ChangeLog.tree-ssa, libgcc-std.ver,
limitx.h, version.c, xcoff.h: Add copyright and license notices.
* config/h8300/genmova.sh: Include copyright and license notices
in generated output.
* config/h8300/mova.md: Regenerate.
* doc/install.texi2html: Include word "Copyright" in copyright
notice and use name "Free Software Foundation, Inc.".
* ChangeLog, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008: Correct dates.
ada:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
cp:
* ChangeLog, ChangeLog-1993, ChangeLog-1994, ChangeLog-1995,
ChangeLog-1996, ChangeLog-1997, ChangeLog-1998, ChangeLog-1999,
ChangeLog-2000, ChangeLog-2001, ChangeLog-2002, ChangeLog-2003,
ChangeLog-2004, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008, ChangeLog.ptr, ChangeLog.tree-ssa, NEWS,
cfns.gperf: Add copyright and license notices.
* cfns.h: Regenerate.
* ChangeLog, ChangeLog-2004: Correct dates.
fortran:
* ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004,
ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008,
ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add
copyright and license notices.
* ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008: Correct dates.
java:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
objc:
* ChangeLog: Add copyright and license notices.
objcp:
* ChangeLog: Add copyright and license notices.
po:
* ChangeLog, EXCLUDES: Add copyright and license notices.
testsuite:
* ChangeLog, ChangeLog-1993-2007, ChangeLog-2008, ChangeLog.ptr,
ChangeLog.tree-ssa, README, README.QMTEST, README.compat,
README.gcc, g++.dg/README, g++.dg/compat/break/README,
g++.dg/gomp/gomp.exp, g++.old-deja/g++.brendan/README,
g++.old-deja/g++.oliva/ChangeLog, g++.old-deja/g++.robertl/README,
gcc.c-torture/ChangeLog.0,
gcc.c-torture/execute/builtins/builtins.exp, gcc.dg/README,
gcc.dg/gomp/gomp.exp, gcc.target/frv/frv.exp,
gcc.target/i386/math-torture/math-torture.exp,
gcc.target/mips/inter/mips16-inter.exp,
gcc.target/mips/mips-nonpic/README,
gcc.target/x86_64/abi/README.gcc,
gcc.target/xstormy16/xstormy16.exp, gcc.test-framework/README,
gfortran.dg/g77/README, gfortran.dg/gomp/gomp.exp,
gfortran.fortran-torture/ChangeLog.g95: Add copyright and license
notices.
* ChangeLog-1993-2007, ChangeLog: Correct dates.
From-SVN: r146533
2009-04-21 21:03:23 +02:00
|
|
|
|
|
2017-01-01 13:07:43 +01:00
|
|
|
|
Copyright (C) 2017 Free Software Foundation, Inc.
|
ABOUT-GCC-NLS, [...]: Add copyright and license notices.
* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
ChangeLog-1999, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008, ChangeLog.dataflow, ChangeLog.lib,
ChangeLog.ptr, ChangeLog.tree-ssa, ChangeLog.tuples, FSFChangeLog,
FSFChangeLog.10, FSFChangeLog.11, LANGUAGES, ONEWS, acinclude.m4,
config/alpha/gnu.h, config/alpha/libgcc-alpha-ldbl.ver,
config/alpha/t-osf4, config/alpha/t-vms, config/alpha/va_list.h,
config/alpha/x-vms, config/arc/t-arc,
config/arm/README-interworking, config/arm/arm-c.c,
config/arm/gentune.sh, config/arm/libgcc-bpabi.ver,
config/arm/t-arm, config/arm/t-arm-elf, config/arm/t-arm-softfp,
config/arm/t-bpabi, config/arm/t-linux, config/arm/t-linux-eabi,
config/arm/t-netbsd, config/arm/t-pe, config/arm/t-strongarm-elf,
config/arm/t-symbian, config/arm/t-vxworks, config/arm/t-wince-pe,
config/avr/t-avr, config/bfin/elf.h, config/bfin/libgcc-bfin.ver,
config/bfin/linux.h, config/bfin/t-bfin, config/bfin/t-bfin-elf,
config/bfin/t-bfin-linux, config/bfin/t-bfin-uclinux,
config/bfin/uclinux.h, config/cris/mulsi3.asm, config/cris/t-cris,
config/cris/t-elfmulti, config/crx/t-crx,
config/darwin-ppc-ldouble-patch.def, config/darwin-sections.def,
config/divmod.c, config/fr30/t-fr30, config/frv/libgcc-frv.ver,
config/frv/t-frv, config/frv/t-linux, config/h8300/genmova.sh,
config/h8300/t-h8300, config/i386/athlon.md,
config/i386/darwin-libgcc.10.4.ver,
config/i386/darwin-libgcc.10.5.ver, config/i386/libgcc-glibc.ver,
config/i386/mach.h, config/i386/netbsd.h, config/i386/t-crtpc,
config/i386/t-cygming, config/i386/t-cygwin, config/i386/t-i386,
config/i386/t-linux64, config/i386/t-nwld,
config/i386/t-rtems-i386, config/i386/t-sol2-10,
config/i386/x-mingw32, config/ia64/div.md, config/ia64/elf.h,
config/ia64/ia64.opt, config/ia64/libgcc-glibc.ver,
config/ia64/libgcc-ia64.ver, config/ia64/linux.h,
config/ia64/sysv4.h, config/ia64/t-hpux, config/ia64/t-ia64,
config/iq2000/abi, config/iq2000/lib2extra-funcs.c,
config/iq2000/t-iq2000, config/libgcc-glibc.ver,
config/m32r/libgcc-glibc.ver, config/m32r/t-linux,
config/m32r/t-m32r, config/m68hc11/t-m68hc11,
config/m68k/t-floatlib, config/m68k/t-linux, config/m68k/t-mlibs,
config/m68k/t-uclinux, config/mcore/t-mcore,
config/mcore/t-mcore-pe, config/mips/20kc.md, config/mips/4130.md,
config/mips/5400.md, config/mips/5500.md, config/mips/crti.asm,
config/mips/crtn.asm, config/mips/irix-crti.asm,
config/mips/irix-crtn.asm, config/mips/libgcc-mips16.ver,
config/mips/mips-dsp.md, config/mips/mips-dspr2.md,
config/mips/mips-fixed.md, config/mips/sb1.md,
config/mips/sr71k.md, config/mips/t-elf, config/mips/t-gofast,
config/mips/t-iris6, config/mips/t-isa3264,
config/mips/t-libgcc-mips16, config/mips/t-linux64,
config/mips/t-mips, config/mips/t-r3900, config/mips/t-rtems,
config/mips/t-sb1, config/mips/t-sde, config/mips/t-sdemtk,
config/mips/t-slibgcc-irix, config/mips/t-sr71k, config/mips/t-st,
config/mips/t-vr, config/mips/t-vxworks, config/mmix/t-mmix,
config/mn10300/t-linux, config/mn10300/t-mn10300,
config/pa/pa32-regs.h, config/pa/t-hpux-shlib, config/pa/t-linux,
config/pa/t-linux64, config/pa/t-pa64, config/pdp11/t-pdp11,
config/picochip/libgccExtras/clzsi2.asm,
config/picochip/t-picochip, config/rs6000/darwin-ldouble-format,
config/rs6000/darwin-libgcc.10.4.ver,
config/rs6000/darwin-libgcc.10.5.ver,
config/rs6000/libgcc-ppc-glibc.ver, config/rs6000/ppc-asm.h,
config/rs6000/t-aix43, config/rs6000/t-aix52,
config/rs6000/t-darwin, config/rs6000/t-fprules,
config/rs6000/t-fprules-fpbit, config/rs6000/t-linux64,
config/rs6000/t-lynx, config/rs6000/t-netbsd,
config/rs6000/t-ppccomm, config/rs6000/t-ppcendian,
config/rs6000/t-ppcgas, config/rs6000/t-rs6000,
config/rs6000/t-rtems, config/rs6000/t-spe,
config/rs6000/t-vxworks, config/s390/libgcc-glibc.ver,
config/score/t-score-elf, config/sh/divcost-analysis,
config/sh/libgcc-glibc.ver, config/sh/t-netbsd, config/sh/t-sh,
config/sh/t-sh64, config/sh/t-superh, config/sh/t-symbian,
config/sparc/libgcc-sparc-glibc.ver, config/sparc/sol2-bi.h,
config/sparc/sol2-gas.h, config/sparc/sol2-gld-bi.h,
config/sparc/t-elf, config/sparc/t-linux64, config/sparc/t-sol2,
config/stormy16/stormy-abi, config/stormy16/t-stormy16,
config/t-darwin, config/t-libunwind, config/t-libunwind-elf,
config/t-linux, config/t-lynx, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld, config/t-sol2, config/t-vxworks,
config/udivmod.c, config/udivmodsi4.c, config/v850/t-v850,
config/v850/t-v850e, config/xtensa/t-xtensa, diagnostic.def,
gdbinit.in, glimits.h, gstab.h, gsyms.h, java/ChangeLog,
java/ChangeLog.ptr, java/ChangeLog.tree-ssa, libgcc-std.ver,
limitx.h, version.c, xcoff.h: Add copyright and license notices.
* config/h8300/genmova.sh: Include copyright and license notices
in generated output.
* config/h8300/mova.md: Regenerate.
* doc/install.texi2html: Include word "Copyright" in copyright
notice and use name "Free Software Foundation, Inc.".
* ChangeLog, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008: Correct dates.
ada:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
cp:
* ChangeLog, ChangeLog-1993, ChangeLog-1994, ChangeLog-1995,
ChangeLog-1996, ChangeLog-1997, ChangeLog-1998, ChangeLog-1999,
ChangeLog-2000, ChangeLog-2001, ChangeLog-2002, ChangeLog-2003,
ChangeLog-2004, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008, ChangeLog.ptr, ChangeLog.tree-ssa, NEWS,
cfns.gperf: Add copyright and license notices.
* cfns.h: Regenerate.
* ChangeLog, ChangeLog-2004: Correct dates.
fortran:
* ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004,
ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008,
ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add
copyright and license notices.
* ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008: Correct dates.
java:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
objc:
* ChangeLog: Add copyright and license notices.
objcp:
* ChangeLog: Add copyright and license notices.
po:
* ChangeLog, EXCLUDES: Add copyright and license notices.
testsuite:
* ChangeLog, ChangeLog-1993-2007, ChangeLog-2008, ChangeLog.ptr,
ChangeLog.tree-ssa, README, README.QMTEST, README.compat,
README.gcc, g++.dg/README, g++.dg/compat/break/README,
g++.dg/gomp/gomp.exp, g++.old-deja/g++.brendan/README,
g++.old-deja/g++.oliva/ChangeLog, g++.old-deja/g++.robertl/README,
gcc.c-torture/ChangeLog.0,
gcc.c-torture/execute/builtins/builtins.exp, gcc.dg/README,
gcc.dg/gomp/gomp.exp, gcc.target/frv/frv.exp,
gcc.target/i386/math-torture/math-torture.exp,
gcc.target/mips/inter/mips16-inter.exp,
gcc.target/mips/mips-nonpic/README,
gcc.target/x86_64/abi/README.gcc,
gcc.target/xstormy16/xstormy16.exp, gcc.test-framework/README,
gfortran.dg/g77/README, gfortran.dg/gomp/gomp.exp,
gfortran.fortran-torture/ChangeLog.g95: Add copyright and license
notices.
* ChangeLog-1993-2007, ChangeLog: Correct dates.
From-SVN: r146533
2009-04-21 21:03:23 +02:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|