summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* * timevar.def: Add TV_EXPAND.jason2000-06-0910-5/+58
| | | | | | | | | | | | | | | | | * 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
* * configure.in: Also avoid wrapping auto-build.h with IN_GCC.ghazi2000-06-093-4/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34469 138bc75d-0d04-0410-961f-82ee72b054a4
* * scan-types.sh (VALUE) Wrap use with double quotes to protectghazi2000-06-092-1/+7
| | | | | | | 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
* * system.h (SSIZE_MAX): Delete backup definition.ghazi2000-06-093-6/+12
| | | | | | | | * 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
* * configure.in: Check whether gas supports -relax.jakub2000-06-098-13/+100
| | | | | | | | | | | | | | | | | | * 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
* 2000-06-09 Gabriel Dos Reis <gdr@codesourcery.com>gdr2000-06-092-2/+7
| | | | | | | | * 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
* Daily bump.law2000-06-092-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34464 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/noncompile/noncompile.exp: Remove poison-1 block.zack2000-06-085-32/+30
| | | | | | | | | * 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
* Emit correct debug info for 64-bit signed enums on 64-bit host.wilson2000-06-082-3/+13
| | | | | | | | | | * 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
* * invoke.texi: Remove documentation for -fsquangle andmmitchel2000-06-0821-2311/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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
* Fix DWARF2 64-bit enum debugging support, for debugging IA-64 emacs bugs.wilson2000-06-083-9/+26
| | | | | | | | | | | | | | | * 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
* Add unwind support for epilogues, because the kernel unwinder needs them.wilson2000-06-084-15/+75
| | | | | | | | | | | | | | | | * 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
* * method.c (make_thunk): Clear DECL_VTT_PARM in thunk.jakub2000-06-082-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34454 138bc75d-0d04-0410-961f-82ee72b054a4
* * dbxout.c (dbxout_type_fields): Don't segfault on fields withjakub2000-06-082-0/+6
| | | | | | | incomplete types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34453 138bc75d-0d04-0410-961f-82ee72b054a4
* * frame.c (end_fde_sort): Remove extraneous erratic array test.nathan2000-06-082-3/+10
| | | | | | | * 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
* Daily bump.law2000-06-082-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34451 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-decl.c (pushdecl): Do not call COMPLETE_TYPE_P onzack2000-06-073-4/+25
| | | | | | | | | | 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
* 2000-06-06 Jakub Jelinek <jakub@redhat.com>zack2000-06-073-9/+31
| | | | | | | | * 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
* * config/avr/avr.c (asm_output_section_name): output sectiondenisc2000-06-073-4/+14
| | | | | | | | 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
* * POTFILES.in: Remove dyn-string.[ch].pthomas2000-06-073-1192/+2757
| | | | | | | | * 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
* * decl.c (pushdecl): Look up functions by DECL_NAME, notmmitchel2000-06-072-48/+43
| | | | | | | DECL_ASSEMBLER_NAME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34443 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law2000-06-072-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34442 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix gas/gcc unwind/EH discrepancies. And a shared library build problem.wilson2000-06-076-69/+101
| | | | | | | | | | | | * 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
* * configure.in (AC_C_INLINE): Added.pthomas2000-06-063-2/+8
| | | | | | | | * 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
* * c-common.h (c_language_kind): New type.mmitchel2000-06-069-6/+44
| | | | | | | | | | | | | | | | (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
* * decl.c (redeclaration_error_message): If two TEMPLATE_DECLs havemmitchel2000-06-062-55/+2
| | | | | | | | | 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
* * gcc.c-torture/execute/20000605-2.c: New test.rth2000-06-063-0/+41
| | | | | | | * 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
* 2000-06-06 Gabriel Dos Reis <gdr@codesourcery.com>gdr2000-06-0612-52/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* 2000-06-06 Mark Mitchell <mark@codesourcery.com>mmitchel2000-06-061-0/+7
| | | | | | | | | | * 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
* * parse.y (check_modifiers_consistency): Don't subtract outtromey2000-06-062-4/+7
| | | | | | | `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
* * g77.f-torture/execute/20000503-1.x: New file.mmitchel2000-06-062-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34432 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (Make the links): Typo fix : the file that must bephdm2000-06-063-4/+10
| | | | | | | | 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
* * g++.old-deja/g++.eh/badalloc1.C: New test.nathan2000-06-062-0/+81
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34430 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:nathan2000-06-065-23/+105
| | | | | | | | | | | | | | | * 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
* * expr.c (store_expr): Fix typo.jason2000-06-062-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34428 138bc75d-0d04-0410-961f-82ee72b054a4
* * m68k.c (legitimize_pic_address): Move prototype ...ghazi2000-06-066-12/+28
| | | | | | | | | | | | | | | | | | | * 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
* * sdbout.c (struct sdb_file): NAME now const.kenner2000-06-063-5/+12
| | | | | | | | | (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
* Daily bump.law2000-06-062-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34425 138bc75d-0d04-0410-961f-82ee72b054a4
* *gcc/configure: regeneratedpthomas2000-06-061-277/+267
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34424 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/:pthomas2000-06-0618-41/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* 2000-06-06 Gabriel Dos Reis <gdr@codesourcery.com>gdr2000-06-062-2/+8
| | | | | | | * 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
* * explow.c (maybe_set_unchanging): New function, broken out from...jason2000-06-064-6/+41
| | | | | | | | | (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
* * reload1.c (choose_reload_regs): Mind CLASS_CANNOT_CHANGE_SIZErth2000-06-062-1/+16
| | | | | | | 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
* * Makefile.in (libgcc.ready): Lose.jason2000-06-063-60/+39
| | | | | | | | | | | | | (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
* New test.rth2000-06-062-0/+52
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34418 138bc75d-0d04-0410-961f-82ee72b054a4
* simplifyjason2000-06-061-5/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34417 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (fold, case COND_EXPR): Elide conversion betweenjason2000-06-062-0/+9
| | | | | | | cv-qualified versions of types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34416 138bc75d-0d04-0410-961f-82ee72b054a4
* * search.c (maybe_suppress_debug_info): Don't checkjason2000-06-066-60/+120
| | | | | | | | | | | | | | | | | | | | | | | | 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
* * class.c (indirect_primary_base_p): New function.mmitchel2000-06-052-12/+78
| | | | | | | (determine_primary_base): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34412 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sparc/sparc.c (short_branch): Correct error in rangekenner2000-06-052-3/+10
| | | | | | | computation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34410 138bc75d-0d04-0410-961f-82ee72b054a4