2020-05-30 02:16:27 +02:00
|
|
|
2020-05-29 H.J. Lu <hjl.tools@gmail.com>
|
|
|
|
|
|
|
|
PR bootstrap/95413
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2020-05-14 17:25:39 +02:00
|
|
|
2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2020-05-12 18:12:26 +02:00
|
|
|
2020-05-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
|
|
|
|
* configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
|
|
|
|
AC_SUBST(CET_HOST_FLAGS).
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
* configure: Likewise.
|
|
|
|
|
2020-02-10 04:23:25 +01:00
|
|
|
2020-02-12 Patrick Palka <ppalka@redhat.com>
|
|
|
|
|
|
|
|
PR c++/69448
|
|
|
|
PR c++/80471
|
|
|
|
* libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
|
|
|
|
AUTO_IS_DECLTYPE anymore.
|
|
|
|
|
2020-01-07 18:58:18 +01:00
|
|
|
2020-01-07 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
|
|
|
|
|
2020-01-01 12:51:42 +01:00
|
|
|
2020-01-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
2019-12-30 14:23:40 +01:00
|
|
|
2019-12-30 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
|
|
|
|
call.
|
|
|
|
|
2019-12-18 20:23:01 +01:00
|
|
|
2019-12-18 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
|
|
|
|
and cxx_sizeof_or_alignof_expr calls.
|
|
|
|
(plugin_build_unary_type_expr): Likewise for
|
|
|
|
cxx_sizeof_or_alignof_type.
|
|
|
|
|
2019-12-09 21:28:39 +01:00
|
|
|
2019-12-09 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
|
|
|
|
declaration.
|
|
|
|
|
2019-12-05 09:59:24 +01:00
|
|
|
2019-12-05 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
|
|
|
|
build_functional_cast call.
|
|
|
|
|
2019-11-25 14:49:50 +01:00
|
|
|
2019-11-25 Paolo Carlini <paolo.carlini@oracle.com>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_pragma_push_user_expression): Update
|
|
|
|
cp_build_indirect_ref call.
|
|
|
|
|
2019-09-27 23:24:42 +02:00
|
|
|
2019-09-27 Maciej W. Rozycki <macro@wdc.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2019-05-21 16:33:24 +02:00
|
|
|
2019-05-21 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_add_using_decl): Use
|
|
|
|
finish_nonmember_using_decl.
|
|
|
|
|
2019-05-20 15:49:53 +02:00
|
|
|
2019-05-20 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
* libcp1plugin.cc (plugin_add_using_namespace): Call renamed
|
|
|
|
finish_using_directive.
|
|
|
|
|
2019-01-01 13:31:55 +01:00
|
|
|
2019-01-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
2018-11-13 21:05:03 +01:00
|
|
|
2018-11-13 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
* libcc1plugin.cc: Replace "source_location" with "location_t".
|
|
|
|
(plugin_context::get_source_location): Rename to...
|
|
|
|
(plugin_context::get_location_t): ...this.
|
|
|
|
* libcp1plugin.cc: Likewise.
|
|
|
|
|
Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856).
This patch updates GCC to use autoconf 2.69 and automake 1.15.1.
(That's not the latest automake version, but it's the one used by
binutils-gdb, with which consistency is desirable, and in any case
seems a useful incremental update that should make a future update to
1.16.1 easier.)
The changes are generally similar to the binutils-gdb ones, and are
copied from there where shared files and directories are involved
(there are some further changes to such shared directories, however,
which I'd expect to apply to binutils-gdb once this patch is in GCC).
Largely, obsolete AC_PREREQ calls are removed, while many
AC_LANG_SOURCE calls are added to avoid warnings from aclocal and
autoconf. Multilib support is no longer included in core automake,
meaning that multilib.am needs copying from automake's contrib
directory into the GCC source tree. Autoconf 2.69 has Go support, so
local copies of that support are removed. I hope the D support will
soon be submitted to upstream autoconf so the local copy of that can
be removed in a future update. Changes to how automake generates
runtest calls mean quotes are removed from RUNTEST definitions in five
lib*/testsuite/Makefile.am files (libatomic, libgomp, libitm,
libphobos, libvtv; some others have RUNTEST definitions without
quotes, which are still OK); libgo and libphobos also get
-Wno-override added to AM_INIT_AUTOMAKE so those overrides of RUNTEST
do not generate automake warnings.
Note that the regeneration did not include regeneration of
fixincludes/config.h.in (attempting such regeneration resulted in all
the USED_FOR_TARGET conditionals disappearing; and I don't see
anything in the fixincludes/ directory that would result in such
conditionals being generated, unlike in the gcc/ directory). Also
note that libvtv/testsuite/other-tests/Makefile.in was not
regenerated; that directory is not listed as a subdirectory for which
Makefile.in gets regenerated by calling "automake" in libvtv/, so I'm
not sure how it's meant to be regenerated.
While I mostly fixed warnings should running aclocal / automake /
autoconf, there were various such warnings from automake in the
libgfortran, libgo, libgomp, liboffloadmic, libsanitizer, libphobos
directories that I did not fix, preferring to leave those to the
relevant subsystem maintainers. Specifically, most of those warnings
were of the following form (example from libgfortran):
Makefile.am:48: warning: source file 'caf/single.c' is in a subdirectory,
Makefile.am:48: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they
will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
I think it's best for the relevant maintainers to add subdir-objects
and do any other associated Makefile.am changes needed. In some cases
the paths in the warnings involved ../; I don't know if that adds any
extra complications to the use of subdir-objects.
I've tested this with native, cross and Canadian cross builds. The
risk of any OS-specific issues should I hope be rather lower than if a
libtool upgrade were included (we *should* do such an upgrade at some
point, but it's more complicated - it involves identifying all our
local libtool changes to see if any aren't included in the upstream
version we update to, and reverting an upstream libtool patch that's
inappropriate for use in GCC); I think it would be better to get this
update into GCC so that people can test in different configurations
and we can fix any issues found, rather than to try to get more and
more testing done before it goes in.
top level:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* multilib.am: New file. From automake.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* libtool.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
* ar-lib: New file.
* test-driver: New file.
* configure: Re-generate.
config:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* math.m4, tls.m4: Use AC_LANG_SOURCE.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
fixincludes:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* aclocal.m4, configure: Regenerate.
gcc:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. Use single
line for second argument of AC_DEFINE_UNQUOTED.
* doc/install.texi (Tools/packages necessary for modifying GCC):
Update to autoconf 2.69 and automake 1.15.1.
* aclocal.m4, config.in, configure: Regenerate.
gnattools:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* configure: Regenerate.
gotools:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* config/go.m4: Remove file.
* Makefile.am (ACLOCAL_AMFLAGS): Do not use -I ./config.
* configure.ac: Remove AC_PREREQ. Do not include config/go.m4.
* Makefile.in, aclocal.m4, configure: Regenerate.
intl:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ.
* configure: Re-generate.
* config.h.in: Re-generate.
* aclocal.m4: Re-generate.
libada:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* configure: Regenerate.
libatomic:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* acinclude.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libbacktrace:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
libcc1:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure: Regenerate.
libcpp:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* aclocal.m4, config.in, configure: Regenerate.
libdecnumber:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Remove AC_PREREQ.
* configure: Re-generate.
* aclocal.m4.
libffi:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Add info-in-builddir.
(CLEANFILES): Remove doc/libffi.info.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure, fficonfig.h.in,
include/Makefile.in, man/Makefile.in, testsuite/Makefile.in:
Regenerate.
libgcc:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* configure: Regenerate.
libgfortran:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
libgo [logically part of this change but omitted from the commit]:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* config/go.m4: Remove file.
* config/libtool.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. Use
-Wno-override in AM_INIT_AUTOMAKE call.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libgomp:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am
(AUTOMAKE_OPTIONS): Add info-in-builddir.
(CLEANFILES): Remove libgomp.info.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libhsail-rt:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure: Regenerate.
libiberty:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Remove AC_PREREQ.
* configure: Re-generate.
* config.in: Re-generate.
libitm:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Add info-in-builddir.
(CLEANFILES): Remove libitm.info.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libobjc:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* aclocal.m4, config.h.in, configure: Regenerate.
liboffloadmic:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* plugin/Makefile.am: Include multilib.am.
* plugin/configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure, plugin/Makefile.in,
plugin/aclocal.m4, plugin/configure: Regenerate.
libphobos:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ. Use -Wno-override in
AM_INIT_AUTOMAKE call.
* m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
* m4/druntime/os.m4: Use AC_LANG_SOURCE.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
src/Makefile.in, testsuite/Makefile.in: Regenerate.
libquadmath:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Remove 1.8. Add info-in-builddir.
(all-local): Define outside conditional code.
(CLEANFILES): Remove libquadmath.info.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
libsanitizer:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* Makefile.in, aclocal.m4, asan/Makefile.in, configure,
interception/Makefile.in, libbacktrace/Makefile.in,
lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
ubsan/Makefile.in: Regenerate.
libssp:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Remove 1.9.5.
* configure.ac: Remove AC_PREREQ. Quote argument to
AC_RUN_IFELSE.
* Makefile.in, aclocal.m4, configure: Regenerate.
libstdc++-v3:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure, doc/Makefile.in,
include/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
python/Makefile.in, src/Makefile.in, src/c++11/Makefile.in,
src/c++17/Makefile.in, src/c++98/Makefile.in,
src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
libvtv:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
lto-plugin:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
zlib:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Modernize AC_INIT call, remove AC_PREREQ.
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add foreign.
* Makefile.in: Re-generate.
* aclocal.m4: Re-generate.
* configure: Re-generate.
From-SVN: r265695
2018-10-31 18:03:16 +01:00
|
|
|
2018-10-31 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
PR bootstrap/82856
|
|
|
|
* configure.ac: Remove AC_PREREQ.
|
|
|
|
* Makefile.in, aclocal.m4, configure: Regenerate.
|
|
|
|
|
2018-04-18 11:46:58 +02:00
|
|
|
2018-04-18 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
PR jit/85384
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2018-01-03 11:03:58 +01:00
|
|
|
2018-01-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
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.
|