ChangeLog entries since last run on 2003-04-28T22:50:57Z: --- /Users/regress/tbox/changelog_mail/gcc/gcc/ChangeLog Mon Apr 28 15:51:27 2003 +++ gcc/gcc/ChangeLog Mon Apr 28 20:32:25 2003 @@ -1,3 +1,9 @@ +2003-04-28 Mark Mitchell + + PR c++/10180 + * tree-inline.c (expand_call_inline): Call push_srcloc when + encountering EXPR_WITH_FILE_LOCATION. Honor warn_inline. + 2003-04-28 Mike Stump * gdbinit.in: Update to reflect new identifier structure. --- /Users/regress/tbox/changelog_mail/gcc/gcc/testsuite/ChangeLog Mon Apr 28 15:51:33 2003 +++ gcc/gcc/testsuite/ChangeLog Mon Apr 28 20:32:28 2003 @@ -1,3 +1,8 @@ +2003-04-28 Mark Mitchell + + PR c++/10180 + * g++.dg/warn/Winline-1.C: New test. + 2003-04-28 Jakub Jelinek * gcc.c-torture/execute/string-opt-19.c: New test. --- /Users/regress/tbox/changelog_mail/gcc/libstdc++-v3/ChangeLog Mon Apr 28 15:51:38 2003 +++ gcc/libstdc++-v3/ChangeLog Mon Apr 28 20:32:32 2003 @@ -1,5 +1,43 @@ 2003-04-28 Paolo Carlini + * include/std/std_streambuf.h (_M_buf): is currently + used only for basic_filebuf, therefore move it there. + (basic_streambuf(), ~basic_streambuf()): Adjust. + * include/std/std_fstream.h (_M_buf): Moved here. + * include/std/std_sstream.h (setbuf): Don't set _M_buf, + is actually redundant for basic_stringbuf. + (_M_really_sync): Likewise. + * include/bits/fstream.tcc (basic_filebuf()): Adjust. + * include/bits/sstream.tcc (seekoff): Adjust. + +2003-04-28 Benjamin Kosnik + + * src/localename.cc: Standardize exception strings. + * src/locale.cc: Same. + * src/ios.cc: Same. + * include/bits/basic_string.tcc: Same. + * include/bits/basic_ios.tcc: Same. + * include/std/std_bitset.h: Same. + * include/ext/ropeimpl.h: Same. + * include/bits/stl_vector.h: Same. + * include/bits/stl_deque.h: Same. + * include/bits/stl_bvector.h: Same. + * config/locale/generic/c_locale.cc: Same. + * config/locale/gnu/c_locale.cc: Same. + * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same. + + * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify. + +2003-04-28 Paolo Carlini + + * include/std/std_streambuf.h (_M_buf_size): is currently + used only for basic_filebuf, therefore move it there. + (basic_streambuf(), ~basic_streambuf()): Adjust. + * include/std/std_fstream.h (_M_buf_size): Moved here. + * include/bits/fstream.tcc (basic_filebuf()): Adjust. + +2003-04-28 Paolo Carlini + * include/bits/streambuf.tcc (__copy_streambufs): Don't use _M_buf_size (synced input is now correctly dealt with elsewhere); when the output buffer is full don't fall back ChangeLog entries between 2003-04-28T22:50:57Z and the last time everything passed, on 2003-03-03T21:26:39Z: --- /Users/regress/tbox/changelog_pass/gcc/ChangeLog Mon Mar 3 13:26:59 2003 +++ gcc/ChangeLog Mon Apr 28 11:00:31 2003 @@ -1,3 +1,136 @@ +2003-04-27 Daniel Jacobowitz + + * Makefile.tpl: Clean $(BUILD_SUBDIR). + * Makefile.in: Regenerated. + +2003-04-25 Wolfgang Bangerth + + * MAINTAINERS (Write After Approval): Upgrade myself from + GNATS only to write-after-approval. Update my mail address. + +2002-04-25 Loren J. Rittle + + (OS Port Maintainers: freebsd): Add myself. + +2003-04-22 Mark Mitchell + + * MAINTAINERS (java): Remove Alexandre Petit-Bianco. + +2003-04-22 Kean Johnston + + * MAINTAINERS (SCO ports): Added myself. + +2003-04-21 Nathan Sidwell + + * MAINTAINERS (gcov): Add myself and Jan Hubicka. + +2003-04-19 Kean Johnston + + * MAINTAINERS (Write After Approval): Add myself. + +2003-04-18 Gerald Pfeifer + + * Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000. + * Makefile.in: Regenerate. + +2003-04-18 Jakub Jelinek + + * configure.in (powerpc64*-*-linux*): Remove. + * configure: Rebuilt. + +2003-04-17 Phil Edwards + + * Makefile.tpl (GCC_STRAP_TARGETS): New variable containing all the + previous bootstrap targets, plus bubblestrap, quickstrap, cleanstrap, + and restrap. + * Makefile.in: Regenerate. + +2003-04-16 Richard Earnshaw + + * configure.in (arm-*-netbsdelf*): Enable building java libraries. + * configure: Regenerated. + +2003-04-15 DJ Delorie + + * MAINTAINERS: Remove myself as windows/cygwin/mingw maintainer. + +2003-04-13 Nick Clifton + + * config-ml.in: Remove support for --disable-aix removing + call-aix multilibs. + +2003-04-10 Alexandre Oliva + + * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*. + * */configure: Rebuilt. + +2003-04-08 Joel Sherrill + + * MAINTAINERS: Add my email address. + +2003-03-17 Olivier Hainque + + * MAINTAINERS (Write After Approval): Add myself. + +2003-03-14 Nathanael Nerode + + * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down. + * Makefile.in: Regenerate. + +2003-03-14 Michael Chastain + + * Makefile.in: Regenerate with correct Makefile.def. + +2003-03-12 Nathanael Nerode + + * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused + Make macro. + * Makefile.in: Regenerate. + * configure.in: Clean up gxx_include_dir logic. + * configure: Regenerate. + +2003-03-12 Ansgar Esztermann + + * MAINTAINERS (Write After Approval): Add myself. + +2003-03-10 Ben Elliston + + * MAINTAINERS: Update my mail address. + +2003-03-09 Franz Sirl + + * configure.in (gxx_include_dir): Fix typo. + * configure: Regenerated. + +2003-03-04 Nathanael Nerode + + * Makefile.tpl: Reindent. + * Makefile.in: Regenerate. + * configure.in: Reindent. Don't set unused variables. + * configure: Regenerate. + +2003-03-04 Daniel Jacobowitz + + * configure.in: Include $(build_tooldir)/sys-include in + FLAGS_FOR_TARGET. + * configure: Regenerated. + +2003-03-04 Nathanael Nerode + + * Makefile.tpl: Always pass down RANLIB. + * Makefile.in: Regenerate. + + * Makefile.tpl: Don't set unused enable_shared, enable_threads macros. + * Makefile.in: Regenerate. + * configure.in: Remove unused logic relating to --enable-shared + and --enable-threads. Remove bogus comments. Remove redundant + noconfigdirs. + * configure: Regenerate. + + * configure.in: Replace ${libstdcxx_version} by its value. + Remove reference to mh-dgux. + * configure: Regenerate. + 2003-03-03 Kevin Buettner * MAINTAINERS (Write After Approval): Add myself. --- /Users/regress/tbox/changelog_pass/gcc/gcc/ChangeLog Mon Mar 3 13:27:03 2003 +++ gcc/gcc/ChangeLog Mon Apr 28 15:51:27 2003 @@ -1,21217 +1,12727 @@ -Mon Mar 3 20:45:25 2003 J"orn Rennecke +2003-04-28 Mike Stump - * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and - subtarget_asm_isa_spec. - (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define. - (ASM_SPEC): Define as SH_ASM_SPEC. - (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h. - Use subtarget_asm_relax_spec and subtarget_asm_isa_spec. - * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC. - (SUBTARGET_ASM_ISA_SPEC): Undef / define. + * gdbinit.in: Update to reflect new identifier structure. - * sh.h (OVERRIDE_OPTIONS): Set default values for align_loops - and align_jumps if not set. - Force align_jumps to be at least 2. - When relaxing, force align_functions to be at least the maximum of - align_loops, align_jumps and 4. - * sh.c (find_barrier, barrier_align): Honour align_jumps_log. - (sh_loop_align): Honour align_loops_log. +2003-04-28 Zack Weinberg - * sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN - to check for indirect_jump_scratch. - (indirect_jump_scratch): Add second set. - * sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN - when looking for indirect_jump_scratch. - Extract scratch register taking new structure of indirect_jump_scratch - into account. - (gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch. + * tree.h (TREE_CST_RTL, CST_OR_CONSTRUCTOR_CHECK): Delete. + (struct tree_int_cst, struct tree_real_cst, struct tree_string, + struct tree_complex, struct tree_vector): Remove RTL field. + (CONSTRUCTOR_ELTS): Use elt 0. + * tree.def (CONSTRUCTOR): Delete first of its two operands. + * varasm.c (output_constant_def): Remove early exit if + TREE_CST_RTL is set. Don't set TREE_CST_RTL. + (decode_addr_const): Don't mention TREE_CST_RTL in comment. + * target.h (select_section): Don't mention TREE_CST_RTL in comment. + * doc/tm.texi (encode_section_info): Don't talk about TREE_CST_RTL. + +2003-04-28 Jakub Jelinek + + * c-decl.c (finish_decl): When prototype with asmspec is found + for built-in, adjust built_in_decls as well as expr.c decls. + * expr.c (init_block_move_fn, init_block_clear_fn): New functions. + (emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it. + * expr.c (init_block_move_fn, init_block_clear_fn): New prototypes. + +2003-04-28 Richard Henderson + + * config/sparc/sparc.c (print_operand): Add 's' to sign-extend. + * config/sparc/sparc.md (const_mulsidi3_v8plus): Fix mode of + integral constant mult operand. + (const_mulsidi3_sp32, const_mulsidi3_sp64): Likewise. + (const_smulsi3_highpart_v8plus): Likewise. + (const_smulsi3_highpart): Likewise. + (const_umulsidi3_sp32): Likewise; sign-extend it in the output. + (const_umulsidi3_sp64, const_umulsidi3_v8plus): Likewise. + (const_umulsi3_highpart_v8plus): Likewise. + (const_umulsi3_highpart): Likewise. + +2003-04-28 David O'Brien + + * config/i386/x86-64.h (NO_PROFILE_COUNTERS, HAVE_AS_DWARF2_DEBUG_LINE): + Define as 1. + +2003-04-28 David O'Brien + + * config/i386/i386.h (builtin_define): Add __amd64 and __amd64__. + +2003-04-28 Jakub Jelinek + + * builtins.def (BUILT_IN_BCOPY, BUILT_IN_MEMMOVE): New. + * builtin-types.def (BT_FN_VOID_CONST_PTR_PTR_SIZE): New. + * builtins.c (expand_builtin_memmove, expand_builtin_bcopy): New + functions. + (expand_builtin): Handle BUILT_IN_BCOPY and BUILT_IN_MEMMOVE. -Mon Mar 3 19:07:21 CET 2003 Jan Hubicka +2003-04-28 Nick Clifton - * calls.c (rtx_for_function_call): Take the address as an argument - (expand_call): Do not modify the expression. + * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Remove definition. - * toplev.c (rest_of_compilation): Avoid cfg_cleanup calls when not - optimizing. +2003-04-27 Zack Weinberg -2003-03-03 Kazu Hirata + * expr.c (expand_expr ): Always call + output_constant_def, use its result instead of TREE_CST_RTL (exp). + Can assume it has the form (mem (symbol_ref ".LCxxx")). + (expand_expr ): Can always just extract the + relevant field of a CONSTRUCTOR. + (expand_expr ): Make control flow explicit. + * varasm.c (output_constant_def): Can look at TREE_CST_RTL of + an INTEGER_CST. - * config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to - TARGET_H8300H and TARGET_H8300S. +2003-04-27 Kazu Hirata -2003-03-03 Kazu Hirata + * reload1.c (reg_set_luid): Fix a comment typo. - * config/h8300/h8300.md (a peephole2): New. +2003-04-27 Zack Weinberg -2003-03-03 Kazu Hirata + * varasm.c (const_str_htab_hash, const_str_htab_eq, STRHASH, + struct deferred_string, const_str_htab): Kill. + (n_deferred_strings): New static variable. + (build_constant_desc): Set SYMBOL_REF_DECL of the new + symbol_ref to point to the constant. + (output_constant_def): When a deferred string is forced out, + just clear STRING_POOL_ADDRESS_P and decrement n_deferred_strings. + (mark_constant): Likewise. + (maybe_output_constant_def_contents): When deferring a string + constant, just set STRING_POOL_ADDRESS_P and increment + n_deferred_strings. + (mark_constant_pool): Check n_deferred_strings, not the size + of const_str_htab. + (init_varasm_once): No need to create const_str_htab. - * config/h8300/h8300.md (*extzv_8_8): Use shorter code when - operands[0] and operands[1] are different. + * rtl.def, rtl.h, doc/rtl.texi: Document possibility that + SYMBOL_REF_DECL points to a constant. -2003-03-03 Kazu Hirata +2003-04-26 Zack Weinberg - * reload1.c (reload_cse_move2add): Remove variable success. + * varasm.c (output_constant_def): Split out two new static + functions, build_constant_desc and maybe_output_constant_def_contents. + Restructure for comprehensibility. Don't call + output_addressed_constants. Treat defstr being non-NULL for + STRING_POOL_ADDRESS_P constants as an invariant. + (struct deferred_string): Remove labelno field. + (output_constant_def_contents): Kill labelno argument. Call + output_addressed_constants here. Use ASM_OUTPUT_LABEL, not + asm_out.internal_label. + (mark_constant): Update call to output_constant_def_contents. + Treat defstr being non-NULL for STRING_POOL_ADDRESS_P + constants as an invariant. -2003-03-02 Kaveh R. Ghazi +2003-04-26 Richard Henderson - * ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid - warnings. + * config/i386/i386.c (output_pic_addr_const): Use SYMBOL_REF_LOCAL_P. + (ix86_expand_call, ix86_rtx_consts): Likewise. -2003-03-02 Richard Henderson +2003-04-26 Kaveh R. Ghazi - * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test. - * config.in, configure: Rebuild. - * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum. - * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the - paired ldtoffx and ldxmov annotations. - (load_symptr_internal1): Remove. - (load_symptr_high, load_symptr_low): New. + * doc/md.texi (cmpstr): Document additional restrictions. -2003-03-02 Neil Booth +2003-04-26 Neil Booth - * c-incpath.c (add_path): Fix sysp assignment. + * flags.h (time_report): Remove. + * timevar.c (timevar_enable): New. + (TIMEVAR_ENABLE): Remove, use timevar_enable. + (timevar_init): Rename from init_timevar. + * timevar.h (timevar_init): Rename from init_timevar. + * toplev.c (time_report): Make static. + (do_compile): Conditionally call init_timevar first. + (preprocess_options): Move some code to do_compile. -2003-03-02 Kurt Garloff +2003-04-26 Stephane Carrez - * params.def: Introduce parameter max-inline-insns-rtl for - a separate limit for the RTL inliner. - * params.h: Likewise. - * integrate.c (function_cannot_inline_p): Use it. - * toplev.c (decode_f_option): Set multiple parameters - controlling inlining with -finline-limit. - * params.def: Fix orthographic and typographic errors. - * doc/invoke.texi: Document parameters controlling inlining - and the way -finline-limit sets multiple of them. + * doc/install.texi (Binaries): Mention binaries for HC11/HC12. - * tree.h (struct tree_decl): Introduce inlined_function_flag, - recording whether the function became eligible for inlining - by a compiler flag rather than the declaration. - Provide DID_INLINE_FUNC macro to access it. - * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC. - * cp/decl.c (grokfndecl): Likewise. - * toplev.c (rest_of_compilation): Likewise. - * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC. - * print-tree.c (print_node): Report it. - * params.def: Introduce new max-inline-insns-auto limit. - * params.h: Likewise. - * tree-inline.c (inlinable_function_p): Apply it to functions - with DID_INLINE_FUNC set. - * toplev.c (decode_f_option): Initialize it from -finline-limit - value. - * doc/invoke.texi: Document new parameter. +2003-04-26 Neil Booth -2003-03-02 Geoffrey Keating + * _cpp_lex_direct: Remove pointless code. - * fix-header.c (read_scan_file): Don't reference simplify_path. +2003-04-26 Stephane Carrez -2003-03-02 Stephane Carrez + * doc/extend.texi (Function Attributes): Document "near" and "far" + for 68HC11 and 68HC12. - * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable - min/max instructions by default as may result in reload errors. +2003-04-25 Richard Kenner -2003-03-02 Stephane Carrez + * expr.c (store_field): When making temporary for store, don't + make it TYPE_QUAL_CONST. - * config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to - avoid reload problems; define split for it. +2003-04-25 Phil Edwards -2003-03-02 Stephane Carrez + * toplev.c (read_integral_parameter): Use "argument" in error + message to distinguish it from actual invalid options. - * config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function. - * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare. - * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register. - * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for - rotatert and rotate. - ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns. - ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert. - ("*rotrhi3_addr"): New split for shift insns on address register. - ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split. - * config/m68hc11/larith.asm (___rotlhi3): New asm function. - (___rotrhi3): Likewise. - * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them. +2003-04-25 Bob Wilson -2003-03-02 Neil Booth + * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous + addition of __PIC__ and __pic__ macros. + * config/xtensa/xtensa.h: Clean up indentation. - * toplev.c (aux_base_name): Moved from toplev.h. - (filename): Constify. - (lang_dependent_init): Don't duplicate name. - (process_options): Set aux_base_name here, not... - (do_compile): ...here. Change protoype. - (toplev_main): Move some code from do_compile. - * toplev.h: Remove aux_base_name. +2003-04-25 Bob Wilson -2003-03-02 Kazu Hirata + * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of + _GNU_SOURCE. Add definitions of __PIC__ and __pic__. + (SUBTARGET_CPP_SPEC): Define. + (LIB_SPEC): Delete. + * config/xtensa/xtensa-protos.h (xtensa_declare_object): Delete. + * config/xtensa/xtensa.c (xtensa_declare_object): Delete. + * config/xtensa/xtensa.h (CPP_SPEC, SUBTARGET_CPP_SPEC, EXTRA_SPECS): + Define. + (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete. + (ASM_OUTPUT_ALIGNED_BSS, BSS_SECTION_ASM_OP): Define. - * config/h8300/h8300-protos.h: Add a prototype for - iorxor_operator. - * config/h8300/h8300.c (print_operand): Handle 'c'. - (iorxor_operator): New. - * config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator. - * config/h8300/h8300.md (*iorhi3_zext): Remove. - (*iorsi3_zexthi): Likewise. - (*iorsi3_zextsi): Likewise. - (*xorhi3_zextqi): Likewise. - (*xorsi3_zexthi): Likewise. - (*xorsi3_zextsi): Likewise. - (*ixorhi3_zext): New. - (*ixorsi3_zext_qi): Likewise. - (*ixorsi3_zext_hi): Likewise. +2003-04-25 H.J. Lu -2003-03-02 Neil Booth + * config/ia64/ia64.c (ia64_expand_compare_and_swap): Add rmode + for return mode. + (ia64_expand_builtin): Set rmode to SImode for + IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_SI, + IA64_BUILTIN_VAL_COMPARE_AND_SWAP_SI and + IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_DI. Set remode to DImode + for IA64_BUILTIN_VAL_COMPARE_AND_SWAP_DI. + +2003-04-25 Phil Edwards + + * configure.in (make_compare_target): Test for GNU cmp and set this + variable appropriately. + * Makefile.in (compare, compare3, compare4, compare-lean, compare3-lean, + compare4-lean): Rename actual targets to slowcompare*. New compare* + targets depend on names based on make_compare_target. + * configure: Regenerated. - * c-incpath.c (remove_component_p, simplify_path): Move back to - cppfiles.c. - (remove_duplicates): Use cpp_simplify_path. - * c-incpath.h (simplify_path): Remove. - * c-lex.c: Don't include c-incpath.h. - (init_c_lex): Remove simplify_path. - * cppfiles.c (remove_component_p, cpp_simplify_path): Restore. - (find_or_create_entry, validate_pch): Revert. +2003-04-25 Richard Henderson -2003-03-02 Ashif Harji + * config/ia64/ia64.c (ia64_compute_frame_size): Allow inline asm + to clobber ar.pfs and ar.unat. + (ia64_expand_prologue): Force alloc instruction if ar.pfs saved; + fix test for spilling ar.pfs to the stack. - * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke - an external cpp during compilation. - (option_map): Likewise. - * objc/lang-specs.h (default_compilers): Similarly. - * doc/invoke.texi: Document -no-integrated-cpp flag. +2003-04-25 Richard Henderson -2003-03-02 Kazu Hirata + PR opt/10315 + * config/rs6000/rs6000.c (rs6000_emit_move): Only elide proper + checks during reload; use validize_mem instead of adjust_address. - * config/h8300/h8300.md (zero_extendqisi2): Change to an - expander. - (*zero_extendqisi2_h8300): New. - (*zero_extendqisi2_h8300hs): New. - (two splitters): New. +2003-04-26 Ben Elliston -2003-03-02 Kaveh R. Ghazi + * config/arm/arm.c (arm_adjust_cost): Correct logic that tests the + return values from recog_memoized(). - * fp-bit.h (float_to_usi): Fix condition wrapping prototype. +2003-04-24 John David Anglin -2003-03-01 Kazu Hirata + PR opt/8705 + * gcse.c (try_replace_reg): On a successful substitution of a constant + into a single set, try to simplify the source of the set. + * loop.c (scan_loop): Don't try to optimize a MODE_CC set with a + constant source. - * config/h8300/h8300.md (a peephole2): Remove dead code. +2003-04-24 Neil Booth -2003-03-01 Roger Sayle + * cpplex.c (cpp_token_len): Tighten up. + (cpp_token_as_text): Need extra byte now. + * cpplib.c (glue_header_name): Need extra 2 bytes. + * cppmacro.c (cpp_macro_definition): Need extra byte. - PR c++/9367 - * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro. - (BT_FN_INT_CONST_STRING_VALIST_ARG, - BT_FN_INT_STRING_CONST_STRING_VALIST_ARG, - BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG, - BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG, - BT_FN_INT_STRING_CONST_STRING_VAR, - BT_FN_INT_CONST_STRING_CONST_STRING_VAR, - BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types. - * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2, - ATTR_NONNULL_3): Also include the nothrow attribute. - (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf, - vsnprintf, vscanf, vsscanf): Don't define attributes here. - * builtins.def (putchar, puts): Make full C89 built-ins. - (snprintf, sprintf, scanf, sscanf, vprintf, vscanf, - vsscanf, vsnprintf, vsprintf): New built-ins. - * c-common.c (c_common_nodes_and_builtins): Handle new macro - DEF_FUNCTION_TYPE_VAR_3. +2003-04-24 Alexander Kabaev - * doc/extend.texi: Document these new built-in functions. + * config/sparc/sparc.md (umulsidi3, mulsidi3): Avoid using + const_umulsidi3_sp32 and const_mulsidi3_sp32 on 64bit targets + where they might be not present. Use their _sp64 equivalent + instead. -2003-03-01 Kazu Hirata +Thu Apr 24 20:42:12 CEST 2003 Jan Hubicka - * config/h8300/h8300.md (a peephole2): New. + * i386.md (cvtsi2sdq): Fix typo in previous patch. -2003-03-01 Richard Earnshaw +2003-04-24 Krister Walfridsson - * predict.c (estimate_bb_frequencies): Correctly set - real_values_initialized after initialization. + * configure.in: Check whether mbstowcs works. + * configure, config.in: Regenerate. + * intl.c: Use HAVE_WORKING_MBSTOWCS. -2003-03-01 Neil Booth +2003-04-24 H.J. Lu - * Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS, - cppinit.o, cppdefault.o, fix-header): Update. - * c-incpath.c: New file. - * c-incpath.h: New file. - * c-lex.c: Include c-incpath.h. - (init_c_lex): Register path simplifier. - * c-opts.c: Include cppdefault.h and c-incpath.h. - (TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc, - std_cxx_inc, quote_chain_split, add_prefixed_path): New. - (COMMAND_LINE_OPTIONS): Add more options from cpplib. - (missing_arg, c_common_decode_option): Handle them. - (c_common_post_options): Register include chains. - (print_help): Update. - * cppdefault.h (struct default include): Update. - Move some macros to ... - * cppdefault.c: ... here. - (cpp_include_defaults): Add extra field add_sysroot. - * cppfiles.c (include_file, search_from, find_or_create_entry, - cpp_included, find_include_file, remap_filename): Update for - renaming of search_path to cpp_path, and of the chain headers. - (remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c. - * cpphash.h (struct search_path): Move to cpplib.h. - (struct cpp_buffer, struct cpp_reader): Update. - (_cpp_simplify_pathname): Remove. - * cppinit.c: Don't include prefix.h and cppdefault.h. - (INO_T_EQ, INO_T_COPY, path_include, append_include_chain, - remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs, - init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir, - no_pth, cpp_handle_options): Remove. - (struct pending_option): Remove chain members. - (cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS, - cpp_handle_option): Update. - * cpplib.h (struct cpp_path, cpp_set_include_chains): New. - (struct cpp_options): Remove quote_include, bracket_include, - include_prefix, include_prefix_len, verbose, ignore_srcdir, - no_standard_includes, no_standard_cplusplus_includes. - (struct cpp_callbacks): Add simplify_path. - (cpp_handle_options): Remove. - * fix-header.c: Include c-incpath.h. - (read_scan_file): Update to use c-incpath functionality. - * doc/passes.texi: Update. + * config/ia64/ia64.c (ia64_init_builtins): Add si_ftype_pdi_di_di + for __sync_bool_compare_and_swap_di for int return type. -2003-03-01 Kazu Hirata + * config/ia64/ia64intrin.h (__sync_bool_compare_and_swap_di): + Change return type to int. + (__sync_bool_compare_and_swap): Likewise. + +Thu Apr 24 16:55:26 CEST 2003 Jan Hubicka + + * cfgbuild.c (make_edges): Do not use next_nonnote_insn when + looking for fallthru edge. + + * athlon.md (athlon-agu, athlon-store, athlon-fany, athlon-faddmul): + Fix. + (athlon-load2, athlon-store2, athlon-fpsched, athlon-fpload, + athlon-fvector): New. + (athlon_*): Revisit to match new optimization guide. + * i386.c (ix86_adjust_cost): Fix memory operand costs on Athlon/k8 + * i386.md (cvt??2?? patterns): Fix modes. + (fistp patterns): Set modes. + + Accidentaly commited with my earlier reload patch: + PR c/10308 + * reload.c (find_reloads_address_1): Reload plus at the place of + index register. + +2003-04-24 Nathan Sidwell + + New GCOV_TAG_FUNCTION layout + * coverage.c (struct function_list): Replace name with ident. + (struct counts_entry): Likewise. + (fn_ident): New. + (htab_counts_entry_hash, htab_counts_entry_eq, + htab_counts_entry_del): Adjust. + (reads_count_file, get_coverage_counts, + coverage_begin_output, coverage_end_function): Adjust. + (build_fn_info_type, build_fn_info_value): Likewise. + * gcov-dump.c (tag_function): Adjust. + * gcov-io.c (gcov_write_string, gcov_read_string): Not in LIBGCOV. + * gcov-io.h (gcov_write_string, gcov_read_string): Not in LIBGCOV. + * gcov.c (struct function_info): Add ident. + (read_graph_file, read_count_file): Adjust. + * libgcov.c (gcov_exit): Adjust. + +2003-04-23 Richard Henderson + + PR opt/8300 + * toplev.c (rest_of_compilation): Delay no_new_pseudos until + after initialize_uninitialized_subregs; update reg info assuming + new pseudos were created. + +2003-04-23 Neil Booth + + * Makefile.in (c-lex.o, LIBCPP_OBJS, cpplex.o): Update. + * c-lex.c (MULTIBYTE_CHARS): Remove conditionals. + (lex_string): Take cpp_string with full spelling. + (cb_ident): Update. + (c_lex): Update diagnostics. + * cpplex.c (SPELL_NUMBER, SPELL_STRING): Combine into SPELL_LITERAL. + (create_literal): New. + (lex_string): Unterminated literals have type CPP_OTHER. + (_cpp_lex_direct): Update calls to lex_string. Use create_literal + for CPP_OTHER. + (cpp_token_len, cpp_spell_token, cpp_output_token): Simplify. + (_cpp_equiv_tokens, cpp_interpret_charconst): Update. + * cpplib.c (parse_include, do_line, do_linemarker, + destringize_and_run): Update for token storing full spelling. + * cpplib.h: Update token spelling types. + * cppmacro.c (stringify_arg, check_trad_stringification): + Update for token storing full spelling. + +2003-04-23 Ulrich Weigand + + * config/s390/s390.c (s390_expand_cmpstr): Disable CLC loop. + +2003-04-23 Richard Earnshaw + + * arm.h (TARGET_OPTIONS): Add value field. + +2003-04-23 Mark Mitchell + + * doc/extend.texi: Remove duplicate 2003 copyright date. + +2003-04-23 Nathan Sidwell + + * Makefile.in (LIBGCC_DEPS): Add gcov headers. + (libgcov.a): Depends on LIBGCC_DEPS. + * basic-block.h (profile_info): Moved here from coverage.h. Made + a pointer. + * coverage.c (struct function_list): Fixed array of counter types. + (struct counts_entry): Keyed by counter type, contains summary. + (profile_info): Moved to profile.c. + (prg_ctr_mask, prg_n_ctrs, fn_ctr_mask, fn_n_ctrs): New global + vars. + (profiler_label): Remove. + (ctr_labels): New. + (set_purpose, label_for_tag, build_counter_section_fields, + build_counter_section_value, build_counter_section_data_fields, + build_counter_section_data_values, build_function_info_fields, + build_function_info_value, gcov_info_fields, gcov_info_value): Remove. + (build_fn_info_type, build_fn_info_value, build_ctr_info_type, + build_ctr_info_value, build_gcov_info): New. + (htab_counts_entry_hash, htab_counts_entry_eq): Adjust. + (reads_counts_file): Adjust. + (get_coverage_counts): Takes counter number. Add summary + parameter. Adjust. + (coverage_counter_ref): Tkaes counter number. Adjust. Lazily + create counter array labels. + (coverage_end_function): Adjust. + (create_coverage): Adjust. + (find_counters_section): Remove. + * coverage.h (MAX_COUNTER_SECTIONS): Remove. + (struct section_info, struct profile_info): Remove. + (profile_info): Moved to basic-block.h. + (coverage_counter_ref): Takes a counter number. + (get_coverage_counts): Takes a counter number. Added summary + parameter. + (find_counters_section): Remove. + * gcov-dump.c (tag_arc_counts): Rename to ... + (tag_counters): ... here. Adjust. + (tag_table): Move tag_counters to 3rd entry. Remove + PROGRAM_PLACEHOLDER and PROGRAM_INCORRECT entries. + (dump_file): Check for counter tag values here. + (tag_summary): Adjust. + * gcov-io.c (gcov_write_summary, gcov_read_summary): Adjust. + * gcov-io.h (GCOV_LOCKED): New. + (GCOV_TAG_ARC_COUNTS): Rename to ... + (GCOV_TAG_COUNTS_BASE): ... here. + (GCOV_TAG_PLACEHOLDER_SUMMARY, GCOV_TAG_INCORRECT_SUMMARY): + Remove. + (GCOV_COUNTER_ARCS, GCOV_COUNTERS, GCOV_NAMES): New. + (GCOV_TAG_FOR_COUNTER, GCOV_COUNTER_FOR_TAG, + GCOV_TAG_IS_COUNTER): New. + (struct gcov_ctr_summary): New. + (struct gcov_summary): Adjust. + (struct gcov_counter_section): Remove. + struct gcov_counter_section_data): Remove. + (struct gcov_function_info): Rename to ... + (struct gcov_fn_info): ... here. Adjust. + (struct gcov_ctr_info): New. + (struct gcov_info): Adjust. + * gcov.c (read_count_file): Adjust. + (output_lines): Adjust. + * libgcov.c (gcov_exit): Adjust. + (__gcov_flush): Adjust. + * mklibgcc.in (libgcc2_c_dep): Add gcov headers. + * predict.c (maybe_hot_bb_p, probably_cold_bb_p, + probably_never_executed_bb_p, compute_frequency_function): Adjust + profile_info use. + * profile.c (struct counts_entry): Remove. + (profile_info): Define here. + (get_exec_counts): Adjust get_coverage_counts call. + (compute_branch_probablilities): Remove find_counters_section + call. + (gen_edge_profiler): Adjust coverage_counter_ref call. + * tracer.c (tail_duplicate): Adjust profile_info use. - * config/h8300/h8300.c (bit_operand): Accept MEM only if it - satisfies EXTRA_CONSTRAINT 'U'. +2003-04-23 Roger Sayle -2003-03-01 Kazu Hirata + PR optimization/10339 + * builtins.c (expand_builtin_strcmp): Try to emit cmpstrsi insn + directly instead of unsafely transforming call into a memcmp. + (expand_builtin_strncmp): Likewise. + +2003-04-22 Roger Sayle + + * alias.c (mark_constant_function): Check for constancy and + purity even of void functions. Update both the function decl + and the cgraph RTL info with the results. + +2003-04-22 Roger Sayle + + * real.c (do_add): Change to return a bool indicating that the + result of the operation may be inexact due to loss of precision. + (do_multiply): Likewise. + (do_divide): Likewise. + +2003-04-22 Geoffrey Keating + Loren James Rittle + + * dwarf2out.c (fde_table_allocated): Mark with GTY. + (decl_die_table_allocated): Likewise. + (abbrev_die_table_allocated): Likewise. + (line_info_table_allocated): Likewise. + (separate_line_info_table_allocated): Likewise. + (pubname_table_allocated): Likewise. + (arange_table_allocated): Likewise. + (ranges_table_allocated): Likewise. + (decl_die_table_in_use): Unconditionalize; mark with GTY. + (abbrev_die_table_in_use): Likewise. + (line_info_table_in_use): Likewise. + (separate_line_info_table_in_use): Likewise. + (pubname_table_in_use): Likewise. + (arange_table_in_use): Likewise. + (ranges_table_in_use): Likewise. + (have_location_lists): Likewise. + (emitcount): New GTY-marked static, moved... + (maybe_emit_file): ...from here. + (label_num): New GTY-marked static, moved... + (gen_internal_sym): ...from here. + +2003-04-22 Richard Henderson + + PR 8866 + * rtl.h (MEM_NOTRAP_P): New. + (MEM_COPY_ATTRIBUTES): Copy it. + * rtlanal.c (may_trap_p): Check it. + * expr.c (do_tablejump): Set it. + * doc/rtl.texi (Flags): Document it. + + * cfgrtl.c (try_redirect_by_replacing_jump): Revert last three changes. + +2003-04-22 Olivier Hainque + + * config/alpha/alpha.c (alpha_expand_prologue [OPEN_VMS_ABI]): Don't + set FRP on stack adjustment for outgoing args if frame_pointer_needed. + +2003-04-22 Vincent Celier + + * gthr-gnat.h, gthr-gnat.c: new sources for implementation of + --enable-threads=gnat. + * Makefile.in: Add gthr-gnat.c to LIB2ADDEH. + * configure.in: Add gnat to the list of thread packages + * configure: Rebuild. + * config/t-linux: Add gthr-gnat.c to LIB2ADDEH and LIB2ADDEHDEP - * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch - register. - (*tst_extzv_memqi_1_n): Change to a splitter. - (a peephole2): Update. +2003-04-22 Neil Booth -2003-03-01 Richard Earnshaw + * cpplex.c (_cpp_get_fresh_line): Pop the buffer if return_at_eof. - * predict.c (estimate_bb_frequencies): Initialize the sreal - constants once per compilation. +2003-04-22 Devang Patel -2003-02-28 Richard Henderson + * cpptrad.c (_cpp_replacement_text_len): Add check for macro + parameter count. + (_cpp_copy_replacement_text): Same. - * toplev.c (flag_eliminate_unused_debug_types): Enable by default. +2003-04-22 Neil Booth -2003-02-28 scott snyder + * c-lex.c (c_lex): Handle CPP_OTHER differently. + * cppexp.c (_cpp_parse_expr): Similarly. + * cpplex.c (SPELL_CHAR): Remove. + (_cpp_lex_direct): Stray chars are saved as byte strings. + (cpp_spell_token, cpp_output_token, _cpp_equiv_token): Don't + handle SPELL_CHAR. + (cpp_avoid_paste): Update handling of CPP_OTHER. + * cpplib.h: Spell CPP_OTHER like a number. + (struct cpp_token): Remove member c. + * cppmacro.c (stringify_arg): Update handling of CPP_OTHER. - * flags.h: Add flag_eliminate_unused_debug_types. - * toplev.c: Add flag_eliminate_unused_debug_types. - (f_options): Add -feliminate-unused-debug-types. - * dwarf2out.c (struct file_table): Add emitted member. - (splice_child_die): Fix the parent pointer for the child being - spliced. - (lookup_filename): Maintain file_table.emitted array. Don't - output .file directive here. - (maybe_emit_file): (new) - (init_file_table): Set up file_table.emitted. - (dwarf2out_source_line): Use maybe_emit_file. - (dwarf2out_start_source_file): Use maybe_emit_file. - (dwarf2out_init): Use maybe_emit_file. - (prune_unused_types_walk_attribs): (new) - (prune_unused_types_mark): (new) - (prune_unused_types_walk): (new) - (prune_unused_types_prune): (new) - (prune_unused_types): (new) - (dwarf2out_finish): Call prune_unused_types if - flag_eliminate_unused_debug_types is set. - * doc/invoke.texi (Option Summary): Add - -feliminate-unused-debug-types. - (Debugging Options): Likewise. +2003-04-22 David Turner -2003-02-28 Geoffrey Keating + * gbl-ctors.h: Add special license exception. + * libgcc2.h: Likewise. + * tsystem.h: Likewise. + * gcov-io.h: Likewise. - * doc/invoke.texi: Change .pch to .gch. - * cppfiles.c (open_file_pch): Likewise. - * gcc.c (default_compilers): Likewise. +2003-04-22 David Edelsohn -2003-02-28 Aldy Hernandez + * fold-const.c (fold_range_test): Use RANGE_TEST_NON_SHORT_CIRCUIT + macro defaulting to original BRANCH_COST heuristic. + * doc/tm.texi (RANGE_TEST_NON_SHORT_CIRCUIT): Document. - * floatlib.c: Remove. + * config/rs6000/rs6000.h (RANGE_TEST_NON_SHORT_CIRCUIT): Define. -2003-02-28 Jason Merrill +2003-04-22 Aldy Hernandez - * stor-layout.c (variable_size): Leave a "minus 1" outside the - SAVE_EXPR. + * config/rs6000/t-spe: Merge in t-fprules into file. -2003-02-28 David Edelsohn + * config.gcc: Add t-spe to powerpc-eabispe. - * config/rs6000/power4.md: Add compare bypass. +2003-04-22 Kean Johnston -2003-02-28 Jason Thorpe + * tlink.c (recompile_files): Add missing '=' to putenv calls - * config/netbsd.h: Update copyright years. - (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if - -pthread is specified on the command line. +2003-04-22 Nathan Sidwell **** TRUNCATED ****