OSDN Git Service

fix SIGCHLD handling
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 23eba3b..07d8406 100644 (file)
@@ -1,3 +1,405 @@
+2001-03-08  Bruce Korb  <bkorb@gnu.org>
+
+       gcc.c(main): ensure SIGCHLD handling is set to SIG_DFL so that
+       wiat4() can receive the signal.
+
+Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * fixinc/inclhack.def (AAB_dgux_int_varargs): Don't use HTML
+       entities.
+       * fixinc/fixincl.x: Regenerate.
+
+Thu Mar  8 21:09:10 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * fixinc/inclhack.def (AAA_standards): Undo <standards.h> breakage
+       on Tru64 UNIX.
+       * fixinc/fixincl.x: Regenerate.
+
+2001-03-08  Richard Henderson  <rth@redhat.com>
+
+       * configure.in (HAVE_AS_LEB128): New assembler check.
+       * configure, config.in: Rebuilt.
+
+Thu Mar  8 19:54:04 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
+       TFmode too.
+
+2001-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
+       references to the MAXPATHLEN macro.
+
+       * config/alpha/xm-alpha.h, config/arm/xm-arm.h,
+       config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to
+       the POSIX macro.
+
+       * config/i386/xm-gnu.h, config/xm-gnu.h,
+       config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h,
+       config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h,
+       config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty
+       and/or unused files.
+
+       * config.gcc: Define POSIX in xm_defines as appropriate in lieu of
+       doing so in various xm-*.h files.
+
+Thu Mar  8 06:32:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
+
+2001-03-08  Alexandre Oliva  <aoliva@redhat.com>
+
+       * configure.in (enable_shared): Support per-package shared-library
+       enabling.
+       * configure: Rebuilt.
+
+2001-03-07  David Edelsohn  <edelsohn@gnu.org>
+
+       * rs6000.md (cr logic): Add original POWER mnemonic alternative
+       for crnot.  Set operands[5] in splitter.
+
+2001-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * config/i370/xm-mvs.h, config/i370/xm-oe.h,
+       config/i386/xm-beos.h, config/i386/xm-mingw32.h,
+       config/m88k/xm-m88k.h, config/mips/xm-iris6.h,
+       config/mips/xm-openbsd.h, config/pa/xm-pa64hpux.h,
+       config/pa/xm-pahpux.h, config/rs6000/xm-beos.h,
+       config/rs6000/xm-darwin.h, config/rs6000/xm-mach.h,
+       config/rs6000/xm-rs6000.h, config/xm-interix.h: Delete references
+       to the USG macro.
+
+       * config/vax/xm-vaxv.h, config/a29k/xm-unix.h,
+       config/i370/xm-i370.h, config/i386/xm-dgux.h,
+       config/i386/xm-sun.h, config/i386/xm-sysv3.h,
+       config/m68k/xm-tower.h, config/m68k/xm-aux.h,
+       config/m68k/xm-hp320.h, config/m68k/xm-amix.h,
+       config/m68k/xm-altos3068.h, config/m68k/xm-mot3300.h,
+       config/m68k/xm-m68kv.h, config/m88k/xm-openbsd.h,
+       config/mips/xm-nws3250v4.h, config/mips/xm-sysv.h,
+       config/mips/xm-iris3.h, config/mips/xm-iris4.h, config/xm-svr3.h,
+       config/xm-svr4.h, config/sparc/xm-pbd.h, config/clipper/xm-clix.h:
+       Delete unused and/or empty files.
+
+       * config.gcc: Define USG in xm_defines as appropriate.  Define
+       POSIX in lieu of xm-svr4.h.  Delete all references to the SVR3
+       macro.  Remove deleted xm-* files from $xm_files variable.
+
+2001-03-07  Tom Tromey  <tromey@redhat.com>
+
+       * configure: Rebuilt.
+       * configure.in: Allow config-lang.in to set `lang_requires' to list
+       of other required languages.
+
+2001-03-07  Andrew MacLeod  <amacleod@redhat.com>
+
+       * config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
+       after its emitted.
+       (output_prologue): Use xmalloc not oballoc.
+       (output_epilog): Free a29k_first_epilogue_insn when finished.
+       * confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand.
+
+2001-03-07  Brad Lucier  <lucier@math.purdue.edu>
+
+       * builtins.c (expand_builtin_mathfn): Check
+       flag_unsafe_math_optimizations, not flag_fast_math.
+       (expand_builtin): Likewise
+       * combine.c (combine_simplify_rtx): Likewise.
+       (simplify_if_then_else): Likewise.
+       * cse.c (fold_rtx): Likewise.
+       * flags.h: Remove flag_fast_math.  Add 
+       flag_unsafe_math_optimizations and flag_trapping_math.
+       * fold-const.c (negate_expr): Check
+       flag_unsafe_math_optimizations, not flag_fast_math.
+       (invert_truthvalue): Likewise.
+       (fold): Likewise.  Before associating operands, check that
+       code == MULT_EXPR, not code != MULT_EXPR.
+       * ifcvt.c (noce_try_minmax): Check
+       flag_unsafe_math_optimizations, not flag_fast_math.
+       (noce_operand_ok): Check flag_trapping_math, not flag_fast_math.
+       * invoke.texi: Document -funsafe-math-optimizations and
+       -fno-trapping-math.  Change documentation for -ffast-math.
+       * jump.c (reversed_comparison_code_parts): Likewise.
+       (rtx_equal_for_thread_p): Likewise.
+       * optabs.c (emit_conditional_move): Likewise.
+       * simplify-rtx.c (simplify_binary_operation): Likewise.
+       (simplify_relational_operation): Likewise.
+       (simplify_ternary_operation): Likewise.
+       * toplev.c: Remove flag_fast_math.  Add flag_trapping_math and
+       flag_unsafe_math_optimizations.  Remove fast-math entry from f_options.
+       Add trapping-math and unsafe-math-optimizations entries to f_options.
+       (set_fast_math_flags): New, sets flags for -ffast-math.
+       (set_no_fast_math_flags): New, sets flags for -fno-fast-math.
+       (decode_f_option): Add code to handle -ffast-math and -fno-fast-math.
+       * toplev.h: Declare set_fast_math_flags and set_no_fast_math_flags.
+
+       * config/alpha/alpha.c (alpha_emit_conditional_branch): Likewise.
+       (alpha_emit_conditional_move): Initialize local_fast_math to
+       flag_unsafe_math_optimizations, not flat_fast_math.
+       * config/c4x/c4x.c (c4x_override_options): Call set_fast_math_flags
+       instead of setting flag_fast_math to 1.
+       * config/convex/convex.md: Check flag_unsafe_math_optimizations,
+       not flag_fast_math.
+       * config/i386/i386.c (override_options): Likewise
+       * config/i386/i386.md: Likewise.
+       * config/m68k/m68k.md: Likewise.
+       * config/mips/mips.md: Likewise.
+       * config/rs6000/rs6000.c (validate_condition_mode): Likewise.
+       (rs6000_generate_compare): Likewise.
+
+2001-03-07  Laurynas Biveinis  <lauras@softhome.net>
+
+        * Makefile.in: Set RANLIB to @RANLIB@.
+        Remove RANLIB_TEST.
+
+2001-03-07  Laurynas Biveinis  <lauras@softhome.net>
+        
+       * fixinc/inclhack.def (djgpp_wchar_h): New test.
+       * fixinc/fixincl.x: Regenerated.
+
+2001-03-07  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
+
+2001-03-07  Richard Henderson  <rth@redhat.com>
+
+       * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting
+       of block notes and exception handling notes.
+
+       * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
+       * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
+       (compile_file): ... here.
+
+2001-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
+
+       * fixinc/gnu-regex.c: Don't include auto-host.h since we get
+       config.h now.  Include libiberty.h to handle alloca.
+
+2001-03-06  Zack Weinberg  <zackw@stanford.edu>
+
+       * c-parse.in (yylexname): New function, split out of _yylex.
+       (objc_rid_sans_at): New table.
+       (init_reswords): Initialize it.
+       (_yylex): Give labels clearer names.  Handle CPP_ATSIGN by
+       retrieving the next token and checking it for significance as
+       an ObjC keyword or string constant.
+
+       * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
+       * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.
+
+       * c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references
+       to CPP_OSTRING.
+
+2001-03-06  Stephen L Moshier  <moshier@mediaone.net>
+
+       * config/m68k/m68k.c (const_uint32_operand): Accept any
+       const_int on a 32-bit host.
+
+2001-03-06  Nicola Pero  <n.pero@mi.flashnet.it>
+
+       * objc/objc-act.c (init_objc): Set save_lang_status,
+       restore_lang_status, and mark_lang_status.
+
+2001-03-06  Krister Walfridsson  <cato@df.lth.se>
+
+       * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
+
+2001-03-06  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppinternals.texi: Update.
+
+2001-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
+       config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h,
+       config/c4x/xm-c4x.h, config/clipper/xm-clix.h,
+       config/convex/xm-convex.h, config/d30v/xm-d30v.h,
+       config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h,
+       config/h8300/xm-h8300.h, config/i370/xm-i370.h,
+       config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h,
+       config/i386/xm-i386.h, config/i860/xm-i860.h,
+       config/i960/xm-i960.h, config/ia64/xm-ia64.h,
+       config/m32r/xm-m32r.h, config/m68k/xm-m68k.h,
+       config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
+       config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
+       config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
+       config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
+       config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h,
+       config/romp/xm-romp.h, config/rs6000/xm-beos.h,
+       config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h,
+       config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
+       config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
+       config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h,
+       config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which
+       match the defaults provided in hwint.h.
+
+       * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
+       config/sparc/xm-lynx.h, config/xm-std32.h: Delete files.
+
+       * config.gcc (xm_file): Don't set to files which are deleted.
+
+       * hwint.h: Provide default values for HOST_BITS_PER_*.  No longer
+       guard this file against these macros being undefined.
+
+2001-03-06  Zack Weinberg  <zackw@stanford.edu>
+
+       * objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
+       and DECL_DEFER_OUTPUT on the decl we create, before calling
+       rest_of_decl_compilation.
+
+2001-03-06  Zack Weinberg  <zackw@stanford.edu>
+
+       * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
+       AC_FUNC_ALLOCA.
+       * configure, config.in: Regenerate.
+       * config.gcc: Remove references to deleted files.
+
+       * genattr.c, genattrtab.c, genextract.c, genoutput.c,
+       genrecog.c, rtl.c: Do not use alloca anywhere.
+
+       * Makefile.in, build-make, system.h, config/x-interix,
+       config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
+       config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
+       config/arc/xm-arc.h, config/arm/xm-arm.h,
+       config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
+       config/h8300/xm-h8300.h, config/i370/x-oe,
+       config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
+       config/i386/x-ncr3000, config/i386/x-sco5,
+       config/i386/xm-dgux.h, config/i860/x-sysv4,
+       config/i960/xm-i960.h, config/m32r/xm-m32r.h,
+       config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
+       config/m68k/x-hp320g, config/m69k/x-mot3300,
+       config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
+       config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
+       config/m68k/xm-mot3300.h, config/m88k/x-dolph,
+       config/m88k/x-sysv4, config/m88k/x-tekXD88,
+       config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
+       config/mips/x-iris, config/mips/x-iris3,
+       config/mips/x-sni-svr4, config/mips/x-sysv,
+       config/mips/xm-iris6.h, config/mips/xm-mips.h,
+       config/mips/xm-nws3250v4.h, config/pa/x-hpux,
+       config/pa/x-pa-mpeix, config/pa/xm-pa.h,
+       config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
+       config/pa/xm-papro.h, config/romp/xm-romp.h,
+       config/rs6000/x-aix31, config/rs6000/x-aix41,
+       config/rs6000/x-beos, config/rs6000/x-lynx,
+       config/rs6000/x-mach, config/rs6000/x-rs6000,
+       config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
+       config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
+       config/sparc/x-sysv4, config/sparc/xm-linux.h,
+       config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
+       config/vax/xm-vms.h: Eradicate all references to alloca and
+       related stuff.
+
+       * config/xm-alloca.h, config/clipper/x-clix,
+       config/i386/xm-sysv4.h, config/i860/x-fx2800,
+       config/i860/x-sysv3, config/m88k/x-sysv3,
+       config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
+       (contained only alloca related hacks).
+
+       * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
+       USE_C_ALLOCA.
+
+2001-03-05  Brad Lucier  <lucier@math.purdue.edu>
+
+       * invoke.texi: Document __FAST_MATH__.
+
+2001-03-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * crtstuff.c: Restore include of auto-host.h.
+
+2001-03-05  Fergus Henderson  <fjh@cs.mu.oz.au>
+
+       Put main() in a separate file, so that the language
+       front-end can use a different main().
+
+       * main.c: New.
+       * toplev.c: (main): Rename as toplev_main.
+       * toplev.h: Declare toplev_main.
+       * Makefile.in (OBJS): add toplev.o.
+         (BACKEND): remove toplev.o, add main.o.
+
+2001-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppfiles.c (search_from): Special case the empty string.
+
+2001-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppfiles.c (_cpp_execute_include): Don't make a null-terminated
+       copy of the filename.  Don't use CPP_PREV_BUFFER.  Don't call
+       strlen or strcpy; we already know the length.
+       (_cpp_compare_file_date): Similarly.
+       * cpphash.h (struct cpp_reader): Delete done_initialising.
+       (CPP_PREV_BUFFER): Delete.
+       * cppinit.c (cpp_start_read): Don't set done_initialising.
+       * cpplex.c (parse_string): Guarantee null-termination.
+       (_cpp_equiv_toklists): Remove.
+       * cpplib.c (glue_header_name): Null-terminate.
+       (do_line): Don't leak memory.
+       * cpplib.h (BT_WEAK): Delete.
+       * cppmain.c (cb_ident): Strings are now null-terminated.
+
+2001-03-04  Laurynas Biveinis  <lauras@softhome.net>
+
+       * gcc.c (convert_filename): Append executable suffix
+       if NO_AUTO_EXE_SUFFIX is not defined.
+       * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
+       * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
+
+2001-03-03  David O'Brien  <obrien@FreeBSD.org>
+
+       from 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
+       * c-parse.gperf, c-gperf.h: Delete.
+       (c-gperf.h was accidently re-added to the CVS repo in the rev
+       1.16 commit by tromey)
+
+2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cpplex.c (_cpp_lex_token): Don't warn about directives in
+       macro arguments when looking for the '('.
+       * cppmacro.c (funlike_invocation_p): Set parsing_args to
+       2 when really parsing arguments; 1 when looking for '('.
+       Always restore the lexer position.
+
+2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * longlong.h (umul_ppmm): Don't use a multiline string.
+
+2001-03-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
+       * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
+       t_bool in declaration because pcc can't combine volatile with typedef
+       types.
+
+Sat Mar  3 19:47:13 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (ix86_expand_fp_compare): Delay creating of scratch register
+       until when it is really needed.
+       (ix86_expand_compare): Update call of ix86_expand_fp_compare.
+       * i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator
+       * i386.md (float?i?f splitter): Don't force source operand to memory
+       for SSE.
+       (sse_movdfcc): Fix constraint.
+       (sse_movdfcc splitter): Handle properly the second alternative.
+
+2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cpplex.c (parse_string): Unconditionally pedwarn.
+
+2001-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cpp.texi: Update.
+       * cppexp.c (parse_number): Update.
+       * cpplex.c (parse_string): Pedwarn if multiline string does not
+       result from a system header's macro.
+       * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
+       * cppmacro.c (sys_objmacro_p): Rename sys_macro_p.  Return true
+       for function-like macros too.
+       * c-lex.c (lex_number): Update.
+
 2001-03-03  Richard Henderson  <rth@redhat.com>
 
        * dwarf2out.c (output_call_frame_info): Fix augmentation length.
@@ -3047,7 +3449,7 @@ Tue Jan 16 17:20:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
 
        * gcc.c:  Revert previous -fsyntax-only-related change; move
-         to cp/g++spec.c.
+       to cp/g++spec.c.
 
 2001-01-16  Jakub Jelinek  <jakub@redhat.com>
 
@@ -3074,7 +3476,7 @@ Tue Jan 16 17:20:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 2001-01-16  Phil Edwards  <pme@sources.redhat.com>
 
        * gcc.c:  When -fsyntax-only is given, do not complain about
-         unused libraries.
+       unused libraries.
 
 2001-01-15  Richard Henderson  <rth@redhat.com>
 
@@ -3582,7 +3984,7 @@ Sat Jan 13 09:53:32 MET 2001  Jan Hubicka  <jh@suse.cz>
 2001-01-12  Phil Edwards  <pme@sources.redhat.com>
 
        * extend.texi:  Move C++-extension-related node from the C section
-         into the C++ section.
+       into the C++ section.
 
 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
 
@@ -3705,9 +4107,9 @@ Fri Jan 12 00:04:00 MET 2001  Jan Hubicka  <jh@suse.cz>
 
 2000-01-11  Mark Elbrecht  <snowball3@bigfoot.com>
 
-        * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
-          (read_name_map): Use IS_ABSOLUTE_PATH.
-        * tradcpp.c (get_filename): Likewise.
+       * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
+       (read_name_map): Use IS_ABSOLUTE_PATH.
+       * tradcpp.c (get_filename): Likewise.
 
 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
 
@@ -3990,7 +4392,7 @@ Tue Jan  9 21:25:19 2001  Jeffrey A Law  (law@cygnus.com)
 2001-01-09  Alan Lehotsky  <lehotsky@tiac.net>
 
        * reload.c (find_reloads_address): Check for eliminable registers
-                 when substituting a constant expression for a pseudo.
+       when substituting a constant expression for a pseudo.
 
 2001-01-09  Joseph S. Myers  <jsm28@cam.ac.uk>
 
@@ -5175,7 +5577,7 @@ Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
 2000-12-27  Phil Edwards  <pme@sources.redhat.com>
 
        * extend.texi (C++ Extensions):  New node for C++ attributes;
-         describe init_priority and com_interface.
+       describe init_priority and com_interface.
        * invoke.texi:  Remove -finit-priority as it now has zero effect.
        * install.texi:  Fix xref syntax.
        * md.texi:  Likewise.