OSDN Git Service

Daily bump.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index c8d660c..75937f9 100644 (file)
@@ -1,3 +1,324 @@
+2001-10-17  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * config.gcc: Update c4x and i370 for C front end-specific
+       dependencies.
+       * config/c4x/c4x-c.c: New.
+       * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
+       (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
+       New declarations.
+       * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
+       (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
+       Make extern.
+       (c4x_init_pragma): Remove.
+       (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
+       c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
+       c4x_pr_ignored): Move to c4x-c.c.
+       * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
+       * config/c4x/t-c4x: Update.
+       * config/i370/i370-c.c: New.
+       * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
+       (i370_pr_map): Move to i370-c.c.
+       * config/i370/t-i370: New.      
+
+       * doc/tm.texi: Update.
+
+2001-10-17  Stan Shebs  <shebs@apple.com>
+
+       * config/rs6000/rs6000.c: Make assorted mechanical formatting and
+       typo fixes throughout.
+       (machopic_output_stub): Remove some dead code.
+
+2001-10-17  Richard Earnshaw <rearnsha@arm.com>
+
+       * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
+       leak.
+
+Wed Oct 17 05:26:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * Makefile.in (print-rtl.o): Depend on TREE_H.
+       * alias.c (get_alias_set): Make two passes over objects to first
+       see if inner object is access via restricted pointer.
+       Defer allocating alias set for restricted pointer until here.
+       Call find_placeholder with second arg nonzero.
+       Minor cleanups.
+       * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
+       set for restricted pointer types.
+       * emit-rtl.c (set_mem_attributes): Set more attributes.
+       (set_mem_align, change_address, adjust_address_1): New functions.
+       (change_address_1): Now static.
+       (adjust_address, adjust_address_nv): Deleted.
+       (replace_equiv_address): Call change_address_1.
+       * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
+       (find_placeholder): Get starting point from PLIST arg.
+       (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
+       * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
+       (adjust_address, adjust_address_nv): New macros.
+       * print-rtl.c (tree.h): New include.
+       (print_rtx, case MEM): Print all memory attributes.
+
+2001-10-17  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
+
+2001-10-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
+
+       * c-tree.texi: Eliminate duplicated word.
+       * cpp.texi: Likewise.
+       * install.texi: Likewise.
+       * invoke.texi: Likewise.
+       * tm.texi: Likewise.
+
+2001-10-17  Michael Collison  <collison@isisinc.net>
+
+       * dsp16xx.c: Fix comment formatting to match GNU standards.
+       (dsp16xx_output_function_prologue): Change type of 'size' 
+       parameter from 'int' to HOST_WIDE_INT.
+       (dsp16xx_output_function_epilogue): Change type of 'size'
+       parameter from 'int' to HOST_WIDE_INT.
+
+2001-10-16  Richard Henderson  <rth@redhat.com>
+
+       * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
+       * configure, config.in: Rebuild.
+
+       * config/i386/i386.c (ix86_output_addr_vec_elt): New.
+       (ix86_output_addr_diff_elt): New.
+       * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
+       (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
+       (JUMP_TABLES_IN_TEXT_SECTION): New.
+       * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
+       * config/i386/i386-protos.h: Update.
+
+       * config/i386/386bsd.h, config/i386/beos-elf.h,
+       config/i386/freebsd-aout.h, config/i386/freebsd.h,
+       config/i386/i386-interix.h, config/i386/i386elf.h,
+       config/i386/linux.h, config/i386/netbsd-elf.h,
+       config/i386/netbsd.h, config/i386/openbsd.h,
+       config/i386/ptx4-i.h, config/i386/rtemself.h,
+       config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
+       (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
+
+2001-10-16  Florian Weimer  <fw@deneb.enyo.de>
+
+       * stmt.c (expand_asm_operands): Update commentary.
+
+2001-10-16  Stan Shebs  <shebs@apple.com>
+
+       * config/darwin.h (GCC_NAME): Remove, no longer used.
+       (NO_MATH_LIBRARY): Ditto.
+       (MATH_LIBRARY): Define to emptiness.
+       (DWARF2_DEBUGGING_INFO): Define.
+       (PREFERRED_DEBUGGING_TYPE): Define.
+       (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
+       (EXCEPTION_SECTION): Define.
+       (ASM_PREFERRED_EH_DATA_FORMAT): Define.
+       * config/darwin.c (darwin_encode_section_info): Handle case of
+       DECL_INITIAL being error_mark_node.
+
+2001-10-16  Richard Henderson  <rth@redhat.com>
+
+       * alpha.c (current_file_function_operand): Don't fail for profiling.
+       (direct_call_operand): New.
+       * alpha-protos.h: Declare it.
+       * alpha.h (EXTRA_CONSTRAINT): Use it.
+       (PREDICATE_CODES): Add it.
+       (ASM_OUTPUT_MI_THUNK): Remove.
+       * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
+       * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
+
+2001-10-16  Krister Walfridsson  <cato@df.lth.se>
+       * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
+       (JUMP_TABLES_IN_TEXT_SECTION): Define.
+
+Wed Oct 17 00:21:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * cfg.c (free_edge): Break out from ....
+       (remove_edge): ... here.
+       (clear_edges): Use free_edge.
+
+       * att.h (ASM_QUAD): Add comment.
+       * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
+
+Wed Oct 17 00:01:02 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (split_ti): New function.
+       (ix86_split_to_parts): Support TImodes.
+       * i386.h (VALID_INT_MODE_P): Add TImode.
+       * i386.md (movdi splitter): Fix.
+       (movti): Support 64bit integer registers.
+       (movti_rex64): New function and splitter.
+
+       * i386.c (*_cost): Add movsx/movzx cost.
+       * i386.h (struct processor_costs): Add movsx/movzx fields.
+       (RTX_COSTS): Handle zero/sign extend + avoid believing that
+       64bit operations require split on 64bit machine.
+       (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
+
+       * i386.c (ix86_setup_incomming_varargs): Fix mode of PLUS.
+       (ix86_expand_move): Avoid pushes of memory if size does not match;
+       move long constants to register.
+       (x86_initialize_trampoline): Fix mode.
+       * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
+       Use ASM_QUAD on 64bit.
+       * i386.md (test pattern): Disallow impossible constants.
+       (tablejump PIC expander): Fix emitting of sum.
+       (movdicc_rex64): Rename to movdicc.
+       * linux64.h (LINK_SPEC): Add missing '%'.
+
+2001-10-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * tree-inline.c (inlinable_function_p): Leave it up to the
+       front-end to turn -finline-functions into DECL_INLINE set for all
+       functions.
+
+2001-10-16  Stan Shebs  <shebs@apple.com>
+
+       * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
+
+2001-10-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * recog.c: Formatting and comment typo fixes.
+
+       * configure.in (gcc_cv_as_bfd_srcdir): New.  Use it to find gas
+       version in single tree build.
+       * configure: Regenerate.
+
+2001-10-15  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
+       MODE arguments to gen_rtx and compare operand with const0_rtx.
+
+2001-10-15  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * system.h: Poison old unused target macros.
+       * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
+       * config/stormy16/stormy16.c: Update references to obsolete macros.
+       * config/stormy16/stormy16.h: Similarly.
+       * config/stormy16/stormy16.md: Similarly.
+       * config/cris/cris.h: Similarly.
+
+2001-10-15  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cpplib.c (struct pragma_entry): Store the name as a hashnode.
+       (lookup_pragma_entry, insert_pragma_entry, do_pragma,
+       cpp_register_pragma): Update accordingly.
+
+2001-10-14  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * c-pragma.h (cpp_register_pragma_space): Remove.
+       * cpplib.h (cpp_register_pragma_space): Remove.
+       * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
+       (cpp_register_pragma_space): Remove.
+       (cpp_register_pragma): Simplify using lookup_pragma_entry,
+       add sanity checks.
+       (do_pragma): Similarly.
+       (_cpp_init_internal_pragmas): Don't register namespaces.
+
+       * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
+       Don't register namespaces.
+       * cp/lex.c (init_cp_pragma): Similarly.
+       * doc/tm.texi: Update.
+
+2001-10-10  Craig Rodrigues  <rodrigc@gcc.gnu.org>
+
+       PR c/4157
+       * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
+
+2001-10-13  Michael Collison  <collison@dhcp-12-114.townisp.com>
+
+       * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and 
+       add scheduling support.
+       * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
+       * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
+       * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
+
+
+2001-10-13  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
+       missing CONSTANT_P test in core GCC.
+
+2001-10-12  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppmain.c (struct printer): New member source.
+       (scan_translation_unit): Fix spacing at start of lines.
+       (cb_line_change): Update.
+
+       * gcc.dg/cpp/spacing2.c: New test.
+
+2001-10-12  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/arit.c: Use __builtin_labs, not abs.
+
+       * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
+
+       * config/cris/cris.c (cris_target_asm_function_epilogue): Move
+       misplaced sprintf and fprintf argument.
+
+2001-10-12  Zack Weinberg  <zack@codesourcery.com>
+
+       * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
+       * configure.in, Makefile.in: Take out obsolete check-po logic.
+       * configure, config.in: Regenerate.
+
+2001-10-12  Ziemowit Laski  <zlaski@apple.com>
+
+       * objc/objc-act.c (finish_objc): Correct precondition for emitting
+       symtab declarations.
+
+2001-10-12  Stan Shebs  <shebs@apple.com>
+
+       * config/rs6000/rs6000.c: Remove uses of "register" specifier in
+       declarations of arguments and local variables.
+
+2001-10-12  Christopher Faylor  <cgf@redhat.com>
+
+       * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
+       ENDFILE_SPEC definition.
+
+2001-10-12  Kazu Hirata  <kazu@hxi.com>
+
+       * gthr-dce.h: Fix comment formatting.
+       * gthr-posix.h: Likewise.
+       * gthr-single.h: Likewise.
+       * gthr-solaris.h: Likewise.
+       * gthr-vxworks.h: Likewise.
+       * gthr-win32.h: Likewise.
+
+2001-10-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * final.c (output_asm_insn): Make sure assembly dialects are
+       terminated, not nested.  Output `|' and `}' characters if they
+       don't appear inside assembly dialect selection.
+       * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
+       rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
+       rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
+       strsetsi_rex_1): Add {} braces.
+
+2001-10-11  Zack Weinberg  <zack@codesourcery.com>
+
+       * toplev.c (compile_file): Ignore return value from yyparse.
+       Always pop any nested binding levels after yyparse returns.
+
+2001-10-11  Richard Henderson  <rth@redhat.com>
+
+       * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
+
+2001-10-11  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
+       fall back to add_AT_long_long for large CONST_INT.
+
+2001-10-11  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/i386.md (setcc splitters): Add four splitters to
+       simplify compound compares that simplify_comparison can't handle.
+
+2001-10-11  Zack Weinberg  <zack@codesourcery.com>
+
+       * cpplex.c (digraph_spellings, token_spellings): Make static.
+
 2001-10-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
        * unroll.c (loop_iterations): Fixup last patch.