OSDN Git Service

* c-typeck.c (set_init_index): If first is equal to last, assume as
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index d3c77b4..d82c6c9 100644 (file)
@@ -1,6 +1,345 @@
+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
+       they didn't need fixing.
+
+2001-01-27  Janis Johnson <janis@us.ibm.com>
+
+       * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
+       if appropriate.
+       * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
+       to remove macro definitions that are duplicated from elfos.h.
+
+2001-01-27  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/sco5gas.h: Move ...
+       * config/usegas.h: ... here.
+       * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
+
+2001-01-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-typeck.c (struct constructor_stack): Add range_stack member.
+       (really_start_incremental_init): Clear it.
+       (push_init_level): Save constructor_range_stack and clear it if
+       pushing explicit braces.
+       (pop_init_level): abort if constructor_range_stack is non-zero at
+       explicit closing brace.  Restore saved constructor_range_stack if
+       not implicit.
+
+2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
+       into register was forced into memory.
+
+2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Makefile.in: Remove uses of + before $(MAKE).
+
+2001-01-26  Richard Henderson  <rth@redhat.com>
+
+       * stmt.c (cost_table): Remove.
+       (COST_TABLE, cost_table_initialized): New.
+       (estimate_case_costs): Use the later instead of the former.
+       (balance_case_nodes): Likewise.
+
+2001-01-26  Richard Henderson  <rth@redhat.com>
+
+       * alias.c (objects_must_conflict_p): Read-only slots may not
+       conflict despite having the same type.
+
+2001-01-27  Michael Hayes  <mhayes@redhat.com>
+
+       * loop.c (loop_giv_reduce_benefit): Copy mode size into
+       int variable.
+       (check_ext_dependant_givs): Initialise u_start_val and
+       u_end_val.
+       (load_mems): Make last_max_reg unsigned.
+       (try_swap_copy_prop): Use INSN_P and initialise set.
+
+Fri Jan 26 23:22:58 2001  Denis Chertykov  <denisc@overta.ru>
+
+       * README.AVR : Removed.
+
+Fri Jan 26 11:37:26 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * pa-64.h (text_section): Remove declaration.
+
+       * pa.md (return_internal): Remove mode on PIC register use.
+
+2001-01-25  lars brinkhoff  <lars@nocrew.org>
+
+       * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
+       ASM_CLOSE_PAREN): fix typos.
+
+2001-01-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * acconfig.h: Define `const' to the empty string if neither
+       __STDC__ nor __cplusplus is defined.
+       * config.in: Regenerated.
+
+2001-01-25  David Edelsohn  <edelsohn@gnu.org>
+
+       * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
+       * collect2.c (main): Delete importf.  Add ".obj" file extension.
+       (GCC_CHECK_HDR): Handle AIX V5 new magic number.
+       (aix_std_libs): Add additional AIX libraries to skip.
+       * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
+       * config/rs6000/aix51.h: New file.
+
+2001-01-25  Michael Hayes  <mhayes@redhat.com>
+
+       * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
+       (loop_insn_emit_before): No longer static.
+       (move_movables): Replace emit_insn_after with loop_insn_emit_after.
+       (loop_givs_rescan, load_mems): Likewise.
+       (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
+       (maybe_eliminate_biv_1):
+       (move_movables): Replace emit_call_insn_before with
+       loop_call_insn_hoist.
+       * loop.h (loop_insn_emit_before): Add.
+       * unroll.c (copy_loop_body): Replace emit_insn_before with 
+       loop_insn_emit_before.
+
 2001-01-25  Neil Booth  <neil@daikokuya.demon.co.uk>
 
-        * diagnostic.c (fatal): Request preprocessed source.
+       * diagnostic.c (fatal): Request preprocessed source.
 
 Thu Jan 25 02:01:16 2001  J"orn Rennecke <amylaar@redhat.com>
 
@@ -66,7 +405,7 @@ Wed Jan 24 23:51:55 2001  J"orn Rennecke <amylaar@redhat.com>
 
 2001-01-24  Roger Collins <roger@ProProject.com>
 
-        * config/i386/xm-i386.h: Make __i386__ a boolean macro.
+       * config/i386/xm-i386.h: Make __i386__ a boolean macro.
 
 2001-01-24  Will Cohen  <wcohen@redhat.com>
 
@@ -137,7 +476,7 @@ Wed Jan 24 23:51:55 2001  J"orn Rennecke <amylaar@redhat.com>
 
 2001-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
 
-        * c-lex.c (lex_charconst): Fix typo: s/p/str.
+       * c-lex.c (lex_charconst): Fix typo: s/p/str.
 
 2001-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
@@ -158,9 +497,9 @@ Wed Jan 24 23:51:55 2001  J"orn Rennecke <amylaar@redhat.com>
 2001-01-23  Chris Demetriou  <cgd@sibyte.com>
            Neil Booth  <neil@daikokuya.demon.co.uk>
 
-        * cpperror.c: Merge handlers of PEDWARN and WARNING.
-        Have -Werror make pedantic warnings errors, like the
-        rest of GCC.
+       * cpperror.c: Merge handlers of PEDWARN and WARNING.
+       Have -Werror make pedantic warnings errors, like the
+       rest of GCC.
 
 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
 
@@ -261,8 +600,8 @@ Mon Jan 22 16:53:06 2001  J"orn Rennecke <amylaar@redhat.com>
 
 2001-01-22  Alan Modra <alan@linuxcare.com.au>
 
-        * cppexp.c (parse_charconst):  Change `mask' type to agree
-        with parse_escape.
+       * cppexp.c (parse_charconst):  Change `mask' type to agree
+       with parse_escape.
 
 2001-01-21  Richard Henderson  <rth@redhat.com>
 
@@ -339,8 +678,8 @@ Sat Jan 20 12:46:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
 2001-01-20  Neil Booth  <neil@daikokuya.demon.co.uk>
 
-        * cppmacro.c (funlike_invocation_p): Don't move back up to the
-        context of the top of the stack.
+       * cppmacro.c (funlike_invocation_p): Don't move back up to the
+       context of the top of the stack.
 
 2001-01-20  Jakub Jelinek  <jakub@redhat.com>