2000-07-27 Tom Tromey <tromey@cygnus.com>
Anthony Green <green@cygnus.com>
Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (make_class_data): Create vtable for abstract classes.
(get_dispatch_table): Changed to cope with abstract classes.
Co-Authored-By: Alexandre Petit-Bianco <apbianco@cygnus.com>
Co-Authored-By: Anthony Green <green@cygnus.com>
From-SVN: r35313
* decl.c (duplicate_decls): If common_type produces a non-typedef
type for a typedef, just use the old type.
* pt.c (for_each_template_parm_r, case RECORD_TYPE): Use
TYPE_PTRMEMFUNC_P.
* cp-tree.h (TYPE_TEMPLATE_INFO): Check for TYPE_LANG_SPECIFIC.
From-SVN: r35311
* Makefile.in (INSN_ATTR_H): New macro. Replace all dependencies
on insn-attr.h with it.
* genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
* insn-addr.h: New header.
(insn_addresses_): Renamed from insn_addresses.
(INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
INSN_ADDRESSES_NEW): New macros.
* genattrtab.c (write_test_expr): Use new macros.
* final.c (insn_addresses, init_insn_lengths): Likewise.
(align_fuzz, shorten_branches): Likewise.
(final): Likewise. Do not reject new insns if their addresses
have been added to INSN_ADDRESSES.
* config/arm/arm.c, config/avr/avr.c: Use new macros.
* config/h8300/h8300.c, config/i370/i370.c: Likewise.
* config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
* config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
* config/sh/sh.c: Likewise.
(output_branchy_insn): Use INSN_ADDRESSES_NEW.
From-SVN: r35307
* Makefile.in (FLAGS_FOR_TARGET): New macro.
(GCC_FOR_TARGET): Use it.
(CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined...
* configure.in: ... here.
(FLAGS_FOR_TARGET): Define. Add ld build dir to -L path.
(libstdcxx_flags): Define and append to CXX_FOR_TARGET.
From-SVN: r35306
* gcc.c (struct prefix_list): Add member priority.
(enum path_prefix_priority): Declare.
(add_prefix): Replace ``first'' with ``priority''. Append new
entry but keep list in priority order.
(process_command): Update. Pass PREFIX_PRIORITY_B_OPT or
PREFIX_PRIORITY_LAST to add_prefix.
(process_command): Move include kludge - foo/stageN - to before
foo/include.
From-SVN: r35304
2000-07-27 Tom Tromey <tromey@cygnus.com>
* parse.y (patch_method_invocation): Don't reverse the argument
list when dealing with anonymous class constructors. Fixed typo in
comment.
2000-07-27 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (build_alias_initializer_parameter_list): Reverse
crafted list when building aliases for anonymous class
constructors.
(http://gcc.gnu.org/ml/gcc-patches/2000-07/msg01146.html)
From-SVN: r35303
* dwarf2out.c (gen_typedef_die): Abort if we get identical
TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
* typeck.c (common_type): If we're just returning one of our
arguments, don't strip typedef types.
From-SVN: r35297
2000-07-25 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (jdep_resolve_class): Don't bother checking potential
innerclass access if `decl' is NULL.
(find_in_imports_on_demand): TREE_PURPOSE of `import' contains the
WFL.
2000-07-24 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (find_as_inner_class): Removed 2000-07-19 patches.
* jcf-parse.c (HANDLE_INNERCLASSES_ATTRIBUTE): Local `decl' moved
outside the `if' statement, alias to innerclass removed, `decl'
used to mark the class complete.
From-SVN: r35287
* decl.c (start_cleanup_fn): Mark the function as `inline'.
* decl2.c (get_guard): Call cp_finish_decl, not
rest_of_decl_compilation, for local guards.
* lex.c (do_identifier): Remove unused variable.
From-SVN: r35285
* pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
__DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
Cast program to 'char *' in errmsg_arg assignment.
(PWAIT_ERROR): Define.
(pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
to DJGPP's WIF* macros.
From-SVN: r35281
* h8300.c (print_operand): Print ":8" when the 'R' operand is
suitable for 8-bit absolute.
* h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
(OK_FOR_U): Add a case for the 8-bit constant address on the
H8/300H.
From-SVN: r35278
&& ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
lack of implemented alignment.
From-SVN: r35277
* Makefile.in (rename.o, waitpid.o): Depend on config.h
* rename.c: include config.h, unistd.h
* waitpid.c: include config.h, sys/wait.h
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r35272
2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
before trying to use any of its options.
(CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
* aclocal.m4: Regenerate.
* configure.in: Having found GNU make, name it.
* configure: Regenerate.
* docs/install.html: Mention possible problems with caching.
* src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
* src/Makefile.in: Regenerate.
* libio/Makefile.in: Regenerate.
* math/Makefile.in: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r35269