1. 19 Mar, 2004 23 commits
  2. 18 Mar, 2004 17 commits
    • Another patch for pending SB-1 DFA scheduler. · c3840092
      	* config/mips/mips.md (type): Split move into arith and fmove.  Split
      	hilo into mthilo and mfhilo.  Add trap.  Delete icmp.  Fix all uses.
      	* config/mips/5400.md (ir_vr54_hilo, ir_vr54_arith, ir_vr54_fabs):
      	Likewise.
      	* config/mips/5500.md (ir_vr55_hilo, ir_vr55_arith, ir_vr55_fabs):
      	Likewise.
      	* config/mips/7000.md (rm7_int_other, rm7_mthilo, rm7_mfhilo,
      	rm7_fp_quick): Likewise.
      	* config/mips/9000.md (rm9k_int, rm9k_mfhilo, rm9k_mthilo,
      	rm9k_fquick): Likewise.
      	* config/mips/sr71k.md (ir_sr70_hilo, ir_sr70_arith, ir_sr70_fabs):
      	Likewise.
      	(ir_sr70_icmp): Delete.
      
      From-SVN: r79650
      James E Wilson committed
    • cp-tree.def (TEMPLATE_TYPE_PARM, [...]): Update comments. · a2982c1b
      	* cp-tree.def (TEMPLATE_TYPE_PARM, TYPEOF_TYPE): Update comments.
      	* cp-tree.h (NEW_EXPR_USE_GLOBAL, DELETE_EXPR_USE_GLOBAL): Add check.
      	(DELETE_EXPR_USE_VEC, COMPOUND_EXPR_OVERLOADED): Likewise.
      	(KOENIG_LOOKUP_P, PTRMEM_OK_P, TEMPLATE_TYPE_PARM_INDEX): Likewise.
      	(TYPENAME_TYPE_FULLNAME): Add check and use type.values.
      	(TYPEOF_TYPE_EXPR): New macro.
      
      From-SVN: r79645
      Richard Kenner committed
    • * stor-layout.c (set_sizetype): Use TYPE_ORIG_SIZE_TYPE. · d3b6a5fb
      From-SVN: r79642
      Richard Kenner committed
    • 2004-03-18 Michael Koch <konqueror@gmx.de> · 138f5109
      	* java/nio/channels/spi/AbstractSelectableChannel.java
      	(keys): Initialize at declaration.
      	(locate): keys cant be null.
      	(add): Removed.
      	(addSelectionKey): New method.
      	(removeSelectionKey): New method.
      	* java/nio/channels/spi/AbstractSelectionKey.java
      	(cancel): Call AbstractSelector.cancelKey(SelectionKey key).
      	* java/nio/channels/spi/AbstractSelector.java
      	(provider): Javadoc added.
      	(cancelledKeys): Javadoc added.
      	(cancelKey): Javadoc added, add key to cancelledKeys.
      	(deregister): Implemented.
      
      From-SVN: r79640
      Michael Koch committed
    • Fix typo in comment. · bdb5db66
      From-SVN: r79639
      Richard Kenner committed
    • tree.h (TREE_CHECK2, [...]): New macros. · eb34af89
      	* tree.h (TREE_CHECK2, TREE_CHECK3, TREE_CHECK5): New macros.
      	(tree_check2_failed, tree_check3_failed, tree_check5_failed): New decl.
      	(FUNC_OR_METHOD_CHECK, SET_ARRAY_OR_VECTOR_CHECK): New macros.
      	(REC_OR_UNION_CHECK, NUMERICAL_TYPE_CHECK): Likewise.
      	(TYPE_VALUES, TYPE_DOMAIN, TYPE_FIELDS, TYPE_METHODS, TYPE_VFIELD):
      	Protect with proper check.
      	(TYPE_ARG_TYPES, TYPE_METHOD_BASETYPE, TYPE_OFFSET_BASETYPE): Likewise.
      	(TYPE_MIN_VALUE, TYPE_MAX_VALUE): Likewise.
      	* tree.c (type_hash_eq): Rewrite to access proper fields for each type.
      	(tree_check2_failed, tree_check3_failed, tree_check5_failed): New.
      	* c-typeck.c (build_array_ref): Use TYPE_DOMAIN, not TYPE_VALUES.
      	* dwarf2out.c (gen_enumeration_type_die): Use TYPE_VALUES,
      	not TYPE_FIELDS.
      
      	* cp/class.c (finish_struct_bits): Use TYPE_VFIELD and TYPE_METHODS.
      	* cp/error.c (dump_type): Use TYPEOF_TYPE_EXPR.
      	* cp/pt.c (tsubst): Likewise.
      	* cp/semantics.c (finish_typeof): Likewise.
      	* cp/search.c (dfs_unuse_fields): Handle TYPENAME_TYPE, TYPEOF_TYPE,
      	and TEMPLATE_TYPE_PARM.
      	* cp/typeck.c (comptypes): Use TYPE_ORIG_SIZE_TYPE, not TYPE_DOMAIN.
      	(build_array_ref): Use TYPE_DOMAIN, not TYPE_VALUES.
      
      	* java/java-tree.h: Changes throughout to add checking to macros
      	and numerous whitespace changes.
      	(VAR_OR_FIELD_CHECK): New macro.
      	* java/jcf-write.c (get_access_flags): Use FIELD_PUBLIC, METHOD_PUBLIC,
      	FIELD_FINAL, and METHOD_FINAL instead of CLASS_PUBLIC and CLASS_FINAL.
      
      	* ada/ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Add checking.
      	(TYPE_CONTAINS_TEMPLATE_P, TYPE_OBJECT_RECORD_TYPE): Likewise.
      	(TYPE_RM_SIZE_INT): Directly use type.values.
      	(TREE_LOOP_ID): Clean up check.
      	* ada/decl.c (gnat_to_gnu_entity, case E_Enumeration_Type): Use
      	TYPE_VALUES, not TYPE_FIELDS.
      	* ada/trans.c (convert_with_check): Delay access of bounds of basetype
      	until sure is numeric.
      
      From-SVN: r79638
      Richard Kenner committed
    • gcse.c (eliminate_partially_redundant_loads): Reject change if dest is set… · 2171cb85
      gcse.c (eliminate_partially_redundant_loads): Reject change if dest is set between beginning and current insn.
      
      2004-03-18  Mostafa Hagog  <mustafa@il.ibm.com>
      
              * gcse.c (eliminate_partially_redundant_loads): Reject change if
              dest is set between beginning and current insn.
      
      From-SVN: r79636
      Mostafa Hagog committed
    • remove incorrectly merged changelog entry · 61b28f56
      From-SVN: r79635
      Graydon Hoare committed
    • c-decl.c (grokdeclarator): Do not complain about redeclaring visible "static"… · 4ada538b
      c-decl.c (grokdeclarator): Do not complain about redeclaring visible "static" identifiers "extern" in a...
      
      	* c-decl.c (grokdeclarator): Do not complain about redeclaring
      	visible "static" identifiers "extern" in a local scope.
      
      	* dwarf2out.c (loc_descriptor_from_tree): Handle pre- and
      	post-increments/decrements.
      
      	* gcc.dg/local1.c: New test.
      
      	* gcc.dg/debug/dwarf2/c99-typedef1.c: New test.
      
      From-SVN: r79634
      Mark Mitchell committed
    • xtensa.c (current_function_arg_words): Delete. · 79e9ebdc
      	* config/xtensa/xtensa.c (current_function_arg_words): Delete.
      	(xtensa_builtin_saveregs): Use current_function_args_info.arg_words.
      	(xtensa_va_start): Remove assignment to current_function_arg_words.
      
      From-SVN: r79632
      Bob Wilson committed
    • alias.c (record_set): Detect the case where a register is assigned a new value… · 5da6f168
      alias.c (record_set): Detect the case where a register is assigned a new value that has the same base...
      
      	* alias.c (record_set): Detect the case where a register is assigned
      	a new value that has the same base term as the old one.
      
      From-SVN: r79629
      Richard Sandiford committed
    • natFileChannelPosix.cc (mapImpl): Cast MAP_FAILED to void *. · acc63e4c
      	* gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
      	MAP_FAILED to void *.
      
      From-SVN: r79627
      Rainer Orth committed
    • doloop.c: Removed. · 689ba89d
      	* doloop.c: Removed.
      	* loop-doloop.c: New file.
      	* Makefile.in (doloop.o): Remove.
      	(loop-doloop.o): New.
      	* cfgloop.h (get_loop_level, doloop_optimize_loops): Declare.
      	* cfgloopanal.c (get_loop_level): New function.
      	* loop-iv.c (iv_number_of_iterations): Handle case when loop
      	is leaved immediatelly.
      	* loop.c (strength_reduce): Do not call doloop optimization.
      	* loop.h (LOOP_BCT): Removed.
      	* passes.c (rest_of_handle_loop_optimize): Do not use LOOP_BCT.
      	(rest_of_handle_loop2): Call doloop_optimize_loops.
      	(rest_of_compilation): Test for optimizations moved to
      	rest_of_handle_loop2.
      
      From-SVN: r79625
      Zdenek Dvorak committed
    • Fixed some stack size allocation in G5's mixed mode. · 327e5343
      Oked by David Edelsohn.
      
      From-SVN: r79624
      Fariborz Jahanian committed
    • [multiple changes] · a336eaca
      2004-03-18  Arnaud Charlet  <charlet@act-europe.fr>
      
      	* 5atpopsp.adb: Remove RTEMS from list of platforms using this file.
      
      	Code clean up:
      	* 5ataprop.adb, 5ftaprop.adb, 5htaprop.adb, 5itaprop.adb, 5staprop.adb,
      	5vtaprop.adb, 5wtaprop.adb, 7staprop.adb (Finalize_TCB): Use
      	Specific.Set instead of direct call to e.g pthread_setspecific.
      
      2004-03-18  Thomas Quinot  <quinot@act-europe.fr>
      
      	* adaint.c: Update comments.
      
      	* Makefile.in: set PREFIX_OBJS, SYMLIB, THREADSLIB, and
      	GNATLIB_SHARED for FreeBSD.
      
      2004-03-18  Jose Ruiz  <ruiz@act-europe.fr>
      
      	* init.c [VxWorks]: Do not fix the stack size for the environment task.
      	When needed (stack checking) the stack size is retrieved
      	from the VxWorks kernel.
      
      	* Makefile.in: Flag -nostdinc is required when building the run time
      	for avoiding looking for files in the base compiler.
      	Add the VxWorks specific version of the package body for
      	System.Stack_checking.Operations (5zstchop.adb).
      
      	* Make-lang.in: Add the object file for
      	System.Stack_Checking.Operations.
      
      	* Makefile.rtl: Add object file for the package
      	System.Stack_Checking.Operations.
      
      	* s-stchop.ads, s-stchop.adb, 5zstchop.adb: New files.
      
      	* s-stache.ads, s-stache.adb: Move the operations related to stack
      	checking from this package to package System.Stack_Checking.Operations.
      	This way, stack checking operations are only linked in the final
      	executable when using the -fstack-check flag.
      
      2004-03-18  Doug Rupp  <rupp@gnat.com>
      
      	* Makefile.in [VMS]: Handle 64 bit specs (5qsystem.ads, 5xcrtl.ads).
      	Reorganize ifeq's.
      
      	* 5qsystem.ads, 5xcrtl.ads: New files.
      
      2004-03-18  Vincent Celier  <celier@gnat.com>
      
      	* prj.adb (Reset): Reset hash table Files_Htable
      
      	* prj-env.adb (Source_Paths, Object_Paths): New tables.
      	(Add_To_Source_Path, Add_To_Object_Path): New procedures, to replace
      	the procedures Add_To_Path_File.
      	(Set_Ada_Paths): Accumulate source and object dirs in the tables,
      	making sure that each directory is present only once and, for object
      	dirs, when a directory already present is added, the duplicate is
      	removed and the directory is always put as the last in the table.
      	Write the path files at the end of these accumulations.
      
      	* prj-nmsc.adb (Record_Source): Add source file name in hash table
      	Files_Htable for all sources.
      
      	* prj-proc.adb (Process): Remove restrictions between not directly
      	related extending projects.
      
      2004-03-18  Emmanuel Briot  <briot@act-europe.fr>
      
      	* prj-nmsc.ads, prj-nmsc.adb (Ada_Check): New parameter Trusted_Mode.
      	(Find_Sources): Minor speed optimization.
      
      	* prj-proc.ads, prj-proc.adb (Check, Recursive_Check, Process): New
      	parameter Trusted_Mode.
      
      2004-03-18  Sergey Rybin  <rybin@act-europe.fr>
      
      	* scn.adb (Determine_License): Take into account a degenerated case
      	when the source contains only comments.
      
      2004-03-18  Ed Schonberg  <schonberg@gnat.com>
      
      	* sem_warn.adb (Check_References): For a warning on a selected
      	component that does not come from source, locate an uninitialized
      	component of the record type to produce a more precise error message.
      
      From-SVN: r79623
      Arnaud Charlet committed
    • predict.c (propagate_freq): Compute correctly frequency of EXIT_BLOCK. · 214ee4a2
      
      	* predict.c (propagate_freq): Compute correctly frequency of
      	EXIT_BLOCK.
      
      From-SVN: r79621
      Jan Hubicka committed