OSDN Git Service

* toplev.c: Don't declare environ (it's not used anywhere).
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 426d2db..d6061ff 100644 (file)
@@ -1,3 +1,324 @@
+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,
+       POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
+       (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
+       Recurse for any operand of AND as long as constant is non-zero.
+
+2002-01-10  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.md: Remove constraints from expanders.
+
+2002-01-10  Kazu Hirata  <kazu@hxi.com>
+
+       * varasm.c: Fix formatting.
+       * varray.c: Likewise.
+       * vmsdbgout.c: Likewise.
+       * xcoffout.c: Likewise.
+
+Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
+        update edge probabilities to match.
+
+2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
+       dependencies.
+       * doc/languages.texi, doc/sourcebuild.texi: New files.
+       * doc/configfiles.texi: Make a subsubsection.  Update.
+       * doc/configterms.texi: Add @node.  Remove warning that this isn't
+       instructions for building GCC.
+       * doc/makefile.texi: Make a subsection.
+       * doc/gccint.texi: Update.
+
+Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (sse_mov?fcc_const0_?): Fix constraints.
+
+Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
+
+       * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
+
+Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * optabs.c (expand_fix): Look for wider integer modes first.
+
+       * i386.md (mov?f): Avoid the fake const double trick for medium
+       memory model.
+       (min?f*/max?f*): Prohibit memory operands for i387 variant.
+       (fop_df_4): Disable for SSE compilation.
+
+2002-01-20  Graham Stott  <grahams@redhat.com>
+
+       * dwarf2out.c (indirect_string_alloc, output_indirect_string):
+        Move prototype into DWARF2_DEBUGGING_INFO conditional block.
+
+2002-01-10  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
+
+2002-01-10  Richard Henderson  <rth@redhat.com>
+
+       * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
+       (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
+
+2002-01-10  Kazu Hirata  <kazu@hxi.com>
+
+       * combine.c (can_combine_p): Fix a comment typo.
+
+2002-01-09  Zack Weinberg  <zack@codesourcery.com>
+
+       * Makefile.in (s-gencheck, s-options, s-specs): Handle an
+       empty list correctly.  Change loop index $t to $f for
+       consistency with rest of Makefile.
+
+2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
+
+       * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
+       mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
+
+       * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
+       mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
+       (altivec_init_builtins): Same.
+       (altivec_expand_unop_builtin): Return NULL_RTX on error.
+       (altivec_expand_binop_builtin): Same.
+       (altivec_expand_ternop_builtin): Same.
+       (bdesc_dst): New.
+
+       * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
+       ("altivec_vctuxs"): Fix typo.
+       ("altivec_vnmsubfp"): Same.
+       ("altivec_dssall"): New.
+       ("altivec_mfvscr"): New.
+       ("altivec_dss"): New.
+       ("altivec_lvsl"): New.
+       ("altivec_lvsr"): New.
+       ("altivec_dstt"): New.
+       ("altivec_dstst"): New.
+       ("altivec_dststt"): New.
+       ("altivec_dst"): New.
+
+       * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
+       mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
+
+2002-01-09  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
+
+2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
+       function.
+       * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
+       prototype.
+       * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
+
+2002-01-09  Kazu Hirata  <kazu@hxi.com>
+
+       * read-rtl.c: Fix formatting.
+       * real.c: Likewise.
+       * regclass.c: Likewise.
+       * regrename.c: Likewise.
+       * reg-stack.c: Likewise.
+       * reload1.c: Likewise.
+       * reload.c: Likewise.
+       * rtl.c: Likewise.
+
+2002-01-09  Kazu Hirata  <kazu@hxi.com>
+
+       * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
+       to extract items in the expr_list chain.
+
+2002-01-09  Richard Henderson  <rth@redhat.com>
+
+       * config/vax/vax.c (vax_rtx_cost): Never abort.
+
+       * config/vax/vax.h (REAL_ARITHMETIC): Define.
+
+2002-01-09  Jan Hubicka  <jh@suse.cz>
+
+       * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
+
+2002-01-09  Richard Henderson  <rth@redhat.com>
+
+       * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
+       Unify code from various alternatives.
+
+2002-01-09  Richard Henderson  <rth@redhat.com>
+
+       * regrename.c (copy_value): Ignore the copy if the source register
+       is present in the value chain with a narrower mode.
+
+2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
+
+        * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
+        for the c4x target. Also improve layout.
+
+2002-01-09  Richard Henderson  <rth@redhat.com>
+
+       * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
+       * config/m32r/m32r.md (and ior xor splitters): Swap operands
+       to match insn patterns.
+
+2002-01-09  Richard Henderson  <rth@redhat.com>
+
+       * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
+       (copyprop_hardreg_forward_1): Likewise.
+
+2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa.md (decrement_and_branch_until_zero): Change predicate for
+       operand 0 from register_operand to reg_or_nonsymb_mem_operand.
+
+2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
+       gets undefined. For Darwin.
+
+2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
+
+       * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
+
+2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
+
 2002-01-08  Richard Henderson  <rth@redhat.com>
 
        * regrename.c (copy_value): Ignore overlapping copies.