OSDN Git Service

* toplev.c: Don't declare environ (it's not used anywhere).
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 5a5e12e..d6061ff 100644 (file)
@@ -1,3 +1,138 @@
+2002-01-10  Zack Weinberg  <zack@codesourcery.com>
+
+       * toplev.c: Don't declare environ (it's not used anywhere).
+       * configure.in: Don't check for declaration of environ.
+       * config/i386/xm-mingw32.h: Don't #define environ.
+       * config.in, configure: Regenerate.
+
+2002-01-10  Zack Weinberg  <zack@codesourcery.com>
+
+       * configure.in: Set stage1_cflags for powerpc-*-darwin*.
+       * configure: Regenerate.
+
+       * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
+       DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
+       * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
+       alpha/xm-vms.h.
+       * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
+       LIMITS_H_TEST here, not in m68k/x-next.
+       * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
+       SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
+
+       * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
+       LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
+       * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
+
+       * config/i386/x-djgpp: Renamed i386/t-djgpp.
+       * config/m88k/x-dolph: Renamed m88k/t-dolph.
+       * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
+       * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
+       replacement of quadlib.asm with quadlib.c.
+
+       * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
+       config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
+       config/rs6000/xm-beos.h: Delete file.
+
+       * config.gcc: Update to match above changes.
+
+2002-01-10  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.h: Fix comment typos.
+       * config/h8300/h8300.md: Likewise.
+       * config/h8300/lib1funcs.asm: Likewise.
+
+2002-01-10  Dale Johannesen  <dalej@apple.com>
+
+       PR optimization/5269
+       * unroll.c (precondition_loop_p): Make *increment be the correct
+       sign when n_iterations known, to avoid confusing caller.
+
+2002-01-10  Kazu Hirata  <kazu@hxi.com>
+
+       * doc/extend.texi (deprecated): Fix a typo.
+
+Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * basic-block.h (update_br_prob_note): Declare.
+       * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
+       (try_forward_edges): Care negative frequencies and update note.
+       (outgoing_edges_match): Tweek conditional merging heuristics.
+       (try_crossjump_to_edge): use update_br_prob_note.
+       * cfglayout.c (fixup_reorder_chain): Likewise.
+       * cfrtl.c (update_br_prob_note): New.
+       * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
+
+       * i386.c (ix86_decompose_address): Return -1 if address contains
+       shift.
+       (legitimate_address_p): Require ix86_decompose_address to return 1.
+
+       * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
+       (cprop_insn): Likewise.
+
+2002-01-10  Kazu Hirata  <kazu@hxi.com>
+
+       * toplev.c: Fix formatting.
+       * tree.c: Likewise.
+       * tree-dump.c: Likewise.
+       * unroll.c: Likewise.
+       * unwind-dw2.c: Likewise.
+       * unwind-dw2-fde.c: Likewise.
+       * unwind-dw2-fde-glibc.c: Likewise.
+       * unwind-sjlj.c: Likewise.
+
+2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/invoke.texi: Document PDP-11 options.
+
+2002-01-10  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.h: Fix formatting.
+
+2001-01-10  Ira Ruben  <ira@apple.com>
+
+       Add __attribute__ ((deprecated)).
+       * extend.texi: Document __attribute__ ((deprecated)).
+       * invoke.texi: Document -Wno-deprecated-declarations.
+       * testsuite/g++.dg/other/deprecated.C: New C++ test.
+       * testsuite/gcc.dg/deprecated.c: New C test.
+       * attribs.c (enum attrs): Declare handle_deprecated_attribute().
+       (c_common_attribute_table): Add "deprecated" entry.
+       (handle_deprecated_attribute): New function.
+       * c-decl.c (deprecated_states): New enum.
+       deprecated_state: State of "deprecated" handling.
+       (start_decl): Set deprecated_state based on attributes.
+       (grokdeclarator): Test for deprecated uses, propagate attribute.
+       * c-typeck.c (build_component_ref): Test for deprecated fields.
+       (build_external_ref): Test for deprecated primaries.
+       * diagnostic.c (warn_deprecated_use) New function to issue
+       warnings about __attribute__ ((depricated)) references.
+       * flags.h (warn_deprecated_decl): Extern declared for
+       -W[no-]deprecated-declarations option.
+       * print-tree.c (print_node): Show deprecated flag status.
+       * toplev.c (warn_deprecated_decl): Defined.
+       (W_options): Added "deprecated-declaration".
+       * toplev.h (warn_deprecated_use): Extern declared.
+       * tree.h (struct tree_common): Define deprecated_flag.
+       (TREE_DEPRECATED): New macro to access flag.
+       * cp/call.c (build_call): Test for deprecated calls.
+       * cp/class.c (add_implicitly_declared_members): Set global
+       flag to tell grokdeclarator to not issue deprecated warnings.
+       * cp/cp-tree.h: Add extern for adding_implicit_members.
+       * cp/decl.c (deprecated_states): New enum.
+       (start_decl): Set deprecated_state based on attributes.
+       (grokdeclarator): Test for deprecated uses, propagate attribute.
+       * cp/lex.c (do_identifier): Test for deprecated primaries.
+       * cp/typeck.c (build_component_ref): Test for deprecated fields.
+
+2001-01-10  Ira Ruben  <ira@apple.com>
+
+       Fix to assign attributes to inline member functions.
+       * cp/decl.c (start_method): Handle attrlist.
+
+2002-01-10  Kazu Hirata  <kazu@hxi.com>
+
+       * combine.c (expand_field_assignment): Use subreg_lsb().
+
 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
 
        * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
@@ -52,7 +187,7 @@ Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
 2002-01-20  Graham Stott  <grahams@redhat.com>
 
        * dwarf2out.c (indirect_string_alloc, output_indirect_string):
-        Move prototype into DWARF2_DEBUGGING_INFO conditional block. 
+        Move prototype into DWARF2_DEBUGGING_INFO conditional block.
 
 2002-01-10  Richard Henderson  <rth@redhat.com>