+2001-08-09 Jakub Jelinek <jakub@redhat.com>
+
+ * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
+ (find_fde_for_dso): Remove.
+ (_Unwind_IteratePhdrCallback): New.
+ (_Unwind_FindTableEntry): Use dl_iterate_phdr.
+ * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
+
+Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
+ (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
+
+2001-08-09 Graham Stott <grahams@redhat.com>
+
+ * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
+ (vis_no_unit): Use it.
+ (visualize_no_unit): Add the insn only if room exists.
+
+2001-08-09 Graham Stott <grahams@redhat.com>
+
+ * predict.c (estimate_probability): Replace magic numbers with
+ appropriate enumeration.
+
+2001-08-09 Graham Stott <grahams@redhat.com>
+
+ * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
+ parameter.
+ (EXTRACT_FLAGS): Likewise.
+
+2001-08-09 Aldy Hernandez <aldyh@redhat.com>
+
+ * config/mips/mips.c (mips_legitimate_address_p): Check for
+ CONST_INT in last patch.
+
+2001-08-08 Anthony Green <green@redhat.com>
+
+ * java/class.c (emit_register_classes): Use assemble_jcr if
+ possible. Keep the original mechanism as a fallback.
+ * defaults.h (JCR_SECTION_NAME): Define if we have named section
+ and weak symbol support.
+ * crtstuff.c (__JCR_LIST__): Define.
+ (__JCR_END__): Define.
+ (_Jv_RegiserClasses): Define weak symbol if possible.
+ (__do_global_ctors_aux): Register classes for ELF targets with
+ weak symbol support.
+
+2001-08-08 Kazu Hirata <kazu@hxi.com>
+
+ * dbxout.c: Fix comment formatting.
+ * dependence.c: Likewise.
+ * df.c: Likewise.
+ * diagnostic.c: Likewise.
+ * dominance.c: Likewise.
+ * doprint.c: Likewise.
+ * dwarf2out.c: Likewise.
+ * dwarfout.c: Likewise.
+ * emit-rtl.c: Likewise.
+ * except.c: Likewise.
+ * explow.c: Likewise.
+ * expmed.c: Likewise.
+ * expr.c: Likewise.
+ * flow.c: Likewise.
+ * fold-const.c: Likewise.
+ * function.c: Likewise.
+
+2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ * global.c (retry_global_alloc): Avoid shadowing allocno.
+
+2001-08-08 Mark Mitchell <mark@codesourcery.com>
+
+ * except.c (remove_fixup_regions): Fix typo.
+
+2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
+
+ * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
+ unsigned HOST_WIDE_INT to avoid warning.
+ * final.c (final): Cast INSN_UID to unsigned to avoid warning.
+ * flow.c (set_block_for_new_insns): Likewise.
+
+Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
+
+ * sibcall.c (return_value_pseudo): New static variable.
+ (skip_copy_to_return_value): Handle return_value_pseudo.
+ (call_ends_block_p): Ensure that return_value_pseudo is set.
+ (optimize_sibling_and_tail_recursive_call): Discover the
+ load of pseudo return value in alternate exit block.
+
+Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
+
+ * calls.c (ECF_ALWAYS_RETURN): New constant.
+ (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
+ (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
+ (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
+ * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
+ * rtl.c (reg_note_name): New name.
+ * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
+
+2001-08-07 Aldy Hernandez <aldyh@redhat.com>
+
+ * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
+
+2001-08-08 Jason Merrill <jason_merrill@redhat.com>
+
+ * alias.c (get_alias_set): Return a previously calculated
+ alias set for a VAR_DECL.
+ * function.c (gen_mem_addressof): Calculate the alias set before
+ touching the RTL.
+
+Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
+
+ * predict.def: Set hitrates according our experimental run.
+
+Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
+
+ * i386.h (HARD_REGNO_RENAME_OK): New macro.
+
+2001-08-08 H.J. Lu <hjl@gnu.org>
+
+ * config/mips/mips.c (mips_unique_section): New. Copied from
+ config/mips/elf.h.
+
+ * config/mips/mips-protos.h (mips_unique_section): New
+ prototype.
+
+ * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
+
+ * config/mips/little.h: New. Generic little endian mips
+ targets. Only mips*-*-linux* is converted to use it so far.
+
+ * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
+ (WCHAR_TYPE): Defined
+ (WCHAR_TYPE_SIZE): Likewise.
+ (INIT_SUBTARGET_OPTABS): Likewise.
+ (BSS_SECTION_ASM_OP): Likewise.
+ (SBSS_SECTION_ASM_OP): Likewise.
+ (ASM_OUTPUT_ALIGNED_BSS): Likewise.
+ (ASM_DECLARE_OBJECT_NAME): Likewise.
+ (UNIQUE_SECTION): Likewise.
+ (EXTRA_SECTIONS): Likewise.
+ (ASM_OUTPUT_CONSTRUCTOR): Likewise.
+ (ASM_OUTPUT_DESTRUCTOR): Likewise.
+ (ASM_OUTPUT_DEF): Likewise.
+ (HANDLE_SYSV_PRAGMA): Removed.
+ (NO_IMPLICIT_EXTERN_C): Likewise.
+ (TARGET_MEM_FUNCTIONS): Likewise.
+ (STARTFILE_SPEC): Likewise.
+ (ENDFILE_SPEC): Likewise.
+ (LIB_SPEC): Likewise.
+ (INVOKE__main): Likewise.
+ (CTOR_LIST_BEGIN): Likewise.
+ (CTOR_LIST_END): Likewise.
+ (DTOR_LIST_BEGIN): Likewise.
+ (DTOR_LIST_END): Likewise.
+ (SET_ASM_OP): Likewise.
+ (ASM_OUTPUT_SOURCE_LINE): Likewise.
+ (ASM_OUTPUT_DEF): Likewise.
+ (ASM_OUTPUT_IDENT): Likewise.
+
+ * config/mips/mips.h (ASM_SPEC): Undefine before define.
+ (CPLUSPLUS_CPP_SPEC): Likewise.
+ (ASM_APP_ON) Redefine only if not defined.
+ (ASM_APP_OFF): Likewise.
+ (ASM_OUTPUT_SOURCE_LINE): Likewise.
+ (ASM_OUTPUT_IDENT): Likewise.
+
+ * config.gcc: Update tm_file for Linux/mips.
+
+2001-08-08 Bernd Schmidt <bernds@redhat.com>
+
+ * cselib.c (cselib_record_sets): If insn is predicated, turn
+ sources into IF_THEN_ELSEs.
+
+ * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
+ Turn into define_insn_and_split.
+
+ * sched-deps.c: Include "cselib.h".
+ (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
+ Use cselib to turn memory addresses into VALUEs.
+ (sched_analyze): Call cselib_init/cselib_finish if necessary.
+ * sched-int.h (struct sched_info): New member USE_CSELIB.
+ * sched-ebb.c (ebb_sched_info): Initialize it.
+ * sched-rgn.c (rgn_sched_info): Likewise.
+ * Makefile.in (sched-deps.o): Update dependencies.
+
+ * cselib.h (cselib_subst_to_values): Declare.
+ * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
+ that have no value and autoincs to be handled by generating a new
+ dummy value.
+
+2001-08-08 Graham Stott <grahams@redhat.com>
+
+ * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
+ within fixed length SEQUENCE.
+
+2001-08-08 Graham Stott <grahams@redhat.com>
+
+ * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
+ (diagnostic_prefixing_rule): Likewise.
+ (diagnostic_line_cutoff): Likewise.
+ (diagnostic_kind_count): Likewise.
+
+2001-08-08 Graham Stott <grahams@redhat.com>
+
+ * alias.c (find_base_decl): Delete redundent assignment.
+
+2001-08-08 Graham Stott <grahams@redhat.com>
+
+ * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
+ (abs): Uppercase and paranthesize macro parameter.
+ (MEM_DEPENDENCY): Add whitespace.
+
+2001-08-08 Graham Stott <grahams@redhat.com>
+
+ * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
+ failure check for CONST_INT
+
+2001-08-08 Graham Stott <grahams@redhat.com>
+
+ * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
+ (libcall_dead_p): Likewise.
+
+ (mark_used_regs): Constify fmt.
+ (find_use_as_address): Likewise.
+
+2001-08-08 Graham Stott <grahams@redhat.com>
+
+ * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
+ parameter.
+
+2001-08-08 Graham Stott <grahams@redhat.com>
+
+ * combine.c (combine_simplify_rtx): Update comment and
+ remove erroneous test.
+
+2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * cppinit.c (cpp_finish): Pop the final buffer without comment.
+ * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
+ take care to avoid multiple no-newline at EOF warnings in that
+ case.
+
+Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
+
+ * calls.c (expand_call): Do not emit INSN_SETJMP note.
+ (emit_library_call_value_1): Likewise.
+ (emit_call_1): Emit REG_SETJMP note.
+ * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
+ of INSN_SETJMP
+ * cselib.c (cselib_process_insn): Likewise.
+ * flow.c (propagate_block): Likewise.
+ * loop.c (find_and_verify_loops): Likewise.
+ * reload.c (find_equiv_regs): Likewise.
+ * reload1.c (reload): Likewise.
+ * resource.c (mark_referenced_resources,
+ mark_set_resources): Likewise.
+ * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
+ * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
+ * haifa-sched.c (unlink_other_notes): Likewise.
+ (reemit_notes): Likewise.
+ * sched-ebb.c (sched_ebb): Likewise.
+ * sched-rgc.c (sched_region): Likewise.
+ * rtl.c (note_insn_name): Likewise.
+ (reg_note_name): Add REG_SETJMP
+ * rtl.h (reg_note): Add REG_SETJMP.
+ (insn_note): Remove NOTE_INSN_SETJMP.
+
+ * profile.c (branch_prob): Add fake edges for setjmp.
+
+2001-08-07 Daniel Jacobowitz <drow@mvista.com>
+
+ * config.gcc: Quote target_cpu_default2 correctly for
+ powerpc*-*-* targets.
+
+2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * cpplib.h, line-map.h: Update comments.
+ * cppmain.c (printer_init): Move inline.
+ (maybe_print_line, print_line): Take a map pointer.
+ (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
+ (cb_file_change): Don't use prior value of print.map.
+
+2001-08-07 David Edelsohn <edelsohn@gnu.org>
+
+ * doc/install.texi: Document fine-grained multilib configuration.
+
+Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
+
+ * rtlanal.c (find_first_parameter_load): Call note_stores
+ only on the instructions.
+
+Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
+
+ * alias.c (nonlocal_mentioned_p):
+ Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
+ * calls.c (emit_call_1): Likewise.
+ * cse.c (cse_insn, invalidate_skipped_block): Likewise.
+ * cselib.c (cselib_process_insn): Likewise.
+ * df.c (df_insns_modify): Likewise.
+ * flow.c (need_fake_edge_p): Likewise.
+ (propagate_one_insn): Likewise.
+ * haifa-sched.c (reemit_notes): Likewise.
+ * integrate.c (copy_insn_list): Likewise.
+ * jump.c (delete_prior_computation): Likewise.
+ * local-alloc.c (validate_equiv_mem): Likewise.
+ * loop.c (scan_loop): Likewise.
+ * predict.c (estimate_probability): Likewise.
+ * reload.c (reload): Likewise.
+ * sched-deps (sched_analyze): Likewise.
+ * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
+ * gcse.c (compute_hash_table): Likewise.
+ (mark_call): Likewise.
+ (store_killed_in_insn): Likewise.
+
+2001-08-07 Jason Merrill <jason_merrill@redhat.com>
+
+ * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
+
+2001-08-06 Richard Henderson <rth@redhat.com>
+
+ * varasm.c (assemble_gc_entry): Remove.
+ * output.h: Likewise.
+
+2001-08-06 Richard Henderson <rth@redhat.com>
+
+ * varasm.c (assemble_constructor): Take a symbol_ref and a
+ priority instead of a bare string. Move priority handling
+ here from cp/decl2.c.
+ * output.h: Update decls.
+
+ * c-decl.c (c_expand_body): Update calls to assemble_constructor
+ and assemble_destructor.
+ * profile.c (output_func_start_profiler): Likewise.
+ * objc/objc-act.c (finish_objc): Likewise.
+ (build_module_descriptor): Return the symbol not the symbol name.
+
+2001-08-06 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
+ * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
+ ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
+ * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
+ * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
+ * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
+
+2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * cpperror.c (print_containing_files): Moved to line-map.c.
+ (print_location): line-map.c handles re-listing or otherwise.
+ * cpphash.h (struct lexer_state): Remove next_bol.
+ (struct cpp_buffer): Remove include_stack_listed.
+ * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
+ Remove faked buffer handling.
+ (_cpp_do_file_change): Tweak.
+ * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
+ * cppmain.c (struct printer): Remove filename.
+ (print_line, cb_file_change): Update accordingly.
+ * line-map.c: Include intl.h.
+ (init_line_maps): Initialize last_listed.
+ (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
+ (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
+ (print_containing_files): New.
+ * line-map.h (struct line_maps): New member last_listed.
+ (print_containing_files, INCLUDED_FROM): New.
+ * Makefile.in: Update.
+ * po/POTFILES.in: Add line-map.c.
+
+2001-08-06 Richard Henderson <rth@redhat.com>
+
+ * except.c (convert_from_eh_region_ranges_1): Never mark
+ USE or CLOBBER insns as throwing.
+
+ * expr.c (store_constructor): Don't clobber memory targets.
+
+2001-08-06 Andreas Jaeger <aj@suse.de>
+
+ * profile.c (branch_prob): Remove unused variable insn.
+
+ * Makefile.in (local-alloc.o): Add dependency on except.h.
+
+ * local-alloc.c: Include except.h for can_throw_internal prototype.
+
+2001-08-06 Richard Henderson <rth@redhat.com>
+
+ * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
+ * function.c (expand_main_function): Implement it.
+ * doc/tm.texi: Document it.
+
+2001-08-06 Stan Shebs <shebs@apple.com>
+
+ * doc/install.texi: Document powerpc-*-darwin* details.
+
+2001-08-06 Daniel Berlin <dan@cgsoftware.com>
+
+ * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
+ (ASM_CPU_SPEC): Move back to rs6000.h
+ #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
+
+ * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
+
+ * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
+ readded.
+
+ * config/rs6000/linux64.h: Ditto.
+
+ * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
+ to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
+ nothing.
+
+ Remove accidently readded definitions of FUNCTION_PROLOGUE,
+ FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
+
+ * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
+ to rs6000.h
+
+2001-08-05 Richard Henderson <rth@redhat.com>
+
+ * local-alloc.c (update_equiv_regs): Do not move insns that
+ can throw.
+
+2001-08-05 Jan Hubicka <jh@suse.cz>
+
+ * Makefile.in (reload1.o): Add dedendancy on except.h
+ * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
+ prototypes.
+ * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
+ indicating wehther edges has been cleaned up.
+ * reload1.c: Inlucde except.h
+ (fixup_abnormal_edges): Accept deleted insns.
+ * toplev.c (rest_of_compilation): Purge dead edges unconditionally
+ after combine.
+
+2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * cpplib.c (do_line): Correct line number after pop_buffer.
+
+2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ PR preprocessor/3824
+ * line-map.c: Update comments.
+ * line-map.h: Update comments.
+ * tradcif.y: Don't consider large numbers unsigned.
+
+2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ PR preprocessor/3081
+ * c-lex.c (map): New.
+ (cb_file_change): Update map and use it.
+ (cb_def_pragma, cb_define, cb_undef): Use map and line.
+ (c_lex): Update to use map.
+ * cpperror.c (print_location): Move to using logical line numbers.
+ * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
+ (cpp_make_system_header): Similarly.
+ (_cpp_execute_include): Stop line numbering hacks. Store the
+ line we will return to.
+ * cpphash.h (CPP_BUF_LINE): Remove.
+ (struct cpp_buffer): Remove lineno and pseudo_newlines.
+ Add map and return_to_line.
+ (_cpp_do_file_change): Update.
+ * cppinit.c (cpp_start_read): Update line kludge.
+ * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
+ (trigraph_ok): Use logical line numbers for diagnostics.
+ (skip_block_comment): Likewise.
+ (skip_whitespace): Likewise.
+ (skip_line_comment): Use pfile->line instead.
+ (_cpp_lex_token): Update to use logical line numbering exclusively.
+ Handle BOL locally. Accept new lines in directives, but keep
+ pfile->line decremented. Diagnostics use logical lines. Update
+ directive handling.
+ * cpplib.c (SEEN_EOL): New.
+ (skip_rest_of_line, check_eol): Use it.
+ (end_directive): Increase line number when accepting the newline
+ at the end of a directive.
+ (run_directive): Simplify.
+ (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
+ (_cpp_do_file_change): Update to take buffer line number as an
+ argument, and store the current map in the cpp_reader. Remove
+ line number kludges.
+ (_cpp_do__Pragma): Restore output position after a _Pragma.
+ (cpp_push_buffer): Don't set output line or lineno.
+ (_cpp_pop_buffer): Transfer more info from a faked buffer.
+ Remove line kludge. Set output_line.
+ * cppmacro.c (builtin_macro): Update handling of __LINE__.
+ (parse_arg): Use logical lines.
+ (save_lookahead_token): Save EOFs too now.
+ * cppmain.c (struct printer): Fix comments.
+ (printer_init): Simplify, let caller do errors.
+ (scan_translation_unit, check_multiline_token, dump_macro): Update.
+ (maybe_print_line): Simplify.
+ (print_line): Don't print a linemarker if -P.
+ (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
+ (cb_file_change): Simplify.
+ * line-map.h (LAST_SOURCE_LINE): Fix.
+ (CURRENT_LINE_MAP): New.
+
+2001-08-05 Bernd Schmidt <bernds@redhat.com>
+
+ * doloop.c (doloop_modify_runtime): Properly compute number of
+ iterations if loop was unrolled.
+
+ * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
+ if their CSELIB_VAL_PTRs are.
+
+ * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
+ (setup_spill_pointers): Initialize it.
+ (spill_restore_mem): Set it.
+ (do_spill, do_restore): Use it to add REG_INC note.
+ * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
+
+ * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
+ asms if other insns are available.
+
+ * config/ia64/ia64.c (condop_operator): New predicate.
+ * config/ia64/ia64.h (PREDICATE_CODES): Add it.
+ * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
+ patterns.
+
+ * expr.c (expand_expr, case COND_EXPR): Prefer working with a
+ temporary register than directly using a MEM.
+
+2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * config/sh/sh.c (sh_asm_named_section): Fix typo in align
+ parameter in last change.
+
+2001-08-04 Zack Weinberg <zackw@panix.com>
+
+ * sparc.md: Don't use #if inside C test expression.
+
+2001-08-04 Richard Henderson <rth@redhat.com>
+
+ * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
+
+2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * cpphash.h (struct cpp_reader): New member directive_line.
+ * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
+ * cpplib.c (do_define, do_undef, do_ident, do_include_common,
+ do_pragma): Pass line to callbacks.
+ (start_directive): Record line of directive.
+ * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
+ cb_include): Similarly.
+ * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
+ Similarly.
+
+2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
+ comment.
+
+Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
+
+ * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
+
+ * reload1.c (fixup_abnormal_edges): New static function.
+ (reload): Use it.
+
+ * flow.c (need_fake_edge_p): New function.
+ (flow_call_edges_add): Fix handling of noreturn and sibbling calls;
+ avoid call insn to be very last insn in the insn stream.
+
+ * profile.c (branch_prob): Call flow_call_edges_add instead of
+ doing that by hand; cleanup cfg to re-merge basic blocks once
+ we are done.
+
+2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
+
+ * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
+ are also on line-map.h.
+ * cppfiles.c (stack_include_file): Update.
+ * cpphash.h (struct cpp_buffer): New member return_at_eof.
+ (_cpp_pop_buffer): New.
+ * cppinit.c (cpp_destroy, cpp_finish): Update.
+ (do_includes): Mark each buffer to return at EOF.
+ * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
+ return as requested.
+ * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
+ (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
+ * cpplib.h (cpp_pop_buffer): Remove.
+ (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
+ * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
+ buffers.
+ * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
+ to pop buffers.
+ (do_preprocessing): Update.
+ * fix-header.c (read_scan_file): Update. No need to pop buffers.
+ * c-parse.in (_yylex): Similarly.
+ * scan-decls.c (scan_decls): Similarly.
+ * line-map.h: Update comments.
+
+ * objc/Make-lang.in (objc-act.o): Update dependencies.
+
+2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
+
+ * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
+ and soft register for operand 0.
+ ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
+
+2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
+
+ * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
+ register for operand 0.
+ ("bitcmpqi_z_used"): Allow memory for operand 0.
+ (split "bitcmpqi"): New split to handle address reg as operand 1.
+
+2001-08-04 Andreas Jaeger <aj@suse.de>
+
+ * gcse.c: Revert Daniel's last patch.
+
+2001-08-03 Zack Weinberg <zackw@stanford.edu>
+
+ * sparc-protos.h: Add prototypes for fp_zero_operand and
+ reg_or_0_operand.
+ * sh-protos.h: Add prototype for fpul_operand.
+
+2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * doc/extend.texi (Other Builtins): Fix typo in last change.
+
+2001-08-03 Richard Henderson <rth@redhat.com>
+
+ * target.h (gcc_target): Add asm_out.named_section,
+ section_type_flags, have_named_sections.
+ * target-def.h (TARGET_ASM_NAMED_SECTION): New.
+ (TARGET_HAVE_NAMED_SECTIONS): New.
+ (TARGET_SECTION_TYPE_FLAGS): New.
+
+ * Makefile.in (toplev.o): Depend on TARGET_H.
+ (varasm.o, dbxout.o): Likewise.
+ * c-common.c (decl_attributes): Check targetm.have_named_sections
+ instead of ifdef ASM_OUTPUT_SECTION_NAME.
+ * dbxout.c (dbxout_function_decl): Likewise.
+ (dbxout_function_end): Likewise.
+ * toplev.c (compile_file): Likewise.
+ * varasm.c (exception_section): Likewise.
+ * cp/decl2.c (finish_objects): Likewise.
+
+ * defaults.h (EH_FRAME_SECTION): Remove.
+ (EH_FRAME_SECTION_ASM_OP): Remove.
+ (EH_FRAME_SECTION_NAME): New.
+ (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
+ (UNIQUE_SECTION_P): Remove.
+ * dwarf2out.c (SECTION_FORMAT): Remove.
+ (ASM_OUTPUT_SECTION): Remove.
+ (output_call_frame_info): Use named_section_flags.
+ (output_comp_unit, dwarf2out_start_source_file): Likewise.
+ (dwarf2out_end_source_file, dwarf2out_define): Likewise.
+ (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
+ * varasm.c (in_eh_frame, eh_frame_section): Remove.
+ (named_section_flags): New.
+ (named_section): Use it and targetm.section_type_flags.
+ (resolve_unique_section): New.
+ (assemble_start_function): Use it.
+ (asm_emit_uninitialised, assemble_variable): Likewise.
+ (default_section_type_flags): New.
+ (default_no_named_section, default_elf_asm_named_section): New.
+ (default_coff_asm_named_section, default_pe_asm_named_section): New.
+ * output.h: Update varasm.c decls.
+ (SECTION_*): New flags.
+
+ * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
+ (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
+
+ * config/elfos.h (UNIQUE_SECTION_P): Remove.
+ * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
+ * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
+ * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
+ * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
+ * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
+ * config/mips/elf.h, config/mips/elf64.h: Likewise.
+ * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
+ * config/pa/pa64-hpux.h,
+
+ * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
+ (TARGET_ASM_NAMED_SECTION): New.
+ * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
+ * config/alpha/vms.h, config/arm/coff.h: Likewise.
+ * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
+ * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
+ * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
+ * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
+ * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
+ * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
+ * config/i386/sco5.h, config/i386/win32.h: Likewise.
+ * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
+ * config/mcore/mcore.h, config/mips/elf.h: Likewise.
+ * config/mips/elf64.h, config/mips/iris6.h: Likewise.
+ * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
+ * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
+ * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
+ * config/sparc/sysv4.h: Likewise.
+
+ * config/nextstep.h: Error until named sections implemented.
+
+ * config/a29k/a29k.c (a29k_asm_named_section): New.
+ * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
+ (vms_section_type_flags, vms_asm_named_section): New.
+ * config/arm/arm.c (arm_elf_asm_named_section): New.
+ * config/avr/avr.c (asm_output_section_name): Remove.
+ * config/avr/avr-protos.h: Update.
+ * config/c4x/c4x.c (c4x_asm_named_section): New.
+ * config/h8300/h8300.c (h8300_asm_named_section): New.
+ * config/i386/i386.c (sco_asm_named_section): New.
+ * config/i386/winnt.c (SECTION_PE_SHARED): New.
+ (i386_pe_section_type_flags): New.
+ (i386_pe_asm_named_section): New.
+ * config/i386/i386-protos.h: Update.
+ * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
+ * config/mcore/mcore.c (mcore_asm_named_section): New.
+ * config/mips/mips.c (iris6_asm_named_section): New.
+ * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
+ instead of UNIQUE_SECTION_P.
+ * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
+ (xcoff_asm_named_section): New.
+ * config/sh/sh.c (sh_asm_named_section): New.
+ * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
+
+ * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
+ * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
+ (EH_FRAME_SECTION_NAME): New.
+ (EXCEPTION_SECTION): New.
+ * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
+ (DEBUG_*_SECTION): Remove.
+ * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
+ * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
+ (EH_FRAME_SECTION_ASM_OP): Remove.
+
+ * doc/tm.texi (UNIQUE_SECTION_P): Remove.
+ (ASM_OUTPUT_SECTION_NAME): Remove.
+ (TARGET_ASM_NAMED_SECTION): New.
+ (TARGET_HAVE_NAMED_SECTIONS): New.
+ (TARGET_SECTION_TYPE_FLAGS): New.
+ (EH_FRAME_SECTION_ASM_OP): Remove.
+ (EH_FRAME_SECTION_NAME): New.
+
+2001-08-03 Zack Weinberg <zackw@stanford.edu>
+
+ * builtins.c (fold_builtin_constant_p): Return integer_zero_node
+ for complex expressions when cfun == 0.
+ * doc/extend.texi: Document that __builtin_constant_p can be
+ used in data initializers as well as functions.
+
+2001-08-03 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
+ variable I locally, instead of expecting a declaration in the
+ calling context.
+
+2001-08-03 Richard Henderson <rth@redhat.com>
+
+ * except.c (collect_one_action_chain): Add an explicit cleanup
+ action if regions surrounding a catch were encoded entirely
+ within the call-site entry.
+
+2001-08-03 Richard Henderson <rth@redhat.com>
+
+ * dbxout.c (dbxout_symbol_location): Flatten subregs first;
+ don't take REGNO of a non-register.
+
+2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
+ __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
+ (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
+ (__gthread_mutex_init_function): New function for mutex initialization.
+
+2001-08-03 Daniel Berlin <dan@cgsoftware.com>
+
+ * Makefile.in: Revert screwed up commit.
+
+2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
+
+ * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
+ * config/m68hc11/larith.asm (_exit): Split in several sub-sections
+ merged by linker script to get a final _exit().
+ (__do_global_dtors): New for destructor handling in specific exit
+ section.
+ (__do_global_ctors): New for constructors in specific install section.
+ (__map_data_section): Map data sections before running constructors.
+ * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
+ (CTORS_SECTION_ASM_OP): Define to put in readonly section.
+ (DTORS_SECTION_ASM_OP): Likewise.
+ (CTORS_SECTION_FUNCTION): Define to force a reference to
+ __do_global_ctors.
+ (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
+
+2001-08-03 Daniel Berlin <dan@cgsoftware.com>
+
+ * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
+
+ * Makefile.in: Add df.h to gcse.c dependencies.
+
+2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * varasm.c (output_constant_def_contents): Use for the length of a
+ string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
+ depending on which is larger.
+
+2001-08-03 Daniel Berlin <dan@cgsoftware.com>
+
+ * gcse.c: Include df.h for use as a dataflow analyzer.
+ Remove regvec.
+ Declaration of reg_set_info: gone.
+ New df_analyzer variable used by store motion.
+ (reg_set_info): Deleted.
+ (mark_mem_regs): New function, analyze regs used by a mem.
+ (store_ops_ok): Use dataflow analyzer results to determine if
+ necessary regs are changed in the block.
+ (find_moveable_store): Remove check for symbol ref, we can handle
+ much more complex expressions now.
+ (compute_store_table): Remove most of the code, it's unnecessary
+ now that the dataflow analyzer records the info for us.
+ (store_killed_after): Add parameter to say whether to do the
+ store_ops_okay test, used to speed up testing when we already know
+ the answer, and just want to know if the store itself was killed.
+ (build_store_vector): Largely rewritten to calculate the various
+ vectors properly, and somewhat optimized.
+ (store_motion): Init the df_analyzer, get REG_DEF chains.
+ Also handle trapping expressions (since mems almost always trap)
+ (simple_mem): Redefine what a simple mem is.
+
+2001-08-03 DJ Delorie <dj@redhat.com>
+
+ * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
+ set from a constant part of the condition.
+
+2001-08-01 Andrew Cagney <ac131313@redhat.com>
+
+ * mkdeps.c (deps_add_default_target): Make local variable
+ ``start'' a const char pointer.
+ * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
+
+2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * doc/install.texi (Configuration): Fix markup.
+ (Specific, i?86-*-udk): Likewise.
+ (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
+ --with-gnu-ld.
+ Document --enable-threads and --enable-libgcj status.
+ (Specific, mips-sgi-irix*): Canonicalize triples.
+ (Specific, mips-sgi-irix5): Warn about problems with this config.
+ Mention required GNU as patch.
+ Native assembler problems are fixed.
+ (Specific, mips-sgi-irix6): Update O32 ABI support status.
+ Document --enable-threads and --enable-libgcj status.
+
+2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
+ of mkinstalldirs.
+
2001-08-03 Richard Henderson <rth@redhat.com>
* config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
- in comments and documentation.
+ in comments and documentation.
2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2001-08-01 Robert Lipe <robertl@caldera.com>
- * dwarfout.c: Remove reference to README.DWARF.
+ * dwarfout.c: Remove reference to README.DWARF.
2001-08-01 Andrew MacLeod <amacleod@redhat.com>
2001-07-11 Andrew Cagney <ac131313@redhat.com>
* config.gcc: Recognize powerpc-*-netbsd*.
-
+
* doc/install.texi (Host/target specific installation notes for
GCC): Mention powerpc-*-netbsd*.
(EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
(ncrti.S, ncrtn.S): New targets.
($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
-
+
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
"netbsd' as a V4 ABI.
(ASM_SPEC): Check for -mcall-netbsd.
2001-08-01 Ziemowit Laski <zlaski@apple.com>
- * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
+ * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
contextualizing Objective-C class name lookup by the lexer.
(typespec_reserved_nonattr): Disable ObjC class name lookup after
seeing a TYPESPEC.
2001-07-31 Jeff Sturm <jsturm@one-point.com>
- * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
+ * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
2001-07-31 matthew green <mrg@eterna.com.au>
(SET_ASM_OP): Remove, now defined where needed.
(FUNCTION_PROLOGUE): New macro definition.
(FUNCTION_EPILOGUE): New macro definition.
- (CONST_OK_FOR_LETTER_P): Change N to require that value is
- positive, too.
(ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
* config/rs6000/xcoff.h: New file.
2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
- * doc/install.texi: Add s390 and s390x as new targets.
- * doc/invoke.texi: Add documantation of S/390 and zSeries
- target options.
- * doc/md.texi: Add documantation of S/390 and zSeries constraints.
+ * doc/install.texi: Add s390 and s390x as new targets.
+ * doc/invoke.texi: Add documantation of S/390 and zSeries
+ target options.
+ * doc/md.texi: Add documantation of S/390 and zSeries constraints.
2001-07-30 Roman Zippel <zippel@linux-m68k.org>
Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
- * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
+ * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
2001-07-30 Richard Henderson <rth@redhat.com>
2001-07-30 Andreas Jaeger <aj@suse.de>
- * jump.c: Add prototype for mark_modified_reg.
+ * jump.c: Add prototype for mark_modified_reg.
- * cse.c (set_live_p): Add unused attribute.
+ * cse.c (set_live_p): Add unused attribute.
- * gcov.c (calculate_branch_probs): Use gcov_type to avoid
- overflow.
- (scan_for_source_files): Use long for count to avoid overflow.
- (output_data): Likewise.
- (output_data): Don't use string concatatenation to silence gcc
- -traditional.
+ * gcov.c (calculate_branch_probs): Use gcov_type to avoid
+ overflow.
+ (scan_for_source_files): Use long for count to avoid overflow.
+ (output_data): Likewise.
+ (output_data): Don't use string concatatenation to silence gcc
+ -traditional.
- * predict.c: Fix typos and grammar.
+ * predict.c: Fix typos and grammar.
* gcse.c (insert_insn_end_bb): Remove unused variables.
Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
- * flow.c (redirect_edge_and_branch_force): Test
+ * flow.c (redirect_edge_and_branch_force): Test
target->global_live_at_start.
2001-07-26 Richard Henderson <rth@redhat.com>
2001-07-26 Catherine Moore <clm@redhat.com>
- * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
- of conditional to avoid tree checking errors.
+ * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
+ of conditional to avoid tree checking errors.
2001-07-26 Kazu Hirata <kazu@hxi.com>
2001-07-25 Catherine Moore <clm@redhat.com>
- * config/v850/v850.c (v850_va_arg): Use addr
- instead of valist to build incr.
+ * config/v850/v850.c (v850_va_arg): Use addr
+ instead of valist to build incr.
Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
2001-07-24 Joel Sherrill <joel@OARcorp.com>
- * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
+ * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
-Acpu and -Amachine.h.
- * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
- Corrected header to say ELF not a.out.
- * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
+ * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
+ Corrected header to say ELF not a.out.
+ * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
when given -msoft-float.
2001-07-24 Joel Sherrill <joel@OARcorp.com>