OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years agoRevert last patch
mmitchel [Fri, 9 Jun 2000 16:45:22 +0000 (16:45 +0000)]
Revert last patch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34474 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/avr/avr.c (asm_output_section_name): bugfix.
denisc [Fri, 9 Jun 2000 16:45:00 +0000 (16:45 +0000)]
* config/avr/avr.c (asm_output_section_name): bugfix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34473 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cp-tree.h (cp_tree_index): Remove Java types.
mmitchel [Fri, 9 Jun 2000 16:41:10 +0000 (16:41 +0000)]
* cp-tree.h (cp_tree_index): Remove Java types.
(java_fundamental_type_kind): New enumeration type.
(java_fundamental_types): New array.
* class.c (push_lang_context): Use java_fundamental_types.
* decl.c (java_fundamental_types): Define it.
(initialize_java_fundamental_types): New function.
(init_decl_processing): Call it
* mangle.c (integer_type_codes): Make it const.
(java_fundamental_type_codes): New variable.
(write_source_name_from_string): New function.
(write_identifier): Constify.
(write_builtin_type): Handle Java types.  Use same_type_p for type
comparison.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34472 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agorevert mangling patch
jason [Fri, 9 Jun 2000 16:26:24 +0000 (16:26 +0000)]
revert mangling patch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34471 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * timevar.def: Add TV_EXPAND.
jason [Fri, 9 Jun 2000 16:23:47 +0000 (16:23 +0000)]
    * timevar.def: Add TV_EXPAND.
        * timevar.c (timevar_print): Update timing information.
        * calls.c (try_to_integrate): Push to TV_INTEGRATION for inlining.

        * stmt.c (expand_return): Check for error_mark_node.

cp/:
        * semantics.c (expand_body): Push to TV_EXPAND.
        * optimize.c (optimize_function): Push to TV_INTEGRATION.
        * decl.c (start_function): Always call announce_function.

        * tinfo2.cc: Just declare abort.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34470 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in: Also avoid wrapping auto-build.h with IN_GCC.
ghazi [Fri, 9 Jun 2000 14:49:38 +0000 (14:49 +0000)]
* configure.in: Also avoid wrapping auto-build.h with IN_GCC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34469 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * scan-types.sh (VALUE) Wrap use with double quotes to protect
ghazi [Fri, 9 Jun 2000 14:42:09 +0000 (14:42 +0000)]
* scan-types.sh (VALUE) Wrap use with double quotes to protect
variable against filename expansion when it contains "char *".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34468 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * system.h (SSIZE_MAX): Delete backup definition.
ghazi [Fri, 9 Jun 2000 14:37:56 +0000 (14:37 +0000)]
* system.h (SSIZE_MAX): Delete backup definition.

* cppfiles.c (read_include_file): Use INTTYPE_MAXIMUM(ssize_t)
instead of SSIZE_MAX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34467 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in: Check whether gas supports -relax.
jakub [Fri, 9 Jun 2000 14:31:54 +0000 (14:31 +0000)]
* configure.in: Check whether gas supports -relax.
* configure, config.in: Rebuilt.
* config/sparc/sparc.h (ASM_RELAX_SPEC): Define.
(EXTRA_SPECS): Add asm_relax.
(ASM_SPEC): Add %(asm_relax).
(TARGET_SWITCHES): Add -mrelax and -mno-relax.
* config/sparc/linux64.h (LINK_ARCH_SPEC): Rename to LINK_SPEC.
(LINK_SPEC): Pass -relax to linker unless -mno-relax or -r.
(ASM_SPEC): Add %(asm_relax).
* config/sparc/linux.h (LINK_SPEC, ASM_SPEC): Likewise.
* config/sparc/sparc.c (output_sibcall): If HAVE_AS_RELAX_OPTION,
never use sethi/jmpl for leaf tail calls.  Use or with rs2 %g0
instead of mov, so that gas can further optimize it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34466 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-06-09 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Fri, 9 Jun 2000 08:40:02 +0000 (08:40 +0000)]
2000-06-09  Gabriel Dos Reis  <gdr@codesourcery.com>

        * lex.c (DEF_OPERATOR): Say `operator@' -not- `operator @'
        whenever @ is a symbolic name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34465 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Fri, 9 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34464 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.c-torture/noncompile/noncompile.exp: Remove poison-1 block.
zack [Thu, 8 Jun 2000 22:39:17 +0000 (22:39 +0000)]
* gcc.c-torture/noncompile/noncompile.exp: Remove poison-1 block.
* gcc.c-torture/noncompile/poison-1.c: Move...
* gcc.dg/poison-1.c: ...here, and adapt to dg framework.
* gcc.dg/cpp-li1.c: Add a token after the #line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34463 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoEmit correct debug info for 64-bit signed enums on 64-bit host.
wilson [Thu, 8 Jun 2000 22:33:18 +0000 (22:33 +0000)]
Emit correct debug info for 64-bit signed enums on 64-bit host.
* dwarf2out.c (size_of_die, case dw_val_class_const): Use
size_of_sleb128.
(value_format, case dw_val_class_const): Use sdata format.
(output_die): Call output_sleb128.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34462 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-06-08 Branko Cibej <branko.cibej@hermes.si>
pme [Thu, 8 Jun 2000 21:22:02 +0000 (21:22 +0000)]
2000-06-08  Branko Cibej  <branko.cibej@hermes.si>

* acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT):  Check for
  sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
* aclocal.m4:  Regenerate.
* configure:  Regenerate.
* math/cosf.c:  New file.
* math/fabsf.c:  Likewise.
* math/sinf.c:  Likewise.
* math/sqrtf.c:  Likewise.
* math/Makefile.am (EXTRA_DIST):  Add those four files.
* math/Makefile.in:  Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34461 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
pme [Thu, 8 Jun 2000 18:05:39 +0000 (18:05 +0000)]
2000-06-08  Phil Edwards  <pme@sourceware.cygnus.com>

* testsuite/26_numerics/complex_inserters_extractors.cc:  Need cmath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34460 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * libioP.h: Remove old ABI mangling code.
mmitchel [Thu, 8 Jun 2000 17:35:44 +0000 (17:35 +0000)]
* libioP.h: Remove old ABI mangling code.
* stdstrbufs.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34459 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * invoke.texi: Remove documentation for -fsquangle and
mmitchel [Thu, 8 Jun 2000 17:34:33 +0000 (17:34 +0000)]
* invoke.texi: Remove documentation for -fsquangle and
-fname-mangling-version.

Remove old ABI mangling code.
* cp-tree.h (cp_tree_index): Remove CPTI_TINFO_DECL_ID and
CPTI_TINFO_VAR_ID.
(tinfo_decl_id): Remove.
(tinfo_var_id): Likewise.
(name_mangling_version): Likewise.
(flag_do_squangling): Likewise.
(get_vtt_name): Likewise.
(init_method): Likewise.
(build_overload_name): Likewise.
(build_static_name): Likewise.
(build_decl_overload_real): Likewise.
(build_overload_with_type): Likewise.
(build_destructor_name): Likewise.
(get_id_2): Likewise.
(get_ctor_vtbl_name): Likewise.
(mangle_typeinfo_fn_for_type): New function.
(mangle_java_reflection_var_for_type): Likewise.
* call.c (build_new_method_call): Use mangle_vtt_for_type.
* class.c (get_vtable_name): Remove.
(get_vtt_name): Remove.
(get_vtable_decl): Use mangle_vtbl_for_type.
(build_vtt): Likewise.
(build_ctor_vtbl_group): Remove old ABI mangling support.
* decl.c (pushtag): Likewise.
(maybe_commonize_var): Use set_mangled_name_for_decl.
(grokfndecl): Remove old ABI mangling support.
(grokvardecl): Likewise.
(grokdeclarator): Likewise.
(grok_op_properties): Adjust use of DEF_OPERATOR.
* decl2.c (name_mangling_version): Remove.
(lang_f_options): Remove squangle.
(unsupported_options): Add squangle.
(lang_decode_options): Don't set flag_do_squangling.  Issue a
warning for -fname-mangling-version.
(grokclassfn): Remove old ABI mangling support.
(finish_static_data_member_decl): Likewise.
(grokfield): Likewise.
(grokoptypename): Likewise.
(get_sentry): Likewise.
* init.c (build_java_class_ref): Use
mangle_java_reflection_var_for_type.
* lex.c (init_operators): Adjust use of DEF_OPERATOR.
(init_parse): Call init_mangle, not init_method.
* mangle.c (write_special_name_constructor): Handle
maybe-in-charge constructors.
(write_special_name_destructor): Handle
maybe-in-charge destructors.
(write_expression): Tweak code to handle non-type template
arguments with reference type.
(mangle_typeinfo_fn_for_type): New function.
(mangle_java_reflection_var_for_type): Likewise.
(mangle_conv_op_name_for_type): Don't use a name that the user
could type.
* method.c (enum mangling_flags): Remove.
(mangling_flags): Likewise.
(obstack_chunk_alloc): Likewise.
(obstack_chunk_free): Likewise.
(OB_INIT): Likewise.
(OB_PUTC): Likewise.
(OB_PUTC2): Likewise.
(OB_PUTS): Likewise.
(OB_PUTID): Likewise.
(OB_PUTCP): Likewise.
(OB_FINISH): Likewise.
(OB_LAST): Likewise.
(btypelist): Likewise.
(ktypelist): Likewise.
(maxbtype): Likewise.
(maxktype): Likewise.
(typevec): Likewise.
(maxtype): Likewise.
(init_method): Likewise.
(digit_buffer): Likewise.
(nofold): Likewise.
(start_squangling): Likewise.
(end_squangling): Likewise.
(icat): Likewise.
(dicat): Likewise.
(old_backref_index): Likewise.
(flush_repeats): Likewise.
(is_back_referenceable_type): Likewise.
(issue_nrepeats): Likewise.
(check_ktype): Likewise.
(issue_ktype): Likewise.
(build_overload_nested_name): Likewise.
(build_underscore_int): Likewise.
(build_overload_scope_ref): Likewise.
(mangle_expression): Likewise.
(build_overload_int): Likewise.
(mangled_C9x_name): Likewise.
(build_overload_value): Likewise.
(build_template_template_parm_names): Likewise.
(build_template_parm_names): Likewise.
(build_overload_identifier): Likewise.
(build_qualified_name): Likewise.
(build_mangled_name_for_type_with_Gcode): Likewise.
(build_mangled_name_for_type): Likewise.
(build_overload_name): Likewise.
(build_mangled_name): Likewise.
(process_modifiers): Likewise.
(check_btype): Likewise.
(process_overload_item): Likewise.
(build_static_name): Likewise.
(build_decl_overload_real): Likewise.
(set_mangled_name_for_decl): Remove old ABI mangling support.
(build_typename_overload): Remove.
(build_overload_with_type): Remove.
(get_id_2): Remove.
(get_ctor_vtbl_name): Remove.
(build_destructor_name): Likewise.
(set_mangled_name_for_decl): Likewise.
(make_thunk): Remove old ABI mangling support.
* operators.def: Likewise.
* pt.c (check_explicit_specialization): Don't call
set_mangled_name_for_template_decl.
(lookup_template_class): Remove old ABI mangling support.
(tsubst_friend_function): Update comment.
(tsubst_decl): Remove old ABI mangling support.
(tsubst_copy): Likewise.
(set_mangled_name_for_template_decl): Remove.
* rtti.c (init_rtti_processing): Use std_identifier.  Don't set
tinfo_decl_id or tinfo_var_id.
(get_tinfo_var): Use mangle_typeinfo_for_type.
(tinfo_name): Remove old ABI mangling support.
(get_tinfo_decl): Likewise.
(tinfo_base_init): Likewise.
(create_real_tinfo_var): Use a name that the user can't type.

* tinfo2.cc (BUILTIN): Adjust to use new mangling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34458 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix DWARF2 64-bit enum debugging support, for debugging IA-64 emacs bugs.
wilson [Thu, 8 Jun 2000 17:25:22 +0000 (17:25 +0000)]
Fix DWARF2 64-bit enum debugging support, for debugging IA-64 emacs bugs.
* dwarf2out.c (ASM_OUTPUT_DWARF_DATA8): Add new macro that uses
UNALIGNED_DOUBLE_INT_ASM_OP.  Rename old macro to
ASM_OUTPUT_DWARF_CONST_DOUBLE.
(output_die, case dw_val_class_unsigned_const): Correct call to
ASM_OUTPUT_DWARF_DATA8.
(output_die, case dw_val_class_long_long): Use
ASM_OUTPUT_DWARF_CONST_DOUBLE.
* tree.c (host_integerp): Accept unsigned HOST_WIDE_INT values when
pos is zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34457 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoAdd unwind support for epilogues, because the kernel unwinder needs them.
wilson [Thu, 8 Jun 2000 17:15:32 +0000 (17:15 +0000)]
Add unwind support for epilogues, because the kernel unwinder needs them.
* config/ia64/ia64-protos.h (ia64_output_end_prologue): Add.
(output_function_prologue): Fix mispelling.
(output_function_prologue, output_function_epilogue): Reorder to
match ia64.c definition order.
* config/ia64/ia64.c (ia64_expand_prologue): Add comment.
(ia64_expand_epilogue): Set RTX_FRAME_RELATED_P on stack restore insns.
Use r3 instead of r2 for large stack restores.
(ia64_output_end_prologue): New function.
(process_set): Emit ".restore sp" for epilogue stack restores.
* config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34456 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
phdm [Thu, 8 Jun 2000 16:51:44 +0000 (16:51 +0000)]
* cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34455 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * method.c (make_thunk): Clear DECL_VTT_PARM in thunk.
jakub [Thu, 8 Jun 2000 16:14:17 +0000 (16:14 +0000)]
* method.c (make_thunk): Clear DECL_VTT_PARM in thunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34454 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * dbxout.c (dbxout_type_fields): Don't segfault on fields with
jakub [Thu, 8 Jun 2000 14:33:04 +0000 (14:33 +0000)]
* dbxout.c (dbxout_type_fields): Don't segfault on fields with
incomplete types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34453 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * frame.c (end_fde_sort): Remove extraneous erratic array test.
nathan [Thu, 8 Jun 2000 08:30:28 +0000 (08:30 +0000)]
* frame.c (end_fde_sort): Remove extraneous erratic array test.

* frame.c (start_fde_sort): Don't malloc (0).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34452 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Thu, 8 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34451 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cp-demangle.c (stdio.h): File included unconditionaly.
phdm [Thu, 8 Jun 2000 07:29:53 +0000 (07:29 +0000)]
* cp-demangle.c (stdio.h): File included unconditionaly.
(template_arg_list_new): Parameter list is PARAMS ((void)), not ().
* dyn-string.c (stdio.h): File included.
* partition.c (partition_print): No `&' needed to take the address of
a function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34450 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-decl.c (pushdecl): Do not call COMPLETE_TYPE_P on
zack [Wed, 7 Jun 2000 22:43:44 +0000 (22:43 +0000)]
* c-decl.c (pushdecl): Do not call COMPLETE_TYPE_P on
error_mark_node.
* print-tree.c (print_node): The transparent_union_flag means
different things for unions and arrays.  Do not inspect it
with TYPE_TRANSPARENT_UNION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34449 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-06-06 Jakub Jelinek <jakub@redhat.com>
zack [Wed, 7 Jun 2000 22:27:57 +0000 (22:27 +0000)]
2000-06-06  Jakub Jelinek  <jakub@redhat.com>

* cpplib.c (do_ifdef, do_ifndef): Don't segfault if parse_ifdef
returned NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34448 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agolibiberty:
ghazi [Wed, 7 Jun 2000 21:13:14 +0000 (21:13 +0000)]
libiberty:
* configure.in (ac_libiberty_warn_cflags): Add -pedantic.

* choose-temp.c (try, choose_temp_base, make_temp_file): Constify.

* cp-demangle.c (demangle_char): Change parameter from char to int.
(demangle_expression, demangle_expr_primary): Remove extra
semi-colon in prototype.

* dyn-string.c (dyn_string_append_char): Change parameter from
char to int.

* memcmp.c (memcmp): Constify.

* mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
__extension__.

* partition.c (elem_compare): Prototype.  Don't cast away
const-ness.

* setenv.c (setenv): Use braces to avoid ambiguous `else'.

include:
* demangle.h (demangling_styles): Remove trailing comma in enum.

* dyn-string.h (dyn_string_append_char): Change parameter from
char to int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34447 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
ghazi [Wed, 7 Jun 2000 20:35:43 +0000 (20:35 +0000)]
* Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.

* cp-demangle.c: Include demangle.h.
(template_arg_list_new): DeANSIfy.
(cp_demangle): Make static and add prototype.
(operator_code, operators): Constify.
(demangle_operator_name): Likewise for variables `p1', `p2' and `p'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34446 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/avr/avr.c (asm_output_section_name): output section
denisc [Wed, 7 Jun 2000 16:45:46 +0000 (16:45 +0000)]
* config/avr/avr.c (asm_output_section_name): output section
attributes.
* config/avr/libgcc.S (.text.libgcc): declare section attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34445 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * POTFILES.in: Remove dyn-string.[ch].
pthomas [Wed, 7 Jun 2000 12:44:41 +0000 (12:44 +0000)]
* POTFILES.in: Remove dyn-string.[ch].
* gcc.pot: Regenerated.
* cat-id-tbl.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34444 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * decl.c (pushdecl): Look up functions by DECL_NAME, not
mmitchel [Wed, 7 Jun 2000 07:59:00 +0000 (07:59 +0000)]
* decl.c (pushdecl): Look up functions by DECL_NAME, not
DECL_ASSEMBLER_NAME.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34443 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Wed, 7 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34442 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix gas/gcc unwind/EH discrepancies. And a shared library build problem.
wilson [Wed, 7 Jun 2000 02:27:51 +0000 (02:27 +0000)]
Fix gas/gcc unwind/EH discrepancies.  And a shared library build problem.
* frame.h (struct unwind_info_ptr): Collapse version, flags, and length
fields into header field.
(IA64_UNW_HDR_LENGTH, IA64_UNW_HDR_FLAGS, IA64_UNW_HDR_VERSION): New
macros to access length, flags, and version info from header field.
* config/ia64/crtbegin.asm (__do_frame_setup_aux): Delete here.
...

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34441 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in (AC_C_INLINE): Added.
pthomas [Tue, 6 Jun 2000 22:04:08 +0000 (22:04 +0000)]
    * configure.in (AC_C_INLINE): Added.
* aclocal.m4 (AM_WITH_NLS): Enable --with-included-gettext by default.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34440 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-common.h (c_language_kind): New type.
mmitchel [Tue, 6 Jun 2000 21:54:54 +0000 (21:54 +0000)]
* c-common.h (c_language_kind): New type.
(c_language): New variab.e
* c-common.c (lang_get_alias_set): Don't put structures in
non-zero alias sets in C++.
* c-decl.c (c_language): Define it.
* c-lex.c (doing_objc_thang): Remove.
* c-tree.h (doing_objc_thang): Make it a macro.
* objc/objc-act.c (lang_decode_option): Set c_language, not
doing_objc_thang.

* decl2.c (c_language): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34439 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * decl.c (redeclaration_error_message): If two TEMPLATE_DECLs have
mmitchel [Tue, 6 Jun 2000 21:41:28 +0000 (21:41 +0000)]
* decl.c (redeclaration_error_message): If two TEMPLATE_DECLs have
the same DECL_RESULT, it's not a redefinition.
* pt.c (tsubst_decl): Remove code to handle illegal
specializations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34438 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.c-torture/execute/20000605-2.c: New test.
rth [Tue, 6 Jun 2000 20:54:30 +0000 (20:54 +0000)]
    * gcc.c-torture/execute/20000605-2.c: New test.
        * gcc.c-torture/execute/20000605-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34437 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-06-06 Steven King <sxking@uswest.net>
bkoz [Tue, 6 Jun 2000 20:26:13 +0000 (20:26 +0000)]
2000-06-06  Steven King <sxking@uswest.net>

        * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
        double and long double.  Added defines for HAVE libm math functs for
        float and long double.
        * aclocal.m4: Added configure checks for builtin math funcs and libm
        support for float and long double versions of the math functions.
        * config.h.in: Added undefs for math functs.
        * configure: Regenerate.
        * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
        _GLIBCPP_HAVE_BUILTIN_*.
        * bits/std_cmath.h: Added long double support.  Use builtins for
        float, double and long if available, otherwise, use libm versions if
        availible, otherwise, punt.
        * shadow/bits/std_cmath.h: ditto

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34436 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-06-06 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Tue, 6 Jun 2000 20:11:40 +0000 (20:11 +0000)]
2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>

        * diagnostic.c (output_maximum_width): Remove.
        (doing_line_wrapping): Tweak.
        (diagnostic_buffer): New object.
        (global_output_buffer): New object.
        (output_destroy_prefix): New function.
        (default_initialize_buffer): Likewise.
        (reshape_diagnostic_buffer): Likewise.
        (initialize_diagnostics): Likewise.
        (output_clear): Tweak.
        (line_wrapper_printf): Adjust call to init_output_buffer.
        (vline_wrapper_message_with_location): Likewise.  Use
        output_destroy_prefix.
        (v_message_with_decl): Likewise.

        * diagnostic.h (struct output_buffer): Constify prefix.
        (init_output_buffer, output_get_prefix): Constify.
        (diagnostic_message_length_per_line): Likewise.
        (reshape_diagnostic_buffer): Declare.
        (default_initialize_buffer): Declare.
        (initialize_diagnostics): Declare.
        (diagnostic_buffer): Declare new obbject.

        * toplev.c: #include diagnostic.h
        (display_help): Document diagnostic formatting options.
        (decode_f_option): Handle diagnostic formatting options.
        (main): Setup initialization for diagnostic messages outputter.

        * toplev.h (set_message_length): Remove.

        * Makefile.in (toplev.o): Depends upon diagnostic.h

        * invoke.texi : Document diagnostics formatting options.

cp/
2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>

        * lex.c (lang_init_options): Tweak.

        * decl2.c: Remove #inclusion of diagnostic.h
        (lang_decode_option): Move diagnostic formatting options to
        toplevel.

        * lang-options.h: Remove documentation for diagnostic options.

        * Makefile.in (lex.o): Depends upon diagnostic.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34435 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-06-06 Mark Mitchell <mark@codesourcery.com>
mmitchel [Tue, 6 Jun 2000 19:55:54 +0000 (19:55 +0000)]
2000-06-06  Mark Mitchell  <mark@codesourcery.com>

* decl.c (redeclaration_error_message): If two TEMPLATE_DECLs have
the same DECL_RESULT, it's not a redefinition.
* pt.c (tsubst_decl): Remove code to handle illegal
specializations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34434 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * parse.y (check_modifiers_consistency): Don't subtract out
tromey [Tue, 6 Jun 2000 18:46:16 +0000 (18:46 +0000)]
* parse.y (check_modifiers_consistency): Don't subtract out
`PUBLIC_TK' from argument to THIS_MODIFIER_ONLY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34433 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * g77.f-torture/execute/20000503-1.x: New file.
mmitchel [Tue, 6 Jun 2000 17:46:14 +0000 (17:46 +0000)]
* g77.f-torture/execute/20000503-1.x: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34432 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in (Make the links): Typo fix : the file that must be
phdm [Tue, 6 Jun 2000 17:36:34 +0000 (17:36 +0000)]
* configure.in (Make the links): Typo fix : the file that must be
included without #ifdef IN_GCC is `auto-host.h', not `auto-config.h'.
* configure: File rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34431 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * g++.old-deja/g++.eh/badalloc1.C: New test.
nathan [Tue, 6 Jun 2000 16:39:52 +0000 (16:39 +0000)]
* g++.old-deja/g++.eh/badalloc1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34430 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agogcc:
nathan [Tue, 6 Jun 2000 16:38:49 +0000 (16:38 +0000)]
gcc:
  * eh-common.h (EH_ALLOC_SIZE, EH_ALLOC_ALIGN): New #defines.
(eh_context): Add alloc_mask and alloc_buffer emergency fallback
space.
* libgcc2.c (__eh_alloc): Moved from cp/exception.cc. Fallback on
emergency eh_context buffer, if malloc fails.
(__eh_free): Moved from cp/exception.cc. Release to emergency
eh_context buffer, if appropriate.
gcc/cp:
* exception.cc: (__eh_alloc, __eh_free): Moved to libgcc2.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34429 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * expr.c (store_expr): Fix typo.
jason [Tue, 6 Jun 2000 16:28:49 +0000 (16:28 +0000)]
    * expr.c (store_expr): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34428 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * m68k.c (legitimize_pic_address): Move prototype ...
ghazi [Tue, 6 Jun 2000 16:21:41 +0000 (16:21 +0000)]
* m68k.c (legitimize_pic_address): Move prototype ...

* m68k-protos.h (legitimize_pic_address): ... here.

* m68k.md (legitimize_pic_address): Delete prototypes.
(untyped_call): Invoke GEN_CALL(), not gen_call().

* nextstep.c: Include system.h and toplev.h.
(get_directive_line): Don't prototype.
(handle_pragma): Mark parameters with ATTRIBUTE_UNUSED and constify.

* nextstep.h (handle_pragma): Prototype.
(SECTION_FUNCTION): Prototype FUNCTION().  Move prototype of
objc_section_init ...
(EXTRA_SECTION_FUNCTIONS): ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34427 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * sdbout.c (struct sdb_file): NAME now const.
kenner [Tue, 6 Jun 2000 12:08:44 +0000 (12:08 +0000)]
* sdbout.c (struct sdb_file): NAME now const.
(sdbout_init): input_file_name now const.
(sdbout_start_new_source_file): FILENAME now const.
* sdbout.c (sdbout_init, sdbout_start_new_source_file): Reflect above.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34426 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Tue, 6 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34425 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago *gcc/configure: regenerated
pthomas [Tue, 6 Jun 2000 07:24:57 +0000 (07:24 +0000)]
*gcc/configure: regenerated

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34424 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agogcc/:
pthomas [Tue, 6 Jun 2000 07:23:42 +0000 (07:23 +0000)]
gcc/:
        * configure.in (AC_C_INLINE): Added.
* configure: Regenerate.

gcc/java:
* Makefile.in (INTLLIBS): New.
(LIBS): Add above.
(DEPLIBS): Ditto.

gcc/f:
* Makefile.in(INTLLIBS): New macro.
(LIBS): Add INTLLIBS.
(DEPLIBS): Likewise.

gcc/ch:
* Makefile.in: Changed to be processed by configure.
(INTLLIBS): New macro.
(LIBS): Add INTLLIBS.
(DEPLIBS): Likewise.
* config-lang(outputs): Specify ch/Makefile.

gcc/po:
* Makefile.in.in: Add --define switch for xgettext.

gcc/intl:
* Makefile.in: Add -DIN_GCC to DEFS, add appropriate -I switches.
* dcgettext.c: Define _GNU_SOURCE before any system header is
included. Guard getcwd declaration with HAVE_DECL_GETCWD.
* loadmsgcat.c (_nl_load_domain): Cast st.st_size in compaison to
size_t.
* localealias.c: Define _GNU_SOURCE before any system header is
included. Don't use return value of memcpy because it could be a
macro defined in terms of bcopy.
(read_alias_file): Remove HAVE_MEMCPY guard and just don't use the
return value of memcpy. Cast argument to fgets and strlen to char *.
* explodename.c (_nl_explode_name): Cast codeset to unsigned char **
in call to _nl_normalize_codeset.
* l10nflist.c: Define _GNU_SOURCE before any system header is
included.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34423 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-06-06 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Tue, 6 Jun 2000 06:55:35 +0000 (06:55 +0000)]
2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>

        * c-typeck.c (build_conditional_expr): Handle complex data types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34422 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * explow.c (maybe_set_unchanging): New function, broken out from...
jason [Tue, 6 Jun 2000 03:37:50 +0000 (03:37 +0000)]
    * explow.c (maybe_set_unchanging): New function, broken out from...
        (set_mem_attributes): Here.
        * expr.h: Declare it.
        * stmt.c (expand_decl): Call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34421 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * reload1.c (choose_reload_regs): Mind CLASS_CANNOT_CHANGE_SIZE
rth [Tue, 6 Jun 2000 02:40:14 +0000 (02:40 +0000)]
    * reload1.c (choose_reload_regs): Mind CLASS_CANNOT_CHANGE_SIZE
        while looking for a register to inherit from.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34420 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (libgcc.ready): Lose.
jason [Tue, 6 Jun 2000 01:56:06 +0000 (01:56 +0000)]
    * Makefile.in (libgcc.ready): Lose.
        (libgcc.mk): Just use mv, not move-if-change.
        (LIBGCC_DEPS): New macro.
        (libgcc.a): Use it.
        (stmp-multilib): Likewise.
        * mklibgcc.in (stmp-dirs): New target.  Make everything depend on
        it rather than the directories themselves.
        (LIB2ADD): Depend on the list file rather than 'force'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34419 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoNew test.
rth [Tue, 6 Jun 2000 00:19:52 +0000 (00:19 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34418 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agosimplify
jason [Tue, 6 Jun 2000 00:17:32 +0000 (00:17 +0000)]
simplify

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34417 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * fold-const.c (fold, case COND_EXPR): Elide conversion between
jason [Tue, 6 Jun 2000 00:15:37 +0000 (00:15 +0000)]
    * fold-const.c (fold, case COND_EXPR): Elide conversion between
        cv-qualified versions of types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34416 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * search.c (maybe_suppress_debug_info): Don't check
jason [Tue, 6 Jun 2000 00:12:40 +0000 (00:12 +0000)]
    * search.c (maybe_suppress_debug_info): Don't check
        CLASSTYPE_INTERFACE_ONLY if CLASSTYPE_INTERFACE_KNOWN isn't set.

        * pt.c (mark_decl_instantiated): Do SET_DECL_EXPLICIT_INSTANTIATION
        here if extern_p.

        Remember instantiation context in deferred instantiations.
        * cp-tree.h (struct tinst_level): Remove.
        (TINST_DECL, TINST_LINE, TINST_FILE): New macros.
        * pt.c (current_tinst_level): Now a tree.
        (print_template_context, push_tinst_level, pop_tinst_level,
        tinst_for_decl): Adjust.
        (reopen_tinst_level): New fn.
        (init_pt): Register current_tinst_level as a root.
        (add_pending_template): Put current_tinst_level in TREE_PURPOSE
        of the pending templates list.
        (instantiate_pending_templates): Adjust.  Call reopen_tinst_level.
        * lex.c (extract_interface_info): Adjust.
        * decl2.c (warn_if_unknown_interface): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34415 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config.guess: Updated to latest version.
pthomas [Mon, 5 Jun 2000 23:23:43 +0000 (23:23 +0000)]
* config.guess: Updated to latest version.
* config.sub: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34413 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * class.c (indirect_primary_base_p): New function.
mmitchel [Mon, 5 Jun 2000 20:01:47 +0000 (20:01 +0000)]
* class.c (indirect_primary_base_p): New function.
(determine_primary_base): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34412 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
samuel [Mon, 5 Jun 2000 18:24:07 +0000 (18:24 +0000)]
* cp-demangle.c (demangle_prefix): Cast argument to isdigit to
unsigned char.
(demangle_unqualified_name): Likewise.
(demangle_number_literally): Likewise.
(demangle_type): Likewise.
(demangle_substitution): Likewise.
(is_mangled_char): Likewise, for isalnum.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34411 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/sparc/sparc.c (short_branch): Correct error in range
kenner [Mon, 5 Jun 2000 18:04:53 +0000 (18:04 +0000)]
* config/sparc/sparc.c (short_branch): Correct error in range
computation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34410 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoNew include hacks for ultrix
korbb [Mon, 5 Jun 2000 17:49:58 +0000 (17:49 +0000)]
New include hacks for ultrix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34409 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agotypo
korbb [Mon, 5 Jun 2000 17:49:33 +0000 (17:49 +0000)]
typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34408 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoNew include hacks for ultrix
korbb [Mon, 5 Jun 2000 17:44:07 +0000 (17:44 +0000)]
New include hacks for ultrix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34407 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoOops, remove conflict marker
zack [Mon, 5 Jun 2000 17:00:32 +0000 (17:00 +0000)]
Oops, remove conflict marker

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34406 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * objc/objc-act.c (generate_method_descriptors): Register
zack [Mon, 5 Jun 2000 16:59:43 +0000 (16:59 +0000)]
* objc/objc-act.c (generate_method_descriptors): Register
objc_method_prototype_template as a GC root.
(comp_method_with_proto): Register function_type as a GC root.
(comp_proto_with_proto): Replace function_type1 and
function_type2 with a two-element array; register it as a GC root.

(generate_protocols, build_protocol_initializer,
generate_protocol_list, build_category_initializer,
build_shared_structure_initializer): Do not cache cast_type
and/or cast_type2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34405 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * function.c (assign_parms): Add missing argument to set_mem_attributes
kenner [Mon, 5 Jun 2000 16:58:25 +0000 (16:58 +0000)]
* function.c (assign_parms): Add missing argument to set_mem_attributes
call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34404 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.c-torture/compile/20000605-1.c: New test.
nathan [Mon, 5 Jun 2000 13:44:29 +0000 (13:44 +0000)]
* gcc.c-torture/compile/20000605-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34403 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tree.h (VOID_TYPE_P): New macro.
nathan [Mon, 5 Jun 2000 13:16:14 +0000 (13:16 +0000)]
* tree.h (VOID_TYPE_P): New macro.
(COMPLETE_OR_VOID_TYPE_P): Use VOID_TYPE_P.
* c-decl.c (grokdeclarator): Use VOID_TYPE_P.
(get_parm_info): Likewise.
(store_parm_decls): Likewise.
(combine_parm_decls): Likewise.
(finish_function): Likewise.
* c-typeck.c (build_function_call): Likewise.
(build_binary_op): Likewise.
(build_conditional_expr): Likewise.
(internal_build_compound_expr): Likewise.
(convert_for_assignment): Likewise.
* stmt.c (expend_expr_stmt): Likewise.
(warn_if_unused_value): Likewise.
(expand_return): Likewise.
* c-parse.in (primary): Likewise.
* c-parse.y, c-parse.c, c-parse.h: Regenerate.
* objc/objc-parse.y, objc/objc-parse.c: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34402 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago Update new-abi dynamic cast algorithm.
nathan [Mon, 5 Jun 2000 12:14:23 +0000 (12:14 +0000)]
Update new-abi dynamic cast algorithm.
* tinfo.cc (__class_type_info::__dyncast_result): Add
whole_details. Adjust constructor.
(__vmi_class_type_info::__do_dyncast): Adjust for vmi_flags.
Avoid unnecessary searching.
(__dynamic_cast): Adjust for __dyncast_result::whole_details.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34401 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * alias.c (get_alias_set): If compnent is addressable, use alias
kenner [Mon, 5 Jun 2000 10:49:11 +0000 (10:49 +0000)]
* alias.c (get_alias_set): If compnent is addressable, use alias
set of component.
* c-decl.c (init_decl_processing): Don't call record_component_aliases.
(grokdeclarator): Likewise.
* c-typeck.c (common_type): Likewise.
* cp/decl.c (init_decl_processing): Don't call
record_component_aliases.
* cp/tree.c (build_cplus_array_type_1): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34400 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Mon, 5 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34399 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (OBJS): Remove dyn_string.o
samuel [Mon, 5 Jun 2000 06:37:17 +0000 (06:37 +0000)]
* Makefile.in (OBJS): Remove dyn_string.o
(dyn-string.o): Delete rule.
* dyn-string.c: Delete file
* dyn-string.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34398 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoIn include,
samuel [Mon, 5 Jun 2000 02:28:41 +0000 (02:28 +0000)]
In include,

* dyn-string.h: Move here from gcc/dyn-string.h.  Add new functions.

* demangle.h (DMGL_GNU_NEW_ABI): New macro.
(DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI.
(current_demangling_style): Add gnu_new_abi_demangling.
(GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro.
(GNU_NEW_ABI_DEMANGLING): Likewise.
(cplus_demangle_new_abi): New declaration.

In libiberty,

* Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
(REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
(cp-demangle.o): New dependency.
(dyn-string.o): Likewise.

* dyn-string.c: Move here from gcc/dyn-string.c.  Add new functions.

* cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
demangler.
(cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
demangling mode.
(gnu_new_abi_symbol_characters): New function.
(main): Use gnu_new_abi_symbol_characters.  * cp-demangle.c: New
file.
* cp-demangle.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34397 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * ir.texi: Correct typo.
mmitchel [Mon, 5 Jun 2000 01:42:22 +0000 (01:42 +0000)]
* ir.texi: Correct typo.
* mangle.c (write_expression): Handle non-type template arguments
with reference type.
* method.c (build_overload_value): Likewise.
* pt.c (convert_nontype_argument): Explicitly represent conversion
to a reference with an ADDR_EXPR.
(unify): Always unify arguments in left-to-right order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34396 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * libioP.h: Handle new ABI mangling.
mmitchel [Sun, 4 Jun 2000 21:16:04 +0000 (21:16 +0000)]
* libioP.h: Handle new ABI mangling.
* stdstrbufs.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34395 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Make-lang.in (CXX_SRCS): Add mangle.c.
mmitchel [Sun, 4 Jun 2000 21:12:27 +0000 (21:12 +0000)]
* Make-lang.in (CXX_SRCS): Add mangle.c.
* Makefile.in (CXX_OBJS): Add mangle.o.
(mangle.o): New rule.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34394 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (intl.*): Honor non-zero exit codes in the intl
ghazi [Sun, 4 Jun 2000 19:52:22 +0000 (19:52 +0000)]
* Makefile.in (intl.*): Honor non-zero exit codes in the intl
subdir.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34393 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * newcvsroot: Handle filenames that contain spaces.
mmitchel [Sun, 4 Jun 2000 17:33:50 +0000 (17:33 +0000)]
* newcvsroot: Handle filenames that contain spaces.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34391 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Sun, 4 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34390 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * alias.c (record_component_aliases): Don't inspect
mmitchel [Sun, 4 Jun 2000 05:51:12 +0000 (05:51 +0000)]
    * alias.c (record_component_aliases): Don't inspect
        DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34389 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agofix typo
meissner [Sun, 4 Jun 2000 05:24:29 +0000 (05:24 +0000)]
fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34388 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * test_summary: In generated script, use cat <<'EOF' not cat <<\EOF.
zack [Sun, 4 Jun 2000 02:06:54 +0000 (02:06 +0000)]
* test_summary: In generated script, use cat <<'EOF' not cat <<\EOF.
Elide --with-gcc-version-trigger and --norecursion from
configure flags.  Remove code to report status of haifa scheduler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34387 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoadd IFCVT_MODIFY macros for the MD file to tweak the conditional execution support.
meissner [Sun, 4 Jun 2000 02:03:03 +0000 (02:03 +0000)]
add IFCVT_MODIFY macros for the MD file to tweak the conditional execution support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34386 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoexpand
jason [Sun, 4 Jun 2000 02:02:19 +0000 (02:02 +0000)]
expand

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34385 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cp-tree.h (TMPL_ARGS_LEVEL): Clarify comment.
mmitchel [Sat, 3 Jun 2000 21:42:49 +0000 (21:42 +0000)]
* cp-tree.h (TMPL_ARGS_LEVEL): Clarify comment.
(INNERMOST_TEMPLATE_ARGS): New macro.
(innermost_args): Remove.
(get_innermost_template_args): New function.
* decl2.c (arg_assoc_class): Use INNERMOST_TEMPLATE_ARGS.
* error.c (dump_function_decl): Be caution when using
most_general_template.
* method.c (build_template_parm_names):  Use
INNERMOST_TEMPLATE_ARGS.
* pt.c (add_to_template_args): Tidy comment
(get_innermost_template_args): New function.
(check_explicit_specialization): Clear DECL_INITIAL for a new
specialization.
(process_partial_specialization): Use INNERMOST_TEMPLATE_ARGS.
Tidy.
(push_template_decl): Always register specializations of the most
general template.
(convert_template_argument): Use INNERMOST_TEMPLATE_ARGS.
(coerce_template_parms): Likewise.
(lookup_template_class): Likewise.
(innermost_args): Remove.
(tsubst_decl): Use INNERMOST_TEMPLATE_ARGS.
(tsubst_decl): Handle tricky specializations.  Use
get_innermost_template_args.
(instantiate_template): Simplify handling of partial
instantiations.
(get_class_bindings): Use INNERMOST_TEMPLATE_ARGS.
(most_general_template): Reimplement, in a more straightforward
manner.
(regenerate_decl_from_template): Tweak formatting.  Use
TMPL_ARGS_DEPTH for clarity.
(set_mangled_name_for_template_decl): Use INNERMOST_ARGS.

* dump.c (dequeue_and_dump): Dump information about thunks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34384 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * g77.f-torture/compile/20000601-1.f: New test.
law [Sat, 3 Jun 2000 21:34:24 +0000 (21:34 +0000)]
    * g77.f-torture/compile/20000601-1.f:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34383 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * chill.texi (INFO-DIR-ENTRY): Fix chill entry.
law [Sat, 3 Jun 2000 21:32:06 +0000 (21:32 +0000)]
    * chill.texi (INFO-DIR-ENTRY): Fix chill entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34382 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * toplev.c (main): Fix misspellings of possibility and language.
law [Sat, 3 Jun 2000 21:28:37 +0000 (21:28 +0000)]
    * toplev.c (main): Fix misspellings of possibility and language.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34381 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * alias.c (record_alias_subset): Initialize has_zero_child in the
rth [Sat, 3 Jun 2000 15:03:21 +0000 (15:03 +0000)]
    * alias.c (record_alias_subset): Initialize has_zero_child in the
        superset.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34380 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.c-torture/execute/20000603-1.c: New.
rth [Sat, 3 Jun 2000 15:01:49 +0000 (15:01 +0000)]
    * gcc.c-torture/execute/20000603-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34379 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* arm.md (untyped_call): Use GEN_CALL macro.
rearnsha [Sat, 3 Jun 2000 10:44:59 +0000 (10:44 +0000)]
* arm.md (untyped_call): Use GEN_CALL macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34378 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Sat, 3 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34377 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-06-01 Pekka Nikander <pnr@teldanex.tcm.hut.fi>
robertl [Sat, 3 Jun 2000 03:01:59 +0000 (03:01 +0000)]
2000-06-01  Pekka Nikander  <pnr@teldanex.tcm.hut.fi>

       * Makefile.in: Use $(MAKE) not "make"

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34376 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * exception.cc (__cp_pop_exception): If we aren't popping or
jason [Sat, 3 Jun 2000 02:20:09 +0000 (02:20 +0000)]
    * exception.cc (__cp_pop_exception): If we aren't popping or
        rethrowing, push down past any uncaught exceptions.
        (__uncatch_exception): Rethrow the currently handled exception.
        Move it to the top of the exception stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34375 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agonew
jason [Sat, 3 Jun 2000 02:07:51 +0000 (02:07 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34374 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * alias.c (struct alias_set_entry): New field has_zero_child.
kenner [Sat, 3 Jun 2000 01:57:46 +0000 (01:57 +0000)]
* alias.c (struct alias_set_entry): New field has_zero_child.
(mem_in_disjoint_alias_sets_p): Return 0 if set in either ase.
(get_alias_set): If language-dependent routine set TYPE_ALIAS_SET,
do nothing.
Call record_component_aliases for aggregate types.
(record_alias_subset): Set has_zero_child.
(record_component_aliases, case ARRAY_TYPE): Do nothing if
TYPE_NONALIASES_COMPONENT.
(record_component_aliases, case RECORD_TYPE): Test
DECL_NONADDRESSABLE_P.
* c-decl.c (grokdeclarator): Set DECL_NONADDRESSABLE_P instead
of TREE_ADDRESSABLE.
* calls.c (initialize_argument_information): Only test
TYPE_TRANSPARENT_UNION for UNION_TYPE.
* function.c (assign_parms): Likewise.
* integrate.c (function_cannot_inline_p): Likewise.
* stor-layout.c (finish_record_layout): Don't call
record_component_aliases.
* tree.h (struct tree_int_cst): Use struct tree_common.
(struct tree_real_cst, struct tree_string): Likewise.
(struct tree_complex, struct tree_identifier): Likewise.
(struct tree_list, struct tree_vec, struct tree_exp): Likewise.
(struct tree_block, struct tree_type, struct tree_decl): Likewise.
(TYPE_TRANSPARENT_UNION): Use UNION_TYPE_CHECK.
(TYPE_NONALIASES_COMPONENT): New macro.
(TYPE_AMBIENT_BOUNDEDNESS): Use FUNCTION_TYPE_CHECK.
(DECL_NONADDRESSABLE_P): New macro.
(struct tree_decl): Reorder bits for clarity of how many left;
add non_adressable.
* cp/cp-tree.h: Use struct tree_common instead of a char array.
* cp/decl.c (grokdeclarator): Set DECL_NONADDRESSABLE_P instead
of TREE_ADDRESSABLE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34373 138bc75d-0d04-0410-961f-82ee72b054a4