- 08 Jun, 2000 13 commits
-
-
* 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. From-SVN: r34462
James E. Wilson committed -
acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing. 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. From-SVN: r34461
Branko Cibej committed -
2000-06-08 Phil Edwards <pme@sourceware.cygnus.com> * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath. From-SVN: r34460
Phil Edwards committed -
* libioP.h: Remove old ABI mangling code. * stdstrbufs.cc: Likewise. From-SVN: r34459
Mark Mitchell committed -
* 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. From-SVN: r34458
Mark Mitchell committed -
* 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. From-SVN: r34457
James E. Wilson committed -
* 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. From-SVN: r34456
James E. Wilson committed -
From-SVN: r34455
Philippe De Muyter committed -
From-SVN: r34454
Jakub Jelinek committed -
* dbxout.c (dbxout_type_fields): Don't segfault on fields with incomplete types. From-SVN: r34453
Jakub Jelinek committed -
* frame.c (end_fde_sort): Remove extraneous erratic array test. * frame.c (start_fde_sort): Don't malloc (0). From-SVN: r34452
Nathan Sidwell committed -
From-SVN: r34451
Jeff Law committed -
* 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. From-SVN: r34450
Philippe De Muyter committed
-
- 07 Jun, 2000 9 commits
-
-
* 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. From-SVN: r34449
Zack Weinberg committed -
2000-06-06 Jakub Jelinek <jakub@redhat.com> * cpplib.c (do_ifdef, do_ifndef): Don't segfault if parse_ifdef returned NULL. From-SVN: r34448
Jakub Jelinek committed -
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. From-SVN: r34447
Kaveh R. Ghazi committed -
* 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'. From-SVN: r34446
Kaveh R. Ghazi committed -
* config/avr/avr.c (asm_output_section_name): output section attributes. * config/avr/libgcc.S (.text.libgcc): declare section attributes. From-SVN: r34445
Denis Chertykov committed -
* POTFILES.in: Remove dyn-string.[ch]. * gcc.pot: Regenerated. * cat-id-tbl.c: Ditto. From-SVN: r34444
Philipp Thomas committed -
* decl.c (pushdecl): Look up functions by DECL_NAME, not DECL_ASSEMBLER_NAME. From-SVN: r34443
Mark Mitchell committed -
From-SVN: r34442
Jeff Law committed -
* 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. ... From-SVN: r34441
James E. Wilson committed
-
- 06 Jun, 2000 18 commits
-
-
* configure.in (AC_C_INLINE): Added. * aclocal.m4 (AM_WITH_NLS): Enable --with-included-gettext by default. * configure: Regenerate. From-SVN: r34440
Philipp Thomas committed -
* 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. From-SVN: r34439
Mark Mitchell committed -
decl.c (redeclaration_error_message): If two TEMPLATE_DECLs have the same DECL_RESULT, it's not a redefinition. * 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. From-SVN: r34438
Mark Mitchell committed -
* gcc.c-torture/execute/20000605-2.c: New test. * gcc.c-torture/execute/20000605-3.c: New test. From-SVN: r34437
Richard Henderson committed -
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 From-SVN: r34436
Steven King committed -
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 From-SVN: r34435
Gabriel Dos Reis committed -
decl.c (redeclaration_error_message): If two TEMPLATE_DECLs have the same DECL_RESULT, it's not a redefinition. 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. From-SVN: r34434
Mark Mitchell committed -
parse.y (check_modifiers_consistency): Don't subtract out `PUBLIC_TK' from argument to THIS_MODIFIER_ONLY. * parse.y (check_modifiers_consistency): Don't subtract out `PUBLIC_TK' from argument to THIS_MODIFIER_ONLY. From-SVN: r34433
Tom Tromey committed -
From-SVN: r34432
David Billinghurst committed -
* 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. From-SVN: r34431
Philippe De Muyter committed -
From-SVN: r34430
Nathan Sidwell committed -
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 From-SVN: r34429
Nathan Sidwell committed -
From-SVN: r34428
Jason Merrill committed -
* 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. From-SVN: r34427
Kaveh R. Ghazi committed -
* 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. From-SVN: r34426
Richard Kenner committed -
From-SVN: r34425
Jeff Law committed -
From-SVN: r34424
Philipp Thomas committed -
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. From-SVN: r34423
Philipp Thomas committed
-