2017-11-26 14:00:48 +01:00
|
|
|
2017-11-14 Boris Kolpackov <boris@codesynthesis.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2017-11-16 19:15:33 +01:00
|
|
|
2017-11-16 Sergio Durigan Junior <sergiodj@redhat.com>
|
|
|
|
Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
* Makefile.am: Remove references to c-compiler-name.h and
|
|
|
|
cp-compiler-name.h
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* compiler-name.hh: New file.
|
|
|
|
* libcc1.cc: Don't include c-compiler-name.h. Include
|
|
|
|
compiler-name.hh.
|
|
|
|
* libcp1.cc: Don't include cp-compiler-name.h. Include
|
|
|
|
compiler-name.hh.
|
|
|
|
|
2017-11-01 16:46:42 +01:00
|
|
|
2017-11-01 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_decl): Use
|
|
|
|
DECL_OVERLOADED_OPERATOR_CODE_RAW.
|
|
|
|
|
2017-10-31 15:39:44 +01:00
|
|
|
2017-10-31 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
|
|
|
|
Directly set operator code.
|
|
|
|
(plugin_build_dependent_expr): Use ovl_op_identifier.
|
|
|
|
|
2017-10-04 18:55:54 +02:00
|
|
|
2017-10-04 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (supplement_binding): Don't use
|
|
|
|
maybe_remove_implicit_alias.
|
|
|
|
|
Remove TYPE_METHODS.
gcc/
Remove TYPE_METHODS.
* tree.h (TYPE_METHODS): Delete.
* dwarf2out.c (gen_member_die): Member fns are on TYPE_FIELDS.
* dbxout.c (dbxout_type_fields): Ignore FUNCTION_DECLs.
(dbxout_type_methods): Scan TYPE_FIELDS.
(dbxout_type): Don't check TYPE_METHODS here.
* function.c (use_register_for_decl): Always ignore register for
class types when not optimizing.
* ipa-devirt.c (odr_types_equivalent_p): Delete TYPE_METHODS scan.
* tree.c (free_lang_data_in_type): Stitch out member functions and
templates from TYPE_FIELDS.
(build_distinct_type_copy, verify_type_variant,
verify_type): Member fns are on TYPE_FIELDS.
* tree-dump.c (dequeue_and_dump): No TYPE_METHODS.
* tree-pretty-print.c (dump_generic_node): Likewise.
gcc/cp/
Remove TYPE_METHODS.
* class.c (maybe_warn_about_overly_private_class,
finish_struct_methods, one_inheriting_sig, count_fields,
add_fields_to_record_type, check_field_decls, check_methods,
clone_function_decl, set_method_tm_attributes,
finalize_literal_type_property, check_bases_and_members,
create_vtable_ptr, determine_key_method,
unreverse_member_declarations, finish_struct,
add_vcall_offset_vtbl_entries_1): Member fns are on TYPE_FIELDS.
* decl.c (fixup_anonymous_aggr): Likewise.
* decl2.c (reset_type_linkage_2): Likewise.
* method.c (after_nsdmi_defaulted_late_checks,
lazily_declare_fn): Likewise.
* optimize.c (maybe_thunk_body, maybe_clone_body): Likewise.
* pt.c (instantiate_class_template_1, tsubst_expr,
do_type_instantiation, instantiate_pending_templates): Likewise.
* search.c (lookup_field_1): Likewise.
* semantics.c (finish_member_declaration,
finish_omp_declare_simd_methods): Likewise.
gcc/c-family/
Remove TYPE_METHODS.
* c-ada-spec.c (is_tagged_type, has_nontrivial_methods,
dump_ada_template, print_ada_methods,
print_ada_declaration): Member fns are on TYPE_FIELDS.
gcc/objc/
Remove TYPE_METHODS.
* objc-runtime-shared-support.c (build_ivar_list_initializer):
Don't presume first item is a FIELD_DECL.
gcc/testsuite/
* g++.dg/ext/anon-struct6.C: Adjust diag.
* g++.old-deja/g++.other/anon4.C: Adjust diag.
libcc1/
Remove TYPE_METHODS.
* libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
From-SVN: r250413
2017-07-21 02:27:51 +02:00
|
|
|
2017-07-20 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
Remove TYPE_METHODS.
|
|
|
|
* libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
|
|
|
|
|
2017-07-12 21:46:33 +02:00
|
|
|
2017-07-12 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_decl): Use
|
|
|
|
DECL_CXX_{CON,DE}STRUCTOR directly.
|
|
|
|
|
2017-07-05 17:32:37 +02:00
|
|
|
2017-07-05 Richard Sandiford <richard.sandiford@linaro.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
|
|
|
|
|
2017-06-30 20:46:01 +02:00
|
|
|
2017-06-30 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
|
|
|
|
(plugin_build_dependent_expr): Likewise.
|
|
|
|
|
2017-06-26 18:38:40 +02:00
|
|
|
2017-06-26 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_decl): Don't set
|
|
|
|
DECL_ASSIGNMENT_OPERATOR_P.
|
|
|
|
|
2017-06-16 17:42:33 +02:00
|
|
|
2017-06-16 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_decl): Adjust parm building.
|
|
|
|
|
2017-05-26 18:34:40 +02:00
|
|
|
2017-05-26 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
2017-05-26 19:19:46 +02:00
|
|
|
* libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
|
|
|
|
|
2017-05-26 18:34:40 +02:00
|
|
|
* libcp1plugin.cc (plugin_add_using_namespace): Call
|
|
|
|
finish_namespace_using_directive.
|
|
|
|
|
2017-05-25 20:52:47 +02:00
|
|
|
2017-05-25 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_make_namespace_inline): Check and set
|
|
|
|
DECL_NAMESPACE_INLINE_P.
|
|
|
|
|
2017-05-23 12:58:57 +02:00
|
|
|
2017-05-23 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_add_using_decl): Call
|
|
|
|
finish_namespace_using_decl. Use assert not unreachable.
|
|
|
|
|
2017-05-11 21:15:59 +02:00
|
|
|
2017-05-11 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
|
|
|
|
|
2017-05-10 15:12:57 +02:00
|
|
|
2017-05-10 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
|
|
|
|
|
2017-04-15 05:28:31 +02:00
|
|
|
2017-04-15 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
|
|
|
|
|
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.
|
|
|
|
* 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.
|
|
|
|
|
2017-01-31 01:58:47 +01:00
|
|
|
2017-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
2017-01-31 02:01:32 +01:00
|
|
|
* findcomp.cc: Include system.h.
|
|
|
|
(search_dir): Return absolute filename.
|
|
|
|
|
2017-01-31 02:01:09 +01:00
|
|
|
* libcc1.cc (libcc1): Add class compiler with field compilerp,
|
|
|
|
class compiler_triplet_regexp and class
|
|
|
|
compiler_driver_filename.
|
|
|
|
(libcc1::libcc1): Initialize compilerp.
|
|
|
|
(libcc1::~libcc1): Delete compilerp.
|
|
|
|
(libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
|
|
|
|
(libcc1::compiler_driver_filename::find): New methods.
|
|
|
|
(libcc1_set_arguments): Remove parameter triplet_regexp.
|
|
|
|
(libcc1_set_triplet_regexp, libcc1_set_driver_filename)
|
|
|
|
(libcc1_set_arguments_v0): New functions.
|
|
|
|
(vtable): Use libcc1_set_arguments_v0, add
|
|
|
|
libcc1_set_arguments, libcc1_set_triplet_regexp and
|
|
|
|
libcc1_set_driver_filename.
|
|
|
|
|
2017-01-31 02:00:51 +01:00
|
|
|
* libcc1.cc: Include intl.h.
|
|
|
|
(struct libcc1): Add field verbose.
|
|
|
|
(libcc1::libcc1): Initialize it.
|
|
|
|
(libcc1_set_verbose): New function.
|
|
|
|
(libcc1_set_arguments): Print messages for VERBOSE.
|
|
|
|
(libcc1_compile): Remove parameter verbose. Use VERBOSE from
|
|
|
|
SELF.
|
|
|
|
(libcc1_compile_v0): New function.
|
|
|
|
(vtable): Use libcc1_compile_v0 and add libcc1_compile and
|
|
|
|
libcc1_set_verbose.
|
|
|
|
|
2017-01-31 01:58:47 +01:00
|
|
|
* libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
|
|
|
|
(gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
|
|
|
|
|
2017-01-17 10:38:48 +01:00
|
|
|
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR other/79046
|
|
|
|
* configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only
|
|
|
|
use just major number from BASE-VER.
|
|
|
|
* configure: Regenerated.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
2017-01-04 12:30:51 +01:00
|
|
|
2017-01-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
2016-11-18 11:03:12 +01:00
|
|
|
2016-11-18 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
Alan Hayward <alan.hayward@arm.com>
|
|
|
|
David Sherwood <david.sherwood@arm.com>
|
|
|
|
|
|
|
|
* plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
|
|
|
|
|
2016-06-07 10:54:22 +02:00
|
|
|
2016-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
Update copyrights.
|
|
|
|
|
2016-04-18 22:36:27 +02:00
|
|
|
2016-04-18 Michael Matz <matz@suse.de>
|
|
|
|
|
|
|
|
* plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
|
|
|
|
|
2016-04-11 09:26:36 +02:00
|
|
|
2016-04-11 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
PR bootstrap/70173
|
|
|
|
* Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
|
|
|
|
(compiler-name.h): Shorten recipe so that it fits the line.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
2016-03-14 09:54:06 +01:00
|
|
|
2016-03-14 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
* configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
2015-06-25 19:06:24 +02:00
|
|
|
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
* plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
|
|
|
|
rather than typed_free_remove. Remove redudant typedefs.
|
|
|
|
|
2015-06-25 19:06:13 +02:00
|
|
|
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
* plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
|
|
|
|
than typed_noop_remove. Remove redudant typedefs.
|
|
|
|
(plugin_context): Use nofree_ptr_hash rather than pointer_hash.
|
|
|
|
(plugin_context::mark): Likewise.
|
|
|
|
|
2015-05-13 13:00:37 +02:00
|
|
|
2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
|
|
|
|
|
|
|
|
* Makefile.in: Regenerated with automake-1.11.6.
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
* configure: Likewise.
|
|
|
|
|
remove need for store_values_directly
This switches all hash_table users to use the layout that stores
elements of type value_type in the hash table instead of the one storing
value_type *. Since it becomes unused support for the value_type *
layout is removed.
gcc/
* hash-table.h: Remove version of hash_table that stored value_type *.
* asan.c, attribs.c, bitmap.c, cfg.c, cgraph.h, config/arm/arm.c,
config/i386/winnt.c, config/ia64/ia64.c, config/mips/mips.c,
config/sol2.c, coverage.c, cselib.c, dse.c, dwarf2cfi.c,
dwarf2out.c, except.c, gcse.c, genmatch.c, ggc-common.c,
gimple-ssa-strength-reduction.c, gimplify.c, haifa-sched.c,
hard-reg-set.h, hash-map.h, hash-set.h, ipa-devirt.c, ipa-icf.h,
ipa-profile.c, ira-color.c, ira-costs.c, loop-invariant.c,
loop-iv.c, loop-unroll.c, lto-streamer.h, plugin.c, postreload-gcse.c,
reginfo.c, statistics.c, store-motion.c, trans-mem.c, tree-cfg.c,
tree-eh.c, tree-hasher.h, tree-into-ssa.c, tree-parloops.c,
tree-sra.c, tree-ssa-coalesce.c, tree-ssa-dom.c, tree-ssa-live.c,
tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, tree-ssa-phiopt.c,
tree-ssa-pre.c, tree-ssa-reassoc.c, tree-ssa-sccvn.c,
tree-ssa-structalias.c, tree-ssa-tail-merge.c,
tree-ssa-threadupdate.c, tree-vectorizer.c, tree-vectorizer.h,
valtrack.h, var-tracking.c, vtable-verify.c, vtable-verify.h: Adjust.
libcc1/
* plugin.cc: Adjust for hash_table changes.
gcc/java/
* jcf-io.c: Adjust for hash_table changes.
gcc/lto/
* lto.c: Adjust for hash_table changes.
gcc/objc/
* objc-act.c: Adjust for hash_table changes.
From-SVN: r222213
2015-04-18 20:13:18 +02:00
|
|
|
2015-04-18 Trevor Saunders <tsaunders@mozilla.com>
|
|
|
|
|
|
|
|
* plugin.cc: Adjust for hash_table changes.
|
|
|
|
|
2015-04-15 11:23:59 +02:00
|
|
|
2015-04-15 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
PR bootstrap/65763
|
|
|
|
* Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
Always pass explicit location to fatal_error.
The patch <https://gcc.gnu.org/ml/gcc-patches/2014-11/msg00698.html>
adding an overload for fatal_error that passes an explicit location
broke gcc.pot regeneration because xgettext cannot handle function
overloads with the diagnostic string argument in different positions.
As the desired direction is for all diagnostics to have explicit
locations, this patch addresses the regression by removing the version
of fatal_error that does not pass a location, passing explicit
input_location everywhere (in the hope that those will incrementally
be changed to other locations, much as with the addition of a location
argument to pedwarn some time ago - a lot of cases aren't meaningfully
associated with a source file so UNKNOWN_LOCATION may be better).
Note that this patch does not attempt to fix any existing issues with
these diagnostics (such as wrongly starting with capital letters or
ending with '.' or '\n'); it just adds the input_location argument.
Bootstrapped with no regressions for x86_64-unknown-linux-gnu (Go
excluded).
gcc:
* diagnostic.c (fatal_error (const char *, ...)): Remove function.
* diagnostic-core.h (fatal_error (const char *, ...)): Remove
prototype.
* toplev.h (init_asm_output): Update comment on use of
UNKNOWN_LOCATION with fatal_error.
* cgraph.c, collect-utils.c, collect2.c, config/arc/arc.c,
config/arc/arc.md, config/avr/avr.c, config/c6x/c6x.h,
config/darwin.c, config/host-darwin.c, config/i386/host-cygwin.c,
config/i386/intelmic-mkoffload.c, config/nios2/nios2.c,
config/nvptx/mkoffload.c, config/nvptx/nvptx.h,
config/rs6000/host-darwin.c, config/rs6000/rs6000.c,
config/s390/s390.c, gcc.c, gcov-io.h, gcov-tool.c, ggc-common.c,
ggc-page.c, graph.c, ipa-inline-analysis.c, ipa-reference.c,
lto-cgraph.c, lto-section-in.c, lto-streamer-in.c, lto-streamer.c,
lto-wrapper.c, objc/objc-act.c, opts.c, passes.c, plugin.c,
tlink.c, toplev.c, tree-streamer-in.c, varpool.c: All callers of
fatal_error changed to pass input_location as first argument.
gcc/c-family:
* c-opts.c, c-pch.c, cppspec.c: All callers of fatal_error changed
to pass input_location as first argument.
gcc/cp:
* class.c, except.c, parser.c, pt.c: All callers of fatal_error
changed to pass input_location as first argument.
gcc/fortran:
* f95-lang.c, gfortranspec.c, trans-const.c, trans-expr.c: All
callers of fatal_error changed to pass input_location as first
argument.
gcc/java:
* class.c, expr.c, jcf-parse.c, jvspec.c: All callers of
fatal_error changed to pass input_location as first argument.
gcc/lto:
* lto-object.c, lto-symtab.c, lto.c: All callers of fatal_error
changed to pass input_location as first argument.
libcc1:
* plugin.cc: All callers of fatal_error changed to pass
input_location as first argument.
From-SVN: r220293
2015-01-30 17:15:00 +01:00
|
|
|
2015-01-30 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
* plugin.cc: All callers of fatal_error changed to pass
|
|
|
|
input_location as first argument.
|
|
|
|
|
2015-01-09 22:17:10 +01:00
|
|
|
2015-01-09 Michael Collison <michael.collison@linaro.org>
|
|
|
|
|
|
|
|
* plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
|
|
|
|
input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
|
|
|
|
due to flattening of tree.h.
|
|
|
|
|
2014-11-21 17:49:17 +01:00
|
|
|
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR bootstrap/63784
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2014-11-13 11:22:22 +01:00
|
|
|
2014-11-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
* configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* connection.cc: Include <string.h>.
|
2016-04-18 22:36:27 +02:00
|
|
|
* libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
|
2014-11-13 11:22:22 +01:00
|
|
|
|
2014-11-11 21:25:18 +01:00
|
|
|
2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR target/63610
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2014-11-11 10:20:07 +01:00
|
|
|
2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR bootstrap/63699
|
|
|
|
PR bootstrap/63750
|
|
|
|
* plugin.cc: Don't include <string>.
|
|
|
|
|
2014-10-29 12:38:00 +01:00
|
|
|
2014-10-29 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
Phil Muldoon <pmuldoon@redhat.com>
|
|
|
|
|
|
|
|
* configure.ac: Remove -Werror addition to WARN_FLAGS. Add
|
|
|
|
ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
|
|
|
|
* Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
|
|
|
|
(WERROR_FLAG): Remove.
|
|
|
|
(AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
|
|
|
|
* configure: Regenerated.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
* Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
(libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
New variables.
(libiberty): Set to -Wc, followed by the first existing noasan/,
pic/ or . libiberty.a.
(libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
* Makefile.in: Regenerated.
From-SVN: r216832
2014-10-29 12:37:18 +01:00
|
|
|
2014-10-29 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
* Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
|
|
|
|
(libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
|
|
|
|
New variables.
|
|
|
|
(libiberty): Set to -Wc, followed by the first existing noasan/,
|
|
|
|
pic/ or . libiberty.a.
|
|
|
|
(libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
|
|
|
|
libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
2014-10-27 18:21:42 +01:00
|
|
|
2014-10-27 Phil Muldoon <pmuldoon@redhat.com>
|
|
|
|
Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
* aclocal.m4: New file.
|
|
|
|
* callbacks.cc: New file.
|
|
|
|
* callbacks.hh: New file.
|
|
|
|
* cc1plugin-config.h.in: New file.
|
|
|
|
* configure: New file.
|
|
|
|
* configure.ac: New file.
|
|
|
|
* connection.cc: New file.
|
|
|
|
* connection.hh: New file.
|
|
|
|
* findcomp.cc: New file.
|
|
|
|
* findcomp.hh: New file.
|
|
|
|
* libcc1.cc: New file.
|
|
|
|
* libcc1plugin.sym: New file.
|
|
|
|
* libcc1.sym: New file.
|
|
|
|
* Makefile.am: New file.
|
|
|
|
* Makefile.in: New file.
|
|
|
|
* marshall.cc: New file.
|
|
|
|
* marshall.hh: New file.
|
|
|
|
* names.cc: New file.
|
|
|
|
* names.hh: New file.
|
|
|
|
* plugin.cc: New file.
|
|
|
|
* rpc.hh: New file.
|
|
|
|
* status.hh: New file.
|