OSDN Git Service

* Makefile.in (emit-rtl.o): Add gt-emit-rtl.h to dependencies.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index ad26846..be8631f 100644 (file)
@@ -1,3 +1,214 @@
+2003-03-18  Geoffrey Keating  <geoffk@apple.com>
+
+       * Makefile.in (emit-rtl.o): Add gt-emit-rtl.h to dependencies.
+
+       * gengtype.c: Include rtl.h.
+       (enum rtx_code): Don't define.
+       (rtx_format): Make declaration match rtl.h.
+       (rtx_next_new): Rename from rtx_next to avoid conflict.  Change all
+       users.
+       (adjust_field_rtx_def): Describe strings in NOTE_LINE_NUMBER notes.
+       * Makefile.in (gengtype.o): Update dependencies.
+
+2003-03-18  Andreas Schwab  <schwab@suse.de>
+
+       * config/m68k/m68k.md (iordi3): Fix setting low half to -1.  From
+       martin@blom.org.
+
+2003-03-18  Geoffrey Keating  <geoffk@apple.com>
+
+       * function.c (next_block_index): Mark with GTY.
+
+       * config/rs6000/rs6000.md (macho_correct_pic): Correct pattern.
+
+2003-03-18  Richard Henderson  <rth@redhat.com>
+
+       * config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New.
+       (builtin_setjmp_receiver): Delay call to ia64_reload_gp
+       until after reload.
+
+2003-03-18  Richard Henderson  <rth@redhat.com>
+
+       * builtins.c (expand_builtin_unop): New target_mode operand;
+       use it to convert the result to the correct mode.
+       (expand_builtin): Update all callers.
+
+2003-03-18  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.md ("movti", "movhi", "movqi"): Add "type" attribute.
+
+Tue Mar 18 19:22:57 CET 2003  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md:  Fix previous commit that mistakely applied the patch
+       twice.
+
+       * alias.c (rtx_equal_for_memref_p): Assume that X and Y has been
+       canonicalized.
+       (memrefs_conflict_p): Likewise.
+       (addr_side_effect_eval): Canonicalize the constructed address.
+
+Tue Mar 18 13:15:08 CET 2003  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (cvtts?2si peep2): New.
+
+2003-03-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (*iorsi3_two_qi_zext): New.
+
+2003-03-18  Andreas Schwab  <schwab@suse.de>
+
+       * dwarf2out.c (output_file_names): Cast size_t to unsigned long
+       for format.
+
+2003-03-17  Jason Merrill  <jason@redhat.com>
+
+       PR c++/10091
+       * expr.c (expand_expr) [ADDR_EXPR]: Disallow taking the address of
+       an unaligned member of TREE_ADDRESSABLE type.
+
+2003-03-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define.
+       (TARGET_PROFILE_KERNEL): Define.
+       (SUBTARGET_SWITCHES): Handle -mprofile-kernel.
+       (PROFILE_BEFORE_PROLOGUE): Don't define.
+       (PROFILE_KERNEL): Remove hacks.
+       * config/rs6000/rs6000.c (TARGET_PROFILE_KERNEL): Define default.
+       (rs6000_stack_info): No need to save lr if just for profiling when
+       TARGET_KERNEL_PROFILE.
+       (output_profile_hook): Output nothing when TARGET_KERNEL_PROFILE.
+       (output_function_profiler): Localize label generation.  Emit code
+       for kernel profiling.
+
+2003-03-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300-protos.h: Add a prototype for
+       byte_accesses_mergeable_p.
+       * config/h8300/h8300.c (byte_accesses_mergeable_p): New.
+       * config/h8300/h8300.md (*iorhi3_two_qi_mem): Likewise.
+       (a splitter): Likewise.
+       (*iorsi3_ashift_16_ashift_24): Likewise.
+       (*iorsi3_ashift_16_ashift_24_mem): Likewise.
+
+2003-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * dwarf2asm.h: Delete obsolete comment.
+       (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
+       dw2_asm_output_pcrel, dw2_asm_output_addr,
+       dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
+       dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
+       dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
+       dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.
+
+2003-03-17  Zack Weinberg <zack@codesourcery.com>
+
+       * c-tree.h (struct lang_identifier): Remove error_locus field.
+       (IDENTIFIER_ERROR_LOCUS): Kill.
+       (record_function_scope_shadow): New prototype.
+       * c-typeck.c (build_external_ref): Don't complain if
+       decl is error_mark_node.  When not at file scope, bind the
+       decl's local value to error_mark_node to suppress further
+       warnings, instead of setting IDENTIFIER_ERROR_LOCUS.
+
+       * c-decl.c (get_function_binding_level): New static function.
+       (record_function_scope_shadow): New exported function.
+       (c_make_fname_decl): Use get_function_binding_level.
+
+2003-03-17  Steve Ellcey  <sje@cup.hp.com>
+
+       * stmt.c (tail_recursion_args): Call promote_mode to set
+       unsignedp flag correctly before calling convert_move.
+
+2003-03-17  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * loop-unroll.c (decide_peel_completely,
+       decide_unroll_constant_iterations, decide_unroll_stupid,
+       decide_unroll_runtime_iterations, decide_peel_simple): Set
+       loop->has_desc.
+
+Mon Mar 17 18:57:01 CET 2003  Jan Hubicka  <jh@suse.cz>
+
+       * ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.
+
+2003-03-17  Olivier Hainque  <hainque@act-europe.fr>
+
+       * function.c (assign_parms): For a struct value address passed as
+       first argument, delay the function's result RTL setup code until
+       after the emission of parameter conversions.
+
+2003-03-17  Dave Love  <fx@gnu.org>
+           Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__,
+       __arch64__ to match Compaq cc.
+
+2003-03-17  Neil Booth  <neil@daikokuya.co.uk>
+
+       * c-opts.c: Default TARGET_EBCDIC to 0 if not defined.
+       (c_common_init): Set EBCDIC in cpp options.
+       * cpplex.c (maybe_read_ucs, cpp_parse_escape): Use EBCDIC option,
+       not conditional compilation.
+       * cpplib.h (struct cpp_options): New entry EBCDIC.
+
+2003-03-17  Neil Booth  <neil@daikokuya.co.uk>
+
+       * fix-header.c (read_scan_file): Need to malloc arguments to add_path.
+
+2003-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * function.c (thread_prologue_and_epilogue_insns): Set delete_unused
+       argument to 0 for redirect_jump.
+
+2003-03-16  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/8805
+       * except.c (eh_region_u_cleanup): Add prev_try.
+       (expand_eh_region_end_cleanup): Set it.
+       (reachable_handlers): Use it to skip over cleanup blocks.
+
+2003-03-17  Andreas Jaeger  <aj@suse.de>
+
+       * Makefile.in (TAGS): Remove obsolete handling of =*.[chy].
+
+2003-03-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/linux64.h (TARGET_64BIT): Redefine.
+       (TARGET_RELOCATABLE, TARGET_EABI, TARGET_PROTOTYPE): Likewise.
+       (SUBTARGET_SWITCHES, SUBTARGET_OPTIONS): Likewise.
+       (SUBTARGET_OVERRIDE_OPTIONS, CPP_SYSV_SPEC): Likewise.
+
+2003-03-16  Richard Henderson  <rth@redhat.com>
+
+       * simplify-rtx (simplify_binary_operation): Don't abort for
+       SS_PLUS, US_PLUS, SS_MINUS, US_MINUS.
+
+2003-03-16  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/i386.md (movstrictqi, movstrictqi_1): Check
+       optimize_size as well.
+
+2003-03-16  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier
+       for D register to specify the low part of it, aka B.
+       (m68hc11_gen_movhi): Use REG_WAS_0 note and increment or decrement
+       the register if we are loading 1 or -1 to it; avoid using temp
+       register when moving X/Y to Y/X.
+       (m68hc11_gen_movqi): Likewise.
+       (m68hc11_check_z_replacement): Fix last insn setting for compare case.
+
+2003-03-14  Mark Mitchell  <mark@codesourcery.com>
+
+       PR optimization/9016
+       * config/i386/i386.c (ix86_expand_move): Force more CONST_DOUBLEs
+       into the constant pool.
+
+2003-03-16  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
+
+       PR target/9164
+       * tree.c (get_narrower): For extensions with unchanged bit number,
+       return the unsignedness of the outer mode.
+
 2003-03-16  Roger Sayle  <roger@eyesopen.com>
 
        * c-typeck.c (build_component_ref):  Turn "for" into "do .. while"