OSDN Git Service

* c-typeck.c (set_init_index): If first is equal to last, assume as
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 739d967..d82c6c9 100644 (file)
@@ -1,3 +1,240 @@
+2001-01-31  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-typeck.c (set_init_index): If first is equal to last, assume as
+       if it was not a range at all.
+
+2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/fp-bit.c: Include tm.h.
+       (float_to_si): Don't assume SImode is 32-bits wide.
+       (float_to_usi): Likewise.
+
+2001-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
+       incomplete type.
+       (typename): Call pending_xref_error after parsing typed_typespecs.
+       * c-decl.c (lookup_tag): Give error immediately rather than
+       leaving it pending if the tag of the wrong type is in the same
+       binding level.
+       (xref_tag): Don't pedwarn for forward declarations of enum types
+       here.
+       * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
+       and enum tags.
+
+2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
+
+2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
+        (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
+
+2001-01-31  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * cpphash.h (struct cpp_reader): New saved_flags.
+        * cppmacro.c (cpp_get_token): Use saved_flags to remember
+        to avoid a paste after a pasted token.
+         
+2001-01-31  Alexandre Oliva  <aoliva@redhat.com>
+
+       * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
+       * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
+       Wtype_MIN instead of LONG_MIN.
+
+2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
+
+       * fixinc/fixincl.tpl: Add 2001 to copyright.  Change name of
+       README file.
+       * fixinc/fixincl.x: Regenerated.
+       * fixinc/inclhack.def (irix_limits_const): New definition to
+       convert "const" to "__const" in limits.h.
+
+2001-01-30  Jeffrey Oldham  <oldham@codesourcery.com>
+
+       * fixinc/genfixes (AG): Fix "autogen4" thinko.
+
+2001-01-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
+
+       * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
+       when register dies in the insn.
+
+2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * diagnostic.c (fatal): Fix word wrap.
+
+2001-01-30  Alexandre Oliva  <aoliva@redhat.com>
+
+       * combine.c (try_combine): Fix SUBREG setting for
+       HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
+
+2001-01-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
+       comparison codes.
+
+2001-01-30  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
+        is not NULL.
+        * toplev.c (decode_W_option): Update warn_larger_than
+        unconditionally for each processed switch.
+
+2001-01-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
+       to NULL_RTX.
+       (hppa_expand_prologue): Delete code to save pic offset table register
+       in the function prologue.
+       * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
+       * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
+       table register at the beginning of the function after the prologue.
+
+2001-01-29  lars brinkhoff  <lars@nocrew.org>
+
+        * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
+
+2001-01-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+           Jeff Law <law@redhat.com>
+
+       * pa.md (return): Revise comment for trivial return.
+       (return_internal): Non-trivial return pattern for non-PIC code.
+       (return_internal_pic): Non-trivial return pattern for PIC code.
+       It uses the PIC register to ensure it is restored after
+       function calls.
+       (epilogue): Generate appropriate return for PIC and non-PIC code.
+
+Mon Jan 29 23:53:14 2001  Christopher Faylor <cgf@cygnus.com>
+
+       * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
+
+2001-01-29  DJ Delorie  <dj@redhat.com>
+
+       * combine.c (if_then_else_cond): Pass the correct mode to
+       operand_subword() for constants.
+
+Mon Jan 29 20:38:19 2001  Christopher Faylor <cgf@cygnus.com>
+
+       * config/i386/cygwin.h: Add w32api to include search.  Search different
+       directories in a cross-build environment.
+
+2001-11-29  Tim Josling  <tej@melbpc.org.au>
+
+       * tree.h (TYPE_STUB_DECL): Add documentation.
+
+2001-11-29  Laurynas Biveinis  <lauras@softhome.net>
+
+       * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
+       (sdbout_field_types): Likwise.  Fix use of host_integerp.
+
+2001-01-29  Thomas Pfaff  <tpfaff@gmx.net>
+
+       * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
+       cygwin.h.
+
+2001-01-29  Jeffrey Oldham  <oldham@codesourcery.com>
+
+       * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
+       to use flag_gnu_linker.
+
+2001-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * cpplib.c (T_BAD_DIRECTIVE): Remove.
+        (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
+
+2001-01-29  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * tree.c, tree.h (build_parse_node): Remove; was identical to
+       build_nt.
+       * c-lang.c (start_cdtor), objc/objc-act.c
+       (build_module_descriptor): Use build_nt instead of
+       build_parse_node.
+
+2001-01-29  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
+       (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
+       not have any upper bits set.
+
+2001-01-29  Phil Edwards  <pme@sources.redhat.com>
+
+       * COPYING.LIB:  Update to LGPL 2.1 from the FSF.
+
+2001-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * stmt.c (estimate_case_costs): Use integer_minus_one_node.
+
+       * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
+
+       * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
+       (integer_minus_one_node): Define.
+
+2001-01-28  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Makefile.in (bootstrap2-lean): Fix typo.
+
+2001-01-28  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
+        : Don't set fe_value.
+        * cpplib.h (AVOID_LPASTE): New flag. 
+        (struct cpp_hashnode): Remove fe_value.
+        * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
+        * cppmacro.c (builtin_macro): Don't set flags here.
+        (replace_args): Set AVOID_LPASTE flag on first token of an
+        argument, and the token following it.
+        (cpp_get_token): Set AVOID_LPASTE flag on first token of a
+        macro expansion, and on the token following it.  Do it for
+        builtins too.
+        * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
+
+2001-01-27  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/t-ieee: Remove multilibbing.
+       (TARGET_LIBGCC2_CFLAGS): Add -mieee.
+
+2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
+
+       * Makefile.in: Remove all dependencies on defaults.h.
+       * builtins.c: Don't include defaults.h.
+       * c-common.c: Likewise.
+       * c-decl.c: Likewise.
+       * c-pragma.c: Likewise.
+       * c-typeck.c: Likewise.
+       * combine.c: Likewise.
+       * i386.c: Likewise.
+       * frame-ia64.c: Likewise.
+       * cppexp.c: Likewise.
+       * crtstuff.c: Likewise.
+       * dbxout.c: Likewise.
+       * dwarf2out.c: Likewise.
+       * dwarfout.c: Likewise.
+       * emit-rtl.c: Likewise.
+       * except.c: Likewise.
+       * expr.c: Likewise.
+       * final.c: Likewise.
+       * frame-dwarf2.c: Likewise.
+       * libgcc2.c: Likewise.
+       * optabs.c: Likewise.
+       * profile.c: Likewise.
+       * sdbout.c: Likewise.
+       * toplev.c: Likewise.
+       * tradcif.y: Likewise.
+       * tree.c: Likewise.
+       * varasm.c: Likewise.
+
+2001-01-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * builtins.c (expand_builtin_fputs): Use size_one_node when
+       transforming into fwrite.
+
+2001-01-27  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * extend.texi (Attribute Syntax): New section.
+
 2001-01-27  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
 
        * fixproto: Correctly install synthesised unistd.h and stdlib.h when