OSDN Git Service

Tweak last commit, adjust ChangeLog to reflect complete delta.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 41f8887..3a27f4f 100644 (file)
@@ -1,3 +1,284 @@
+2003-05-21  Loren James Rittle  <ljrittle@acm.org>
+
+       * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9
+       to match system compiler convention.
+
+2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero
+       value, not just if defined.
+       Update copyright year.
+
+2003-05-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR target/6428
+       * pa-hpux10.h (LINK_SPEC, LIB_SPEC): Move -L options for profiling
+       directories from LIB_SPEC to LINK_SPEC.  Emit warning if `-p' or `-pg'
+       option is used without `-static'.
+       * pa-hpux11.h (LINK_SPEC, LIB_SPEC): Likewise.
+       * pa64-hpux.h (LINK_SPEC, LIB_SPEC): Likewise.
+
+2003-05-21  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.h (MASK_SERIALIZE_VOLATILE,
+       TARGET_SERIALIZE_VOLATILE): Delete.
+       (MASK_CONST16, MASK_ABS, MASK_ADDX): Renumber flag bits.
+       (TARGET_DEFAULT): Remove MASK_SERIALIZE_VOLATILE.
+       (TARGET_SWITCHES): Remove "-mserialize-volatile" and
+       "-mno-serialize-volatile".
+       * config/xtensa/xtensa.c (print_operand): Remove checks of
+       TARGET_SERIALIZE_VOLATILE.
+       * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise.
+       * doc/invoke.texi (Option Summary, Xtensa Options): Remove
+       "-mserialize-volatile" and "-mno-serialize-volatile" options.
+
+2003-05-21  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * c-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier.
+       (nested_function): Likewise.
+       (notype_nested_function): Likewise.
+
+2003-05-21  Nick Clifton  <nickc@redhat.com>
+
+       * config/stormy16/stormy-abi: Update overflow type for
+       R_XSTORMY16_16 reloc.
+
+2003-05-21  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED.
+       * c-parse.in (reswords): Remove __bounded__ and __unbounded__.
+       (rid_to_yy): Remove RID_BOUNDED, RID_UNBOUNDED slots.
+       * print-tree.c (print_node): Remove ambient-boundedness.
+       * tree.h (tree_common): Remove bounded_flag.
+       (BOUNDED_INDIRECT_YPE_P, BOUNDED_POINTER_TYPE_P,
+       BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
+       MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
+       TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
+       TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED, TYPE_QUAL_BOUNDED):
+       Remove.
+       (TYPE_QUALS): Remove BOUNDED.
+       (TREE_EXPR_QUALS, TREE_FUNC_QUALS): Remove.
+       (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
+       TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
+       TYPE_AMBIENT_BOUNDEDNESS, MAX_POINTER_DEPT,
+       VA_LIST_POINTER_DEPTH): Remove.
+       (struct tree_type): Remove pointer_depth.
+
+2003-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * c-pretty-print.c (pp_c_integer_literal): Use
+       HOST_WIDE_INT_PRINT_DOUBLE_HEX.
+
+2003-05-20  Roger Sayle  <roger@eyesopen.com>
+           Kazu Hirata  <kazu@cs.umass.edu>
+           Joern Rennecke  <joern.rennecke@superh.com>
+
+       * gcse.c (cprop_jump):  Make use of REG_EQUAL notes on both
+       setcc and jump, if they exist.  If substituted instruction
+       fails to validate, store current effort in a REG_EQUAL note.
+       (cprop_insn): Don't attempt further substitutions if the
+       current instruction has been deleted.
+       (local_cprop_pass): Likewise.
+
+       * jump.c (redirect_jump):  Also update REG_EQUAL note, if
+       one is attached to the jump instruction.
+       (invert_jump): Delete REG_EQUAL note on jump, if one exists.
+
+2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       PR c++/9738
+       * config/i386/winnt.c (i386_pe_encode_section_info): Enable
+       even if not first.
+
+2003-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * genautomata.c (output_description, output_automaton_units,
+       output_state_arcs): Add missing specifiers.
+
+2003-05-20  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/lib1funcs.asm: Avoid use of .Lfe* in .size directives.
+       (do_abs, do_addx2, do_addx4, do_addx8): New assembler macros.
+       (__mulsi3): Use do_addx* instead of ADDX* instructions.  Formatting.
+       (nsau): Rename to do_nsau.  Provide alternate version for use when
+       the NSAU instruction is available.
+       (__udivsi3, __divsi3, __umodsi3, __modsi3): Use do_nsau macro.
+       (__divsi3, __modsi3): Use do_abs macro instead of ABS instruction.
+       * config/xtensa/xtensa-config.h: Update comments to match binutils.
+       (XCHAL_HAVE_ABS, XCHAL_HAVE_ADDX): Define.
+       * config/xtensa/xtensa.h (MASK_ABS, MASK_ADDX): Define.
+       (TARGET_ABS, TARGET_ADDX): Define.
+       (TARGET_DEFAULT): Conditionally add MASK_ABS and MASK_ADDX.
+       (TARGET_SWITCHES): Add "abs", "no-abs", "addx", and "no-addx".
+       * config/xtensa/xtensa.md (*addx2, *addx4, *addx8, *subx2, *subx4,
+       *subx8): Set predicate condition to TARGET_ADDX.
+       (abssi2): Set predicate condition to TARGET_ABS.
+       * doc/invoke.texi (Option Summary): Document new "-mabs", "-mno-abs",
+       "-maddx", and "-mno-addx" options.
+       (Xtensa Options): Likewise.  Also tag some opcode names with @code.
+
+2003-05-20  Kevin Ryde <user42@zip.com.au>
+           Wolfgang Bangerth <bangerth@dealii.org>
+
+       PR/10355
+       * doc/extend.texi: Put a warning into the documentation
+       of attribute regparm.
+
+2003-05-20  Jason Merrill  <jason@redhat.com>
+
+       * tree.c (expr_last): New fn.
+       * tree.h: Declare it.
+       * objc/objc-act (expr_last): Rename to objc_expr_last.
+
+2003-05-20  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.c (sh_register_move_cost): Add clase for moving between
+       FP registers and MAC registers.
+
+2003-05-19  John David Anglin  <dave.anglin@nrc-gnrc.gc.ca>
+
+       * pa/milli64.S ($$mulI): Fix typo.
+
+2003-05-19  Matt Kraai  <kraai@alumni.cmu.edu>
+
+       * alias.c (nonlocal_mentioned_p, nonlocal_referenced_p)
+       (nonlocal_set_p): Remove initial blank line.
+       * dwarf2out.c (simple_type_size_in_bits): Likewise.
+       * et-forest.c (et_forest_create): Likewise.
+       * explow.c (stabilize): Likewise.
+       * fix-header.c (write_lbrac): Likewise.
+       * graph.c (start_fct, node_data): Likewise.
+       * jump.c (only_sets_cc0_p, sets_cc0_p): Likewise.
+       * rtlanal.c (global_reg_mentioned_p): Likewise.
+       * tree.c (bit_position): Likewise.
+
+2003-05-19  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct
+       -lthread to -lpthread.
+
+2003-05-19  Neil Booth  <neil@daikokuya.co.uk>
+
+       * c-opts.c (c_common_decode_option): Don't accept dollars
+       as identifier characters in assembly.
+       * doc/cpp.texi: Document this.
+
+2003-05-19  Seth Arnold  <sarnold@wirex.com>
+           Aldy Hernandez  <aldyh@redhat.com>
+
+        * config/rs6000/rs6000.c (rs6000_stack_info): Do not add
+        vrsave_size twice.
+
+2003-05-19  Aldy Hernandez  <aldyh@redhat.com>
+
+        * doc/tm.texi (function_arg): Fix typo.
+
+2003-05-19  Matt Austern  <austern@apple.com>
+
+       * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-offsetof option.
+       * c-common.h (warn_invalid_offsetof): Declare.
+       * c-common.c (warn_invalid_offsetof): Define.
+       * doc/invoke.texi: Document -Winvalid-offsetof.
+       * testsuite/g++.dg/other/offsetof3.C: New.
+       * testsuite/g++.dg/other/offsetof4.C: New.
+       
+2003-05-19  Kevin B. Hendricks  <kevin.hendricks@sympatico.ca>
+            David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (rs6000_alignment_string,
+       rs6000_alignment_flags): New variables.
+       (rs6000_parse_alignment_option): New function.
+       (rs6000_override_options): Call it.
+       * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -malign-XXX option.
+       (MASK_ALIGN_POWER, MASK_ALIGN_NATURAL, TARGET_ALIGN_NATURAL): New
+       macros.
+       * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Always use COMPUTED
+       natural alignment if TARGET_NATURAL_ALIGNMENT
+       (ROUND_TYPE_ALIGN): Always use default record alignment if
+       TAGET_NATURAL_ALIGNMENT.
+       * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Same
+       (ROUND_TYPE_ALIGN): Same.
+       * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Same
+       (ROUND_TYPE_ALIGN): Same.
+       * doc/invoke.texi (Option Summary, PowerPC Options): Document
+       new options.
+
+2003-05-19  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * c-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME
+       of a function using ASMSPEC, prepend a star.
+
+2003-05-19  Jason Merrill  <jason@redhat.com>
+
+       * tree-inline.c (copy_body_r): Avoid generating &* during inline
+       substitution.
+
+2003-05-19  Andrew Macleod  <amacleod@redhat.com>
+
+       * config/stormy16/stormy16.c (xstormy16_expand_prologue): Do
+       not mark assignments to the hard frame pointer as being stack
+       frame related.
+       (xstormy16_expand_epilogue): Mark adjustments to the stack
+       pointer as being stack frame related.
+
+2003-05-19  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.h (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY,
+       ISA_HAS_FCMP_DELAY, ISA_HAS_HILO_INTERLOCKS): New macros.
+       (PREDICATE_CODES): Add hilo_operand.
+       * config/mips/mips.c (hilo_operand): New predicate.
+       (mips_adjust_insn_length): Account for the number nops that might
+       be needed to avoid hardware hazards.
+       * config/mips/mips.md (dslot): Remove attribute.
+       (hazard): New attribute.
+       (can_delay): Use it.  Check for calls, branches & jumps.
+       (muldi3): Use the standard dmult pattern for mips16 code.
+       (muldi3_internal, muldi3_internal2): Adjust conditions accordingly.
+
+2003-05-19  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips-protos.h (final_prescan_insn,
+       mips_count_memory_refs, mips_fill_delay_slot): Remove.
+       * config/mips/mips.h (delay_type, dslots_load_total,
+       dslots_load_filled, dslots_jump_total, dslots_jump_filled,
+       dslots_number_nops, num_refs, mips_load_reg, mips_load_reg2,
+       mips_load_reg3, mips_load_reg4): Remove.
+       (MASK_STATS): Remove.
+       (MASK_EXPLICIT_RELOCS): Reuse its value.
+       (TARGET_STATS): Remove.
+       (TARGET_SWITCHES): Turn -mstats and -mno-stats into no-ops.
+       Warn that -mstats is now ignored.
+       (FINAL_PRESCAN_INSN): Undefine.
+       (DBR_OUTPUT_SEQEND): Remove handling of dslot statistics.
+       (ASM_OUTPUT_REG_POP): Likewise.
+       * config/mips/mips.c (dslots_load_total, dslots_load_filled,
+       dslots_jump_total, dslots_jump_filled, dslots_number_nops, num_refs,
+       mips_load_reg, mips_load_reg2, mips_load_reg3, mips_load_reg4,
+       mips_fill_delay_slot, mips_count_memory_refs,
+       final_prescan_insn): Remove.
+       (output_block_move): Remove calls to mips_count_memory_refs.
+       (print_operand): Remove printing of #nop for TARGET_STATS.
+       (mips_output_function_epilogue): Remove TARGET_STATS code.
+       Reorganize setting of fnnmae.
+       * config/mips/mips.md: Remove handling of dslot statistics
+       throughout file.  Change all fcmp patterns into normal asm
+       templates, removing calls to mips_fill_delay_slot.
+       * doc/invoke.texi: Remove documentation of -mstats.
+
+2003-05-19  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.c (mips_class_max_nregs): Return the number of
+       words in the mode.
+
+2003-05-19  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.c (override_options): Disable explicit
+       relocs for old ABIs unless using gas.
+
+2003-05-18  Eric Christopher  <echristo@redhat.com>
+
+       * config/mips/mips.h: Remove definition of g_switch_value.
+
 2003-05-18  Matt Kraai  <kraai@alumni.cmu.edu>
 
        * flags.h (g_switch_value): Change to an unsigned
@@ -5,7 +286,7 @@
        * toplev.c (g_switch_value): Likewise.
 
        * config/alpha/alpha.c (small_symbolic_operand): Remove
-       g_switch_value cast. 
+       g_switch_value cast.
        (alpha_in_small_data_p): Cast size to an unsigned
        HOST_WIDE_INT.
 
 
        * config.gcc: Clear xm_file, md_file at the beginning of each pass.
 
-       * config/stormy16/stormy16.h: Remove about 3000 lines of 
+       * config/stormy16/stormy16.h: Remove about 3000 lines of
        target-independent comments.  Update copyright notice.
 
        * doc/collect2.texi: GNU CC -> GCC.
 2003-05-18  Gabriel Dos Reis <gdr@integrable-solutions.net>
 
        * hashtable.h (struct ht_identifier): Add data member "hash_value".
-       * hashtable.c (ht_lookup): Use it when searching, remember. 
+       * hashtable.c (ht_lookup): Use it when searching, remember.
        (ht_expand): Do not recompute.
        * tree.h (IDENTIFIER_HASH_VALUE): New macro.
 
        * config/alpha.h, config/m68k/linux.h (TARGET_OBJFMT_CPP_BUILTINS):
        Define __ELF__.
        * doc/cpp.texi: Document __ELF__.
-       * doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS.     * 
+       * doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS.     *
 
 2003-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>