OSDN Git Service

more rigorous SIGCHLD guarding
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index cf724ab..c13da94 100644 (file)
@@ -1,3 +1,404 @@
+2001-03-15  Bruce Korb  <bkorb@gnu.org>
+
+       * gcc.c(main): make more rigorous
+       * collect2.c(main): guard against ignoring SIGCHLD
+       * protoize.c(main): ditto
+       * gcc/fixinc/fixincl.c(initialize): ditto
+
+2001-03-15  Mark Mitchell  <mark@codesourcery.com>
+
+       * sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
+       (sdbout_parms): Likewise.
+
+Thu Mar 15 12:57:14 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
+       "widen" a destination that is already wider than a word.  Also do
+       not widen if LOAD_EXTEND_OP is NIL for the given mode.
+
+2001-03-15  Bernd Schmidt  <bernds@redhat.com>
+
+       * config/ia64/ia64.c (ia64_sched_reorder): Remove debugging aids.
+
+Thu Mar 15 11:30:31 EST 2001  John Wehle  (john@feith.com)
+
+       * i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo.
+
+Thu Mar 15 11:24:29 EST 2001  John Wehle  (john@feith.com)
+
+       * i960.h (i960_maxbitalignment,
+       i960_last_maxbitalignment): Declare.
+       * i960.c (i960_maxbitalignment,
+       i960_last_maxbitalignment): Make global.
+       (process_pragma): Delete.
+       (i960_pr_align, i960_pr_noalign): Move from here ...
+       * i960-c.c: ... to this new file.
+       * t-960bare (i960-c.o): New rule.
+       * t-vxworks960 (i960-c.o): Likewise.
+       * config.gcc (i960-*-*): Define c_target_objs and
+       cxx_target_objs.
+
+2001-03-15  Bernd Schmidt  <bernds@redhat.com>
+
+       * cselib.c (hash_rtx): For REG and MEM, just use value of expression
+       without adding in rtx code and mode.
+
+       * alias.c (init_alias_analysis): Don't use any rtx whose value
+       varies as a known value.
+       Delete a superfluous test.
+
+       * config/ia64/ia64.c (maybe_rotate): New function, broken out of
+       ia64_sched_reorder.
+       (ia64_sched_reorder): Call maybe_rotate; also rotate after
+       scheduling a stop bit.
+       (ia64_emit_nops): Correctly handle ASMs.
+
+2001-03-15  Mark Mitchell  <mark@codesourcery.com>
+
+       * varasm.c (assemble_variable): Use DECL_RTL_SET_P.
+
+2001-03-15  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cpp.texi: Update documentation for -include and -imacros.
+       * cppfiles.c (struct include_file): Remove "defined" memeber.
+       (find_or_create_entry): Make a copy of the file name, and
+       simplify it.
+       (open_file): Update to ensure we use the simplified filename.
+       (stack_include_file): Don't set search_from.
+       (cpp_included): Don't simplify the path name here.
+       (find_include_file): New prototype.  Call search_from to
+       get the start of the "" include chain.  Don't simplify the
+       filenames here.
+       (_cpp_execute_include): New prototype.  Move diagnostics to
+       do_include_common.  Update.
+       (_cpp_pop_file_buffer): Don't set defined.
+       (search_from): New prototype.  Use the preprocessor's cwd
+       for files included from the command line.
+       (read_name_map): Don't simplify the pathname here.
+       * cpphash.h (enum include_type): New.
+       (struct buffer): Delete search from.  New search_cached.
+       (_cpp_execute_include): Update prototype.
+       * cppinit.c (do_includes): Use _cpp_execute_include.
+       * cpplib.c (do_include_common): New function.
+       (do_include, do_include_next, do_import): Use it.
+
+2001-03-14  Mark Mitchell  <mark@codesourcery.com>
+
+       * varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
+       contents of the RTL, to determine the name of the object.
+
+2001-03-14  Mark Mitchell  <mark@codesourcery.com>
+
+       * tree.h (DECL_RTL): Allocate RTL lazily.
+       (SET_DECL_RTL): New macro.
+       (DECL_RTL_SET_P): Likewise.
+       (COPY_DECL_RTL): Likewise.
+       (DECL_RTL_IF_SET): Likewise.
+       * varasm.c (make_decl_rtl): Add assertions about the kind of
+       declaration we are processing.
+       * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
+       (start_decl): Likewise.
+       (finish_decl): Likewise.
+       * c-semantics.c (emit_local_var): Likewise.
+       * calls.c (expand_call): Likewise.
+       * dbxout.c (dbxout_symbol): Likewise.
+       * emit-rtl.c (unshare_all_rtl): Likewise.
+       (unshare_all_decls): Likewise.
+       (reset_used_decls): Likewise.
+       * expr.c (store_constructor): Likewise.
+       (safe_from_p): Likewise.
+       (expand_expr): Likewise.
+       * function.c (put_var_into_stack): Likewise.
+       (instantiate_decls_1): Likewise.
+       (assign_parms): Likewise.
+       (expand_function_start): Likewise.
+       (expand_function_end): Likewise.
+       * ggc-common.c (gcc_mark_trees): Likewise.
+       * integrate.c (function_cannot_inline_p): Likewise.
+       (copy_decl_for_inlining): Likewise.
+       (expand_inline_function): Likewise.
+       (integrate_parm_decls): Likewise.
+       (integrate_decl_tree): Likewise.
+       * print-tree.c (print_node): Likewise.
+       * reg-stack.c (stack_result): Likewise.
+       * stmt.c (label_rtx): Likewise.
+       (expand_return): Likewise.
+       (expand_decl): Likewise.
+       (expand_decl_cleanup): Likewise.
+       (expand_anon_union_decl): Likewise.
+       * toplev.c (check_global_declarations): Likewise.
+       (rest_of_decl_compilation): Likewise.
+       * tree.c (simple_cst_equal): Likewise.
+       * objc/objc-act.c (generate_static_references): Likewise.
+       
+2001-03-14  Zack Weinberg  <zackw@stanford.edu>
+
+       * aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,
+       gcc_AC_C_FLOAT_FORMAT): New macros.
+       * configure.in: Add AC_PROG_CPP after CC tests;
+       gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof
+       tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT.
+       * configure, config.in: Regenerate.
+
+       * config/a29k/xm-a29k.h, config/arc/xm-arc.h,
+       config/arm/xm-arm.h, config/c4x/xm-c4x.h,
+       config/convex/xm-convex.h, config/d30v/xm-d30v.h,
+       config/i370/xm-linux.h, config/i370/xm-oe.h,
+       config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
+       config/m68k/xm-m68k.h, config/mips/xm-mips.h,
+       config/pa/xm-linux.h, config/pa/xm-pa.h,
+       config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h,
+       config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h,
+       config/sparc/xm-sparc.h, config/vax/xm-vax.h,
+       config/we32k/xm-we32k.h: Delete.
+
+       * config/i370/xm-mvs.h, config/m88k/m88k.h,
+       config/romp/xm-romp.h, config/rs6000/xm-beos.h,
+       config/vax/xm-vms.h: Don't define any of:
+       HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN
+
+       * config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here.
+
+       * config.gcc: Remove references to deleted files.
+       (i370-*-opened*): Use i370/xm-mvs.h (which now defines only
+       FATAL_EXIT_CODE, which is the same between oe and mvs).
+
+2001-03-14  DJ Delorie  <dj@redhat.com>
+           Vladimir Makarov  <vmakarov@redhat.com>
+
+       * config/i960/i960.c (i960_function_prologue): Compute size of
+       frame according to number of registers actually saved there.
+
+2001-03-14  Richard Henderson  <rth@redhat.com>
+
+       * expr.c (emit_move_insn_1): Fix else if around #endif.
+
+Wed Mar 14 22:39:12 CET 2001  Jan Hubicka  <jh@suse.cz>
+                             Vojtech Pavlik
+
+       * md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z'
+       constraints.
+
+Wed Mar 14 22:26:10 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (ix86_cmodel_string, ix86_cmodel): Define.
+       (override_options): Parse cmodel string.
+       (x86_64_sign_extended_value, x86_64_zero_extended_value): New.
+       * i386.h (TARGET_OPTIONS): Add "cmodel".
+       (EXTRA_CONSTRAINT): Recognize 'e' and 'Z'.
+       (enum cmodel): New.
+       (ix86_cmodel_string, ix86_cmodel): Declare.
+
+Wed Mar 14 22:26:54 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       Spot by Matt Kraai:
+       * i386.h (GENERAL_REG_P): Add missing REG_P.
+
+2001-03-14  Laurynas Biveinis  <lauras@softhome.net>
+
+       * configure.in: Use $gcc_cv_as instead of $as.
+       * configure: Regenerated.
+
+2001-03-14  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppfiles.c (stack_include_file): Only increase the include
+       count if we actually process the file properly, as opposed
+       to treating it as length zero.  Only call read_include_file
+       if not DO_NOT_REREAD.  Handle the -H include file output
+       here.
+       (read_include_file): Remove now redundant DO_NOT_REREAD check.
+       (cpp_included, find_include_file): Simplify pathnames after
+       remapping them.  If remapping, don't use the remapped file
+       name's buffer as our scratch buffer.
+       (cpp_pop_file_buffer): Replace the multiple include macro
+       only if it isn't yet set.
+       (read_name_map): Simplify remapped names when reading in.
+       (remap_filename): Move code to code path that uses it.
+       (_cpp_simplify_pathname): Return the input pointer.
+       * cpphash.h (_cpp_simplify_pathname): Update prototype.
+
+2001-03-14  Mark Mitchell  <mark@codesourcery.com>
+
+       * expr.c (expand_expr): Revove bogus conditional.
+
+Wed Mar 14 19:29:50 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.
+
+2001-03-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * reg-stack.c (stack_result): Unconditionally use
+       FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
+
+Wed Mar 14 16:36:25 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * expr.c (emit_move_insn_1):  Split push of complex value when
+       no suitable push instruction exist.
+
+       * i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P
+       instead of QI_REG_P.
+
+Tue Mar 13 22:22:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * alias.c (handled_component_p, can_address_p): New functions.
+       (get_alias_set): Use them.
+
+2001-03-13  Jim Wilson  <wilson@redhat.com>
+
+       * config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed
+       from 80 in try_locals code.
+       (ia64_expand_prologue): Add comment pointing to find_gr_spill change.
+
+2001-03-13  Zack Weinberg  <zackw@stanford.edu>
+
+       * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
+       gcc_AC_C_LONG_LONG): New.
+       * configure.in: Use them.  Probe the size of short, int, long,
+       and long long/__int64 if we have them.  Move all the AC_C_*
+       checks together, except gcc_AC_C_CHAR_BIT which has to go
+       after AC_CHECK_HEADERS(limits.h).
+       Take hwint.h out of host_xm_file and build_xm_file.
+
+       * hwint.h: Unconditionally define HOST_BITS_PER_CHAR,
+       HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG,
+       and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT.
+       Move the HOST_WIDEST_INT setup logic here from system.h.
+       Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not
+       defined.
+       * system.h: Include hwint.h after limits.h.  HOST_WIDEST_INT
+       is now handled by hwint.h.
+
+       * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h,
+       config/c4x/xm-c4x.h, config/i370/xm-oe.h,
+       config/ia64/xm-ia64.h: Don't define any of:
+       HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT,
+       HOST_BITS_PER_LONGLONG.
+
+       * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h,
+       config/h8300/xm-h8300.h, config/mips/iris6.h,
+       config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h,
+       config/sparc/xm-sp64.h: Delete.
+       * config.gcc: Remove references to deleted files.
+
+       * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define
+       HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT.
+       * config/i370/xm-linux.h: Clarify floating-point situation in
+       a comment.
+
+2001-03-13  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppfiles.c (NO_INCLUDE_PATH): New macro.
+       (find_include_file): Decide here which part of the include
+       chain to start the search.  Complain about an empty include
+       chain in all cases apart from an abolsute file name.
+       (_cpp_execute_include): Don't choose the search chain here.
+       Don't call handle_missing_include in the case of an empty
+       include chain.
+       (_cpp_compare_file_date): Don't choose the search chain here.
+       * cpplib.c (do_include_next): Move the in-main-file diagnostic
+       here from _cpp_execute_include.  Behave like #include if
+       we're in the main file.
+
+2001-03-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * system.h (malloc, realloc, calloc, strdup): Only poison these
+       tokens when IN_GCC is defined.
+
+Tue Mar 13 14:38:44 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (abs?f expander): Support SSE case.
+       (abd?f_if): Add new "USE"; add splitters.
+
+2001-03-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * cpp.texi (poison): Explain the macro expansion exception.
+
+2001-03-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * expr.c (store_expr): Add dont_store_target.  If temp is already in
+       target before copying to reg, don't store it into target again.
+
+2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppinternals.texi: Update for file handling.
+
+2001-03-12  Jeffrey Oldham  <oldham@codesourcery.com>
+
+       * emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's
+       2001-02-24 which broke building the Java library.
+       * function.c (identify_blocks): Likewise.
+       (all_blocks): Likewise.
+       * integrate.c (integrate_decl_tree): Likewise.
+       * print-tree.c (print_node): Likewise.
+       * tree.h (BLOCK_NUMBER): Likewise.
+       (struct tree_block): Likewise.
+
+2001-03-12  David Edelsohn  <edelsohn@gnu.org>
+
+       * rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
+       __WCHAR_TYPE__ definition.
+       (WCHAR_TYPE_SIZE): #undef before #define.
+
+2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppfiles.c: Update comments.
+       (destroy_include_file_node): Rename destroy_node.
+       (find_or_create_entry): New function.
+       (open_file, _cpp_fake_include): Use it.
+       (handle_missing_header): New function, broken out of
+       _cpp_execute include.  Don't segfault if there is no
+       system or quoted path.
+       (_cpp_execute_include): Use handle_missing_header.
+
+2001-03-12  Jeffrey Oldham  <oldham@codesourcery.com>
+
+       * jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's
+       2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5.
+
+Mon Mar 12 14:05:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * flow.c (insn_dead_p): Don't consider two memrefs equivalent
+       unless anti_dependence says they are.
+       * alias.c (objects_must_conflict): If neither has a type specified,
+       they must conflict.
+
+2001-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
+           David Billinghurst <David.Billinghurst@riotinto.com>
+
+       * config/mips/iris5.h:  Change WCHAR_TYPE to int.
+
+Mon Mar 12 16:32:21 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (trunctfdf2_2): Rename missnamed pattern.
+       (*_one_bit): Remove type on the match_operand in attributes.
+
+Mon Mar 12 16:27:56 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c: Commit forgotten hunk in previous patch.
+       (regclass_map): Add extended registers.
+       (dbx_register_map): Add missing frame register.
+
+Mon Mar 12 15:41:08 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (all XFmode patterns except swapxf): Disable for 64bit.
+
+       * i386.md (x86_sahf_1): Disable for 64bit.
+       (popsi*, pophi*): Likewise.
+       (pushqi, pushhi): Likewise.
+       (movdi, pushdi): Likewise.
+       (zero extend DImode splitter): Likewise.
+       (adddi, minusdi splitter): Likewise.
+       (umulsidi): Likewise.
+       (umulsi): New.
+       (mulsidi): Disable for 64bit
+       (lshift:DI/ashift:DI): Disable for 64bit.
+       (loop patterns): Likewise.
+       (call_pop, call_value_pop expanders and patterns): Likewise.
+       (prologue_get_pc): Likewise.
+       (leave): Likewise.
+       (fcmovDI pattern and splitter): Likewise.
+       (movdfcc_1_rex64): New.
+
 Mon Mar 12 15:16:36 CET 2001  Jan Hubicka  <jh@suse.cz>
 
        * i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
@@ -33,7 +434,7 @@ Mon Mar 12 15:16:36 CET 2001  Jan Hubicka  <jh@suse.cz>
 
 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
 
-       * configure.in: Move check for unsigned enumerated bitfields   
+       * configure.in: Move check for unsigned enumerated bitfields
        to macro in aclocal.m4.  Disable it for now.
        * configure, config.in: Regenerate.
        * system.h: Don't do anything with ONLY_INT_FIELDS.  Use the
@@ -45,7 +446,7 @@ Mon Mar 12 15:16:36 CET 2001  Jan Hubicka  <jh@suse.cz>
        config/i370/xm-linux.h, config/i386/xm-beos.h,
        config/i386/xm-mingw32.h, config/mips/xm-mips.h,
        config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
-       config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h, 
+       config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h,
        Don't define ONLY_INT_FIELDS under any circumstances.
 
        * config/pa/xm-pa.h: Don't define __BSD_NET2__.
@@ -56,12 +457,12 @@ Mon Mar 12 15:16:36 CET 2001  Jan Hubicka  <jh@suse.cz>
        * config.gcc (hppa targets): Replace xm-pahpux.h and
        xm-papro.h with implicit xm-pa.h.
        (sparc targets): Replace xm-sysv4.h with implicit or explicit
-       xm-sparc.h. 
+       xm-sparc.h.
 
 2001-03-12  Aldy Hernandez  <aldyh@redhat.com>
 
-        * reload1.c (reload_cse_simplify): Call reload_cse_simplify_set
-        before reload_cse_noop_set_p.
+       * reload1.c (reload_cse_simplify): Call reload_cse_simplify_set
+       before reload_cse_noop_set_p.
 
 2001-03-11  Zack Weinberg  <zackw@stanford.edu>
 
@@ -119,7 +520,7 @@ Sun Mar 11 17:01:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
 2001-03-11  Neil Booth  <neil@daikokuya.demon.co.uk>
 
-        * cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
+       * cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
        (cpp_included, find_include_file): Update.
        (_cpp_compare_file_date): Make else unconditional.
 
@@ -129,7 +530,7 @@ Sun Mar 11 17:01:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
 2001-03-10  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
 
-       * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics. 
+       * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
        * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.
 
 Sat Mar 10 22:42:05 2001  Alexandre Oliva  <aoliva@redhat.com>