OSDN Git Service

* COPYING: Update to current
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 36eac60..adbd02c 100644 (file)
@@ -1,3 +1,428 @@
+2000-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * COPYING: Update to current
+       ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
+       to 19yy as example year in copyright notice).
+
+2000-12-18  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * c-lex.c (cb_file_change): Treat in_system_header as strictly
+       boolean (0 or 1).
+
+2000-12-18  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * cppmain.c: Update print.lineno with -P.
+
+2000-12-18  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * c-lex.c: s/change_file/file_change.
+        * cpplib.h: Similarly.
+        * cppmain.c: Similarly.
+        * fix-header.c: Similarly.
+        * cppfiles.c (stack_include_file): Pass the buffer location and
+        size to cpp_push_buffer.  Generate the file_change callback,
+        so that sysp is already set.
+        * cpphash.h: Add _cpp_do_file_change.
+        * cpplib.c (do_line): Set buffer->sysp directly. Generate the
+        file_change callback after setting sysp.
+        (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
+        here.
+        (cpp_push_buffer): Don't generate a callback.  Clear sysp.
+        (cpp_pop_buffer): Clean up logic.
+
+2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * configure.in (gcc_gxx_include_dir): Simplify.
+       (libstdcxx_incdir): Export.
+       * configure: Regenerate.
+       * Makefile.in (PREPROCESSOR_DEFINES): Add in
+       GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
+       (libstdcxx_incdir): Add.
+       * cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.
+
+2000-12-18  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * c-lex.c (lex_lineno): Remove.
+        (init_c_lex, c_lex): Remove lex_lineno.
+        (cb_change_file): Update lineno correctly, both before calling
+        push_srcloc and before leaving the function.
+        (cb_def_pragma): Set lineno before outputting diagnostics.
+
+Sun Dec 17 18:45:41 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
+       Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE.
+       Use print_node_brief to print bounds.
+
+2000-12-17  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * cpplib.h (struct cpp_reader): Remove references to string_pool
+        and temp_string_pool.
+        * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
+        ident_pool in place.
+        * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
+        save_comment, cpp_token_as_text): Similarly.
+        * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
+        * cppmacro.c (make_number_token, builtin_macro, lock_pools,
+        unlock_pools, stringify_arg, paste_tokens): Similarly.
+
+Sun Dec 17 12:41:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
+       (loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
+       (loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.
+
+2000-12-17  Richard Earnshaw  <rearnsha@arm.com>
+
+       * Makefile.in (check-po): Use $(MAKE).
+       (risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.
+
+2000-12-17  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * cppmain.c (check_multiline_token): New function.
+        (scan_buffer): Use it.
+        (cb_change_file): Restructure to avoid warning.
+        * cpperror.c (print_location): Initialize col.
+
+2000-12-14  Philipp Thomas  <pthomas@suse.de>
+
+       * protoize.c (main): Correctly set locale categories.
+       * gcc.c (main): Likewise.
+       * cppmain.c (general_init): Likewise.
+       * toplev.c (main): Likewise.
+       * gcov.c (main): Likewise.
+       * collect2.c (main): Likewise.
+
+2000-12-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * c-common.c (c_common_nodes_and_builtins): Create a
+       cstring_endlink, use it.  Rename int_ftype_string_string to
+       int_ftype_cstring_cstring, string_ftype_string_int to
+       string_ftype_cstring_int, and string_ftype_string_string to
+       string_ftype_cstring_cstring.  Prefer sizetype_endlink and
+       int_endlink to manually recreating them.  Fix the prototype
+       set for __builtin_strspn/__builtin_strcspn.
+
+2000-12-12  Marek Michalkiewicz  <marekm@linux.org.pl>
+
+       * config/avr/avr.c (out_set_stack_ptr): Update comment.
+       (print_operand): Add support for %~ and %o.
+
+2000-12-17 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
+
+       * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
+
+2000-12-17  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
+        * cpperror.c (print_containing_files): Get right line number.
+        (print_location): Output column of 1 if 0.
+        * cppfiles.c (stack_include_file): cpp_push_buffer handles
+        the callback.
+        * cpphash.h (_cpp_do_file_change): No longer external.
+        * cpplib.c (do_file_change): Now local to cpplib.c.
+        (do_line): Fake a buffer stack for preprocessed files.
+        (cpp_push_buffer): Create a file_change callback.  Handle faked
+        buffers.
+        (cpp_pop_buffer): Similarly.
+        * cpplib.h: BUF_FAKE: New buffer type.
+        * cppmain.c: Update to handle correct file renaming where a
+        #line is the first line of the main file, and produce only
+        the renamed file, not the original file, as output.
+
+2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * config/c4x/c4x.md: Remove redundant @s from output patterns.
+
+2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+            Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
+
+       * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
+
+       * config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.
+
+       * config/c4x/c4x.c (c4x_init_pragma): New function.
+       (c_lex_func): New variable.
+       (c4x_parse_pragma): Use c_lex_func.
+
+2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+            Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
+
+       * config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
+         to c4x_init_builtins.
+
+       * config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.
+
+       * config/c4x/c4x.c (c4x_init_builtins): Add tree argument.      
+       (c4x_output_ascii):  Fix.
+       
+2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+            Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
+
+       * config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define.
+
+       * config/c4x/c4x-protos.h (c4x_init_builtins): New prototype.
+       (c4x_expand_builtin): Likewise.
+
+       * config/c4x/c4x.c (c4x_init_builtins): New function.
+       (c4x_expand_builtin): Likewise.
+
+       * config/c4x/c4x.md (floatunsqihf2): New pattern.
+       (*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise.
+       (fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise.
+       (*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise.
+       (*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise.
+
+2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+       
+       * libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
+       * libgcc2.c (__absvsi2): Use Wtype and DWtype.
+       (__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
+       (__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.
+
+2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
+       statement in do/while(0).
+
+Sat Dec 16 19:56:24 MET 2000  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
+       lshrhi3_cmpno): Remove redundant '@' from the template.
+
+       * i386.md (cmpstrsi_1): Fix type of the compare.
+
+       * genattrtab.c (attr_rtx_cost): New function.
+       (simplify_test_exp): Avoid overactive inlining; use temporary
+       obstacks for tests.
+
+Sat Dec 16 10:41:11 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * diagnostic.c (finish_abort): Deleted.
+       (fatal): Add code from finish_abort.
+       (error_recursion, fancy_abort): Call fatal, not finish_abort.
+       (trim_filename): Remove leading "../".
+       * diagnostic.h (finish_abort): Deleted.
+       * toplev.c (crash_signal): Call fatal, not finish_abort.
+
+       * stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
+       as if size were variable.
+
+       * expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
+
+2000-12-16  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * tradcpp.c: T_WARNING: New.
+        (do_warning): New function.
+        (finclude): Skip past the newline and increase the line number
+        before calling output_line_command.
+        (do_line): Skip the new line after output_line_command.  Don't  
+        pre-decrement the line number.   
+
+2000-12-15  Diego Novillo  <dnovillo@redhat.com>
+
+       * i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
+       _GLOBAL_OFFSET_TABLE_ when using Intel syntax.
+
+2000-12-15  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.c (cpp_options): Pass -fno-operator-names.
+       * cpplib.h (struct cpp_options): Add operator_names.
+       * cppinit.c (cpp_create_reader): Initialize it.
+       (initialize_builtins): If -fno-operator-names, don't add
+       C++ alternate operator names.
+       (COMMAND_LINE_OPTIONS): Add -fno-operator-names.
+       (cpp_handle_option): Clear operator_names.
+
+2000-12-15  Jason Merrill  <jason@redhat.com>
+
+       * jump.c (jump_optimize_1): Don't delete the line note after the
+       prologue even if it seems redundant.
+
+       * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
+       on all insns used to adjust the stack.
+
+Fri Dec 15 15:32:16 MET 2000  Jan Hubicka  <jh@suse.cz>
+
+       * combine.c (cant_combine_insn_p): Get around SUBREGs when determining
+       hardreg<->reg moves.
+
+Fri Dec 15 14:48:37 MET 2000  Jan Hubicka  <jh@suse.cz>
+
+       * genrecog.c (add_to_sequence): Remove special case for
+       const_int_operand.
+       (maybe_both_true): Return 1 when falling out of sequence when
+       trying to find common possition in the pattern.
+
+Fri Dec 15 14:44:51 MET 2000  Jan Hubicka  <jh@suse.cz>
+
+       * integrate.c (copy_rtx_and_substitute): Copy mode too.
+
+Fri Dec 15 14:11:57 MET 2000  Jan Hubicka  <jh@suse.cz>
+
+       * flow.c (notice_stack_pointer_modification_1): Cleanup.
+
+2000-12-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       * function.c (adjust_trampoline_addr): New function.
+       (trampoline_address): Call it instead of round_trampoline_addr().
+       * tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.
+
+2000-12-14  Zack Weinberg  <zack@wolery.stanford.edu>
+
+       * cppfiles.c (hack_vms_include_specification): Delete function
+       (not used since 1998).
+
+Fri Dec 15 03:37:51 2000  J"orn Rennecke <amylaar@redhat.com>
+
+       * haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
+
+2000-12-14  Jim Wilson  <wilson@redhat.com>
+
+       * alias.c (get_alias_set): Call record_component_aliases for
+       COMPLEX_TYPE.
+       (record_component_aliases): Handle COMPLEX_TYPE.
+       
+2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * fixinc/gnu-regex.c: Disable NLS.
+
+2000-12-14  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap
+       comparison operands when that would create non-canonical rtl.
+
+       * config/i386/i386.md (umulsi3_highpart): Remove * from name.
+       (smulsi3_highpart): Likewise.
+
+2000-12-14  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * gcc.c (cpp_options): Add -remap.
+
+2000-12-14  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * gcc.c (cpp_options): Update to use '&'.
+       (struct switchstr): Change type of validated to save space.
+       New member 'ordering'.
+       (handle_braces, validate_switches): Update to handle '&'.       
+
+2000-12-13  Laurynas Biveinis  <lauras@softhome.net>
+
+        * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list
+        found in a header.
+        * fixinc/fixincl.x: regenerated.
+
+2000-12-13  DJ Delorie  <dj@redhat.com>
+
+       * config.gcc (cygwin, win32, mingw32): Use float-i386.h.
+
+2000-12-13  Tom Tromey  <tromey@redhat.com>
+
+       * gcc.c (handle_braces): Handle %{<S*} spec correctly.
+
+2000-12-13  Alexandre Oliva  <aoliva@redhat.com>
+
+       * function.c (assign_parms): Optimize incoming PARALLELs into
+       REGs if possible.
+
+2000-12-13  Bruce Korb  <bkorb@gnu.org>
+
+       * fixinc/Makefile.in(*): substantial rewrite to accommodate systems
+       that cannot handle bi-directional pipes, viz. BeOS and DOS.
+       * fixinc/fixlib.h(IGNORE_ARG): new macro
+       (STATIC): define for all of fixinc to use
+       * fixinc/fixfixes.c(*): eliminate unused arg warnings
+       * fixinc/fixtests.c(*): ditto
+       * fixinc/fixincl.c(start_fixer): chain_open now uses const arg list
+       * fixinc/gnu-regex.c: reorder some includes to avoid _GNU_SOURCE
+       warning.  Also, eliminate the ``#ifdef emacs'' stuff.
+       (re_syntax_options): make global as it is declared so.
+       * fixinc/mkfixinc.sh: process the argument list more consistently
+       (beos/msdosdjgpp): set TARGETS to twoprocess vs. oneprocess
+       * fixinc/procopen.c(globals): include "fixlib.h" for std defs
+       * fixinc/server.c(globals): ditto
+       * fixinc/server.h(defines): ditto
+
+2000-12-13  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * tradcpp.c (special_symbol): Improve test for definedness,
+        though it is still not perfect.
+        (do_define): Don't define illegal macro names.
+       
+2000-12-07  Aldy Hernandez  <aldyh@redhat.com>
+
+        * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits
+        if changing into .bss section.
+        * config/mips/elf64.h: same.
+        * config/mips/iris6.h: same.
+        * config/mips/netbsd.h: same.
+        * config/mips/openbsd.h: same.
+
+2000-12-13  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * cppfiles.c (read_name_map): Return null if open () fails.
+        (remap_filename): Simplify logic.  Add ICE if it doesn't work
+        as expected. Perform secondary lookup attempt on base filename
+        only.
+
+Wed Dec 13 19:48:04 MET 2000  Jan hubicka  <jh@suse.cz>
+
+       * flow.c (notice_stack_pointer_modification_1): Notice midifications
+       using PRE_MODIFY and POST_MODIFY.
+
+Wed Dec 13 17:25:32 MET 2000  Jan Hubicka  <jh@suse.cz>
+
+       * genoutput.c (process_template): Add sanity checking for '@' templates.
+
+2000-12-13  Bernd Schmidt  <bernds@redhat.co.uk>
+
+       * simplify-rtx.c (cselib_finish): Free reg_values and used_regs
+       varrays.
+
+2000-12-12  Mike Stump  <mrs@wrs.com>
+
+       * Makefile.in (distclean): Remove safe-ctype.c as well.
+
+2000-12-12  Brad Lucier <lucier@math.purdue.edu>
+
+        * tradcpp.c (do_error): Cast difference of pointers to int
+        for error message.
+
+2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
+       * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.
+
+2000-12-12  Jim Wilson  <wilson@redhat.com>
+
+       * rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.
+
+2000-12-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * configure.in: Simplify language enabling/disabling code.
+       * configure: Rebuilt.
+       * ch/config-lang.in (target_libs): Set.
+       (build_by_default): Set to no.
+       * cp/config-lang.in (target_libs): Set.
+       * f/config-lang.in (target_libs): Set.
+       * java/config-lang.in (target_libs): Set.
+       * objc/config-lang.in (target_libs): Set.
+
+2000-12-12  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * tradcpp.c (enum node_type): Add T_ERROR.
+        (do_error): New function.
+        (directive_table): Add #error handler.
+
+2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
+       for powerpc*-*-*.
+       * configure: Regenerated.
+       * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
+       * config/rs6000/rs6000.c (rs6000_unique_section): Use
+       STRIP_NAME_ENCODING.
+
 Mon Dec 11 13:51:09 2000  Jeffrey A Law  (law@cygnus.com)
 
        * pa.c (cmpib_comparison_operator): Remove GEU and LTU.
@@ -26,24 +451,24 @@ Mon Dec 11 13:51:09 2000  Jeffrey A Law  (law@cygnus.com)
 
 2000-12-11  Neil Booth  <neilb@earthling.net>
 
-        * cpperror.c (print_location): New function.
-        (print_containing_files): Simplify.
-        (_cpp_begin_message): Simplify and use print_location.
-        * cppfiles.c (stack_include_file): Update.
-        (_cpp_pop_file_buffer): Update.
-        * cpphash.h (struct cpp_buffer): New members
-        include_stack_listed and type.   
-        * cpplib.c (_cpp_handle_directive): Buffer->inc is not null.
-        (run_directive): Take buffer type.  cpp_push_buffer cannot fail.
-        (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef,
-        handle_assertion): Update.
-        (cpp_push_buffer): Take a buffer type and file name.
-        (cpp_pop_buffer): Update.  Clear include_stack_listed.
-        * cpplib.h (input_stack_listing_current): Remove.
-        (enum cpp_buffer_type): New.
-        (cpp_push_buffer): New prototype.
-        * cppmacro.c (builtin_macro): Simplify; buffer cannot be null.
-        * fix-header.c (read_scan_file): Update.
+       * cpperror.c (print_location): New function.
+       (print_containing_files): Simplify.
+       (_cpp_begin_message): Simplify and use print_location.
+       * cppfiles.c (stack_include_file): Update.
+       (_cpp_pop_file_buffer): Update.
+       * cpphash.h (struct cpp_buffer): New members
+       include_stack_listed and type.   
+       * cpplib.c (_cpp_handle_directive): Buffer->inc is not null.
+       (run_directive): Take buffer type.  cpp_push_buffer cannot fail.
+       (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef,
+       handle_assertion): Update.
+       (cpp_push_buffer): Take a buffer type and file name.
+       (cpp_pop_buffer): Update.  Clear include_stack_listed.
+       * cpplib.h (input_stack_listing_current): Remove.
+       (enum cpp_buffer_type): New.
+       (cpp_push_buffer): New prototype.
+       * cppmacro.c (builtin_macro): Simplify; buffer cannot be null.
+       * fix-header.c (read_scan_file): Update.
 
 2000-12-10  Robert Lipe <robertlipe@usa.net>
 
@@ -457,7 +882,7 @@ Tue Dec  5 20:09:14 2000  Jeffrey A Law  (law@cygnus.com)
        * global.c (global_conflicts): Allow for a REG_UNUSED note
        with a different mode to the REG set in the insn.
 
-2000-12-05  Kaveh R. Ghazi  <ghazi@teal.rutgers.edu>
+2000-12-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
 
@@ -587,7 +1012,7 @@ Tue Dec  5 20:09:14 2000  Jeffrey A Law  (law@cygnus.com)
        * cpplib.h: ... here.
        * cppinit.c (do_includes, cpp_start_read): Update appropriately.
 
-2000-12-03  Kaveh R. Ghazi  <ghazi@teal.rutgers.edu>
+2000-12-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * builtins.c (expand_builtin_strspn, expand_builtin_strcspn):
        Handle another transformation.