1. 12 Jun, 2004 12 commits
    • gcse.c (record_set_info): Use predicates like REG_P. · 7b1b4aed
      	* gcse.c (record_set_info): Use predicates like REG_P.
      	(mems_conflict_for_gcse_p): Likewise.
      	(load_killed_in_block_p): Likewise.
      	(hash_expr_1): Likewise.
      	(insert_set_in_table): Likewise.
      	(gcse_constant_p): Likewise.
      	(hash_scan_set): Likewise.
      	(hash_scan_insn): Likewise.
      	(canon_list_insert): Likewise.
      	(record_last_mem_set_info): Likewise.
      	(record_last_set_info): Likewise.
      	(compute_hash_table_work): Likewise.
      	(mark_set): Likewise.
      	(mark_clobber): Likewise.
      	(mark_oprs_set): Likewise.
      	(compute_transp): Likewise.
      	(find_avail_set): Likewise.
      	(cprop_insn): Likewise.
      	(do_local_cprop): Likewise.
      	(cprop): Likewise.
      	(find_implicit_sets): Likewise.
      	(find_bypass_set): Likewise.
      	(bypass_conditional_jumps): Likewise.
      	(insert_insn_end_bb): Likewise.
      	(pre_insert_copy_insn): Likewise.
      	(compute_transpout): Likewise.
      	(next_ls_expr): Likewise.
      	(invalidate_any_buried_refs): Likewise.
      	(compute_ld_motion_mems): Likewise.
      	(reg_set_info): Likewise.
      	(reg_clear_last_set): Likewise.
      	(find_moveable_store): Likewise.
      	(compute_store_table): Likewise.
      	(find_loads): Likewise.
      	(store_killed_in_insn): Likewise.
      	(insert_insn_start_bb): Likewise.
      	(reg_set_between_after_reload_p): Likewise.
      	(reg_used_between_after_reload_p): Likewise.
      	(is_jump_table_basic_block): Likewise.
      	(gcse_after_reload): Likewise.
      	(hash_scan_set_after_reload): Likewise.
      	(compute_hash_table_after_reload): Likewise.
      
      Co-Authored-By: Andreas Jaeger <aj@suse.de>
      
      From-SVN: r83026
      Steven Bosscher committed
    • * javax/swing/RepaintManager.java · ff6ea709
             (paintDirtyRegions): Use entrySet(), not values().
      
      From-SVN: r83025
      Mark Wielaard committed
    • re PR libfortran/12839 (incorrect IO of Inf) · 8204210b
      2004-06-12  Bud Davis  <bdavis9659@comcast.net>
      
              PR gfortran/12839
              * gfortran.fortran-torture/execute/nan_inf_fmt.f90: New test.
              * io/write.c(write_float): format inf and nan IAW F2003.
      
      From-SVN: r83024
      Bud Davis committed
    • rtl.h (MEM_P, [...]): New predicates. · 3d27dbd0
      	* rtl.h (MEM_P, NONJUMP_INSN_P, CALL_INSN_P): New predicates.
      	(INSN_P): Don't look at the rtx code class, just explicitly
      	check for one of the tree RTX_INSN codes.
      
      From-SVN: r83023
      Steven Bosscher committed
    • [multiple changes] · 4a787fa8
      2004-06-12  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/algorithm: Trivial formatting fixes.
      	* include/ext/functional: Likewise.
      	* include/ext/hash_fun.h: Likewise.
      	* include/ext/iterator: Likewise.
      
      2004-06-12  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/basic_string.tcc (find(const _CharT*, size_type,
      	size_type)): Reimplement using std::search.
      	* src/string-inst.cc: Instantiate std::search for char/wchar_t.
      
      2004-06-12  Dhruv Matani  <dhruvbird@gmx.net>
      
      	* testsuite/performance/21_strings/string_find.cc: New.
      
      From-SVN: r83022
      Paolo Carlini committed
    • c-typeck.c (default_function_array_conversion): Use build_pointer_type not TYPE_POINTER_TO. · 019c8e80
      	* c-typeck.c (default_function_array_conversion): Use
      	build_pointer_type not TYPE_POINTER_TO.
      
      From-SVN: r83021
      Zack Weinberg committed
    • configure.ac: Don't invoke ACX_HEADER_STDBOOL. · 2fac9c01
      gcc:
      	* configure.ac: Don't invoke ACX_HEADER_STDBOOL.
      	* configure, config.in: Regenerate.
      	* system.h: Unconditionally define bool as unsigned char,
      	BOOL_BITFIELD as unsigned int.
      	* domwalk.h: Use BOOL_BITFIELD.
      libcpp:
      	* configure.ac: Don't invoke ACX_HEADER_STDBOOL.
      	* configure, config.in: Regenerate.
      	* system.h: Unconditionally define bool as unsigned char,
      	BOOL_BITFIELD as unsigned int.
      	* .cvsignore: New file.
      
      From-SVN: r83020
      Zack Weinberg committed
    • libgcc-std.ver: Add __unorddf2 and __unordsf2 with version 3.3.4. · 9ade2479
      	* libgcc-std.ver: Add __unorddf2 and __unordsf2 with version 3.3.4.
      	* libgcc-darwin.ver: Likewise.
      
      From-SVN: r83017
      Andreas Jaeger committed
    • reload.c (find_reloads): Force reload for pseudo registers on big endian machines. · b605eb59
      	* reload.c (find_reloads): Force reload for pseudo registers on big
      	endian machines.
      
      From-SVN: r83014
      Peter Jakubek committed
    • [multiple changes] · 7e6eb623
      
      2004-06-11  Steven Bosscher <stevenb@suse.de>
      
      	* tree-ssa-dce.c (mark_control_dependent_edges_necessary):
      	Don't try to mark anything control dependent on the entry or
      	exit blocks.
      
      2004-06-11  Daniel Berlin  <dberlin@dberlin.org>
      
      	Fix Bug 15899
      	Fix Bug 15460
      	* tree.h (SSA_NAME_VALUE): New macro.
      	(struct tree_ssa_name): Add value_handle member.
      	* tree-ssa-pre.c: Replaced.
      	* tree-flow.h (tree_ann_type): Add CST_ANN, EXPR_ANN.
      	(struct cst_ann_d): New.
      	(struct expr_ann_d): New.
      	(union tree_ann_d): Add cst_ann, expr_ann.
      	* tree-dfa.c (create_cst_ann): New function.
      	(create_expr_ann): Ditto.
      	* tree-flow-inline.h (cst_ann): New function.
      	(expr_ann): Ditto.
      	(get_cst_ann): Ditto.
      	(get_expr_ann): Ditto..
      
      From-SVN: r83010
      Daniel Berlin committed
    • Daily bump. · e4602cf3
      [[Split portion of a mixed commit.]]
      
      From-SVN: r83008.2
      GCC Administrator committed
    • Daily bump. · ef2c2c48
      [[Split portion of a mixed commit.]]
      
      From-SVN: r83007.2
      GCC Administrator committed
  2. 11 Jun, 2004 28 commits
    • pa.c (pa_hpux_init_libfunc): Add support for unord_optab. · e2ddd6ca
      	* pa.c (pa_hpux_init_libfunc): Add support for unord_optab.
      	* pa/quadlib.c (enum qfcmp_magic): Define magic values for call to
      	_U_Qfcmp library function.
      	(_U_Qfltgt, _U_Qfunle, _U_Qfunlt, _U_Qfunge, _U_Qfungt, _U_Qfuneq,
      	_U_Qfunord, _U_Qford): Add more TFmode builtin compare functions.
      
      From-SVN: r83004
      John David Anglin committed
    • pa.c (legitimize_pic_address): Use UNSPEC_DLTIND14R to identify unspec used for… · 9839edf1
      pa.c (legitimize_pic_address): Use UNSPEC_DLTIND14R to identify unspec used for loading address from DLT.
      
      	* pa.c (legitimize_pic_address): Use UNSPEC_DLTIND14R to identify
      	unspec used for loading address from DLT.
      	* pa.md: Define constants for the uses of UNSPEC and UNSPEC_VOLATILE.
      	Change all users of UNSPEC and UNSPEC_VOLATILE to use new constants.
      	Don't use short code sequence when loading the address of a nonlocal
      	label.
      	(nonlocal_goto): New expander.
      	(indirect_goto): New jump pattern for nonlocal gotos.
      	(short_jump): Remove extra whitespace.
      	(builtin_longjmp): Clobber memory and hard frame pointer.  Restore
      	frame pointer via virtual_stack_vars_rtx when we have a nonlocal goto
      	pattern.
      
      From-SVN: r83003
      John David Anglin committed
    • expmed.c (synth_mult): Add an additional MODE argument for the machine mode of the multiplication. · 41c64ac0
      
      	* expmed.c (synth_mult): Add an additional MODE argument for the
      	machine mode of the multiplication.  Update recursive calls.  Use
      	mode instead of word_mode for determining operation costs.
      	(choose_mult_variant): Update calls to synth_mult with "mode".
      
      From-SVN: r83002
      Roger Sayle committed
    • tree-ssa-operands.c (get_stmt_operands): Clear makes_aliased_loads and makes_aliased_stores. · 9098a3ec
              * tree-ssa-operands.c (get_stmt_operands): Clear makes_aliased_loads
              and makes_aliased_stores.
      
      From-SVN: r83001
      Richard Henderson committed
    • Merge in xfails from PR14107. · 0ab6a7ba
      From-SVN: r82999
      Mike Stump committed
    • install.text (--enable-shared): Fix typo. · 55c45226
      2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * doc/install.text (--enable-shared): Fix typo.
      
      From-SVN: r82998
      Andrew Pinski committed
    • alpha.c (alpha_gimplify_va_arg_1): Remove post_p argument. · 65da5a20
              * config/alpha/alpha.c (alpha_gimplify_va_arg_1): Remove post_p
              argument.  Use internal post for call to gimplify_expr.  Tidy
              rounded type size computation.
              (alpha_gimplify_va_arg): Use get_formal_tmp_var and
              get_initialized_tmp_var.
      
      From-SVN: r82997
      Richard Henderson committed
    • install.texi (--enable-shared): Update libobjc's shared library status. · 07659e97
      2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * doc/install.texi (--enable-shared): Update libobjc's shared library status.
              Remove reference to libf2c.
      
      From-SVN: r82996
      Andrew Pinski committed
    • configure.ac: Support --enable-shared=libobjc. · 684c64bf
      2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * configure.ac: Support --enable-shared=libobjc.
              * configure: Regenerate.
      
      From-SVN: r82995
      Andrew Pinski committed
    • i386.h (EXPAND_BUILTIN_VA_ARG): Just abort. · 67c605a5
              * config/i386/i386.h (EXPAND_BUILTIN_VA_ARG): Just abort.
              * config/i386/i386.c (ix86_va_arg): Remove.
              * config/rs6000/rs6000.h (EXPAND_BUILTIN_VA_ARG): Just abort.
              * config/rs6000/rs6000.c (rs6000_va_arg): Remove.
              * config/alpha/alpha.h (EXPAND_BUILTIN_VA_ARG): Just abort.
              * config/alpha/alpha.c (alpha_va_arg): Remove.
              * config/sparc/sparc.h (EXPAND_BUILTIN_VA_ARG): Just abort.
              * config/sparc/sparc.c (sparc_va_arg): Remove.
      
              * tree-ssa-operands.c (get_stmt_operands): Use a V_MAY_DEF if the
              assignment might throw.
              * tree-eh.c (tree_could_throw_p): Support non-call exceptions in
              expressions.
      
      From-SVN: r82992
      Jason Merrill committed
    • Add PR number in: · 67fc0c0f
      	PR 15886:
      	* sh.h (ALLOCATE_INITIAL_VALUE): Use return_address_pointer_rtx.
      
      From-SVN: r82987
      Joern Rennecke committed
    • re PR c++/15862 ('enum yn' fails) · ba18e4db
      	PR c++/15862
      	* name-lookup.c (unqualified_namespace_lookup): Do not ignore type
      	bindings for undeclared built-ins.
      
      	PR c++/15862
      	* g++.dg/parse/enum1.C: New test.
      
      From-SVN: r82986
      Mark Mitchell committed
    • ChangeLog: Merge text from include/ChangeLog. · 2cf22451
      	* ChangeLog: Merge text from include/ChangeLog.
      	* include/ChangeLog: Delete.
      
      From-SVN: r82984
      Zack Weinberg committed
    • Add missing ChangeLog entries · ab71fa3f
      From-SVN: r82983
      Mark Mitchell committed
    • re PR libobjc/15901 (libobjc is not build shared if you do not supply --enable-shared) · 3f35ff6f
      2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR libobjc/15901
              * configure.ac: Do not disable shared by default.
              * configure: Regenerate.
      
      From-SVN: r82980
      Andrew Pinski committed
    • install.texi (Prerequisites): Update documentation of required versions of autoconf and automake. · ccfca4ae
      	* doc/install.texi (Prerequisites): Update documentation of
      	required versions of autoconf and automake.  Remove mention of
      	libf2c.
      
      From-SVN: r82975
      Joseph Myers committed
    • [multiple changes] · 5453d5bd
      2004-06-11  Vincent Celier  <celier@gnat.com>
      
      	* mlib-tgt-vms-alpha.adb (Build_Dynamic_Library): Issue switch -R to
      	gnatsym, when symbol policy is Restricted.
      
      	* mlib-tgt-vms-ia64.adb (Build_Dynamic_Library): Issue switch -R to
      	gnatsym, when symbol policy is Restricted.
      
      	* symbols-vms-alpha.adb (Initialize): When symbol policy is Restricted,
      	read the symbol file.
      	(Finalize): Fail in symbol policy Restricted if a symbol in the original
      	symbol file is not in the object files. Do not create a new symbol file
      	when symbol policy is Restricted.
      
      	* gnatbind.adb (Gnatbind): Initialize Snames, because Snames is used
      	in Scng.
      
      	* gnatsym.adb (Parse_Vmd_Line): Process new switch -R for symbol policy
      	Restricted.
      	(Usage): Line for new switch -R
      
      	* make.adb (Initialize): When the platform is not VMS, add the
      	directory where gnatmake is invoked in the front of the path, if
      	gnatmake is invoked with directory information.  Change the Scan_Args
      	while loop to a for loop.
      	(Recursive_Compute_Depth): Remove parameter Visited. Improve efficiency:
      	if Depth is equal or greater than the proposed depth, there is nothing
      	to do.
      	(Initialize): Call Recursive_Compute_Depth with initial Depth equal to 1
      	instead of 0.
      
      	* prj.ads: Add new symbol policy Restricted.
      
      	* prj-dect.adb (Parse_Case_Construction): Call End_Case_Construction
      	with the new parameters Check_All_Labels and Case_Location.
      
      	* prj-nmsc.adb (Ada_Check): Process new symbol policy Restricted
      	(Library_Symbol_File needs to be defined).
      
      	* prj-strt.adb (End_Case_Construction): New parameters Check_All_Labels
      	and Case_Location If Check_All_Labels is True, check that all values of
      	the string type are used, and output warning(s) if they are not.
      
      	* prj-strt.ads (End_Case_Construction): New parameters Check_All_Labels
      	and Case_Location.
      
      	* gnat_ugn.texi: Reorder subclauses in menus "Switches for gcc"
      
      	* gnat_ugn.texi: Update documentation about the library directory in
      	Library Projects.
      
      	* makegpr.adb (Display_Command): In verbose mode, also display the
      	value of the CPATH env var, when the compiler is gcc.
      	(Initialize): Change the Scan_Args while loop to a for loop
      	(Compile_Individual_Sources): Change directory to object directory
      	before compilations.
      
      	* symbols.ads: New symbol policy Restricted.
      
      2004-06-11  Olivier Hainque  <hainque@act-europe.fr>
      
      	* a-except.adb (Raise_After_Setup family): Remove. The responsibility
      	is now taken care of internally in the Exception_Propagation package
      	and does not require clients assistance any more.
      
      	* a-exexpr.adb (Is_Setup_And_Not_Propagated,
      	Set_Setup_And_Not_Propagated, and Clear_Setup_And_Not_Propagated): New
      	functions. Helpers to maintain a predicate required in the handling of
      	occurrence transfer between tasks.
      	This is now handled internally and does not require clients assistance
      	for the setup/propagate separation anymore.
      	(Setup_Exception, Propagate_Exception): Simplify the Private_Data
      	allocation strategy, handle the Setup_And_Not_Propagated predicate and
      	document.
      
      	* s-taenca.adb (Check_Exception): Use raise_with_msg instead of
      	raise_after_setup, now that everything is handled internally within the
      	setup/propagation engine.
      
      2004-06-11  Hristian Kirtchev  <kirtchev@gnat.com>
      
      	* exp_ch6.adb (Expand_Inlined_Call): Add function Formal_Is_Used_Once.
      	Add additional conditions for the case of an actual being a simple
      	name or literal. Improve inlining by preventing the generation
      	of temporaries with a short lifetime (one use).
      
      2004-06-11  Hristian Kirtchev  <kirtchev@gnat.com>
      
      	PR ada/15587
      
      	* einfo.ads: Minor comment updates for Has_Completion and
      	E_Constant list of flags.
      
      	* sem_ch3.adb (Analyze_Object_Declaration): Full constant declarations
      	and constant redeclarations now set the Has_Completion flag of their
      	defining identifiers.
      
      	* sem_ch7.adb (Analyze_Package_Spec): Add procedure
      	Inspect_Deferred_Constant_Completion.
      	Used to detect private deferred constants that have not been completed
      	either by a constant redeclaration or pragma Import. Emits error message
      	"constant declaration requires initialization expression".
      
      	* sem_prag.adb (Process_Import_Or_Interface): An Import pragma now
      	completes a deferred constant.
      
      2004-06-11  Geert Bosch  <bosch@gnat.com>
      
      	* eval_fat.adb (Decompose_Int): Fix rounding of negative numbers.
      
      	* s-fatgen.adb (Gradual_Scaling): Correct off-by-one error in
      	calculating exponent for scaling denormal numbers.
      	(Leading_Part): Properly raise Constraint_Error for zero or negative
      	Adjustment.
      	(Remainder): Properly raise Constraint_Error for zero divisor.
      
      2004-06-11  Thomas Quinot  <quinot@act-europe.fr>
      
      	* sem_util.adb: Minor reformatting.
      
      	* exp_ch2.adb (Expand_Entry_Parameter): Generate an explicit
      	dereference when accessing the entry parameter record.
      	(Check_Array_Type): Always check for possible implicit dereference.
      	(maybe_implicit_dereference): Rename to check_no_implicit_derefence.
      	Abort if a pointer is still present (denoting that an implicit
      	dereference was left in the tree by the front-end).
      
      	* sem_attr.adb (Expand_Entry_Parameter): Generate an explicit
      	dereference when accessing the entry parameter record.
      	(Check_Array_Type): Always check for possible implicit dereference.
      	(maybe_implicit_dereference): Rename to check_no_implicit_derefence.
      	Abort if a pointer is still present (denoting that an implicit
      	dereference was left in the tree by the front-end).
      
      2004-06-11  Emmanuel Briot  <briot@act-europe.fr>
      
      	* g-debpoo.adb (Deallocate, Dereference): Add prefix "error:" to error
      	message, like the compiler itself does. Easier to parse the output.
      
      	* g-debpoo.ads: (Allocate, Deallocate, Dereference): Add comments.
      
      	* gnat_ugn.texi (gnatxref, gnatfind): Clarify that source names should
      	be base names, and not includes directories.
      
      2004-06-11  Arnaud Charlet  <charlet@act-europe.fr>
      
      	* Makefile.generic ($(EXEC)): Depend on $(OBJECTS), not $(OBJ_FILES),
      	so that dependencies are properly taken into account by make.
      
      2004-06-11  Arnaud Charlet  <charlet@act-europe.fr>
      
      	PR ada/15622
      	* s-unstyp.ads, s-maccod.ads, sem_ch8.adb, s-auxdec.ads,
      	exp_intr.adb, s-auxdec-vms_64.ads: Fix typo: instrinsic -> intrinsic
      
      2004-06-11  Jerome Guitton  <guitton@act-europe.fr>
      
      	* Makefile.in (install-gnatlib): install target-specific run-time files.
      
      	* Make-lang.in: Remove obsolete targets.
      
      2004-06-11  Ed Schonberg  <schonberg@gnat.com>
      
      	* par-ch12.adb (P_Generic): Add scope before analyzing subprogram
      	specification, to catch misuses of program unit names.
      
      	* sem_res.adb (Resolve_Type_Conversion): Do not emit warnings on
      	superfluous conversions in an instance.
      
      2004-06-11  Ed Schonberg  <schonberg@gnat.com>
      
      	PR ada/15403
      
      	* sem_ch12.adb (Save_References): If operator node has been folded to
      	enumeration literal, associated_node must be discarded.
      
      2004-06-11  Jose Ruiz  <ruiz@act-europe.fr>
      
      	* s-stchop-vxworks.adb: Add required pragma Convention to
      	Task_Descriptor because it is updated by a C function.
      
      From-SVN: r82973
      Arnaud Charlet committed
    • jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to NoSuchMethodError. · d1ee8381
             * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
             NoSuchMethodError.
      
      From-SVN: r82972
      Mark Wielaard committed
    • sparc.c (sparc_gimplify_va_arg): New fn. · 5f393b25
              * config/sparc/sparc.c (sparc_gimplify_va_arg): New fn.
              (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
      
      From-SVN: r82963
      Jason Merrill committed
    • GregorianCalendar.java (computeTime): Skip buggy formulae when we already know the answer. · b092552d
      2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
      
      	* java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
      	when we already know the answer.
      	* java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
      	(setStartRule,setEndRule): Don't take abs of day number.
      	(getOffset): Clarify docs.  Add argument checks.
      	(isBefore): Take abs of day number in DOW_LE_DOM_MODE.
      	(equals,hasSameRules,toString,readObject): Use startTimeMode and
      	endTimeMode.
      
      From-SVN: r82962
      Jerry Quinn committed
    • fix typo · afeebbc0
      From-SVN: r82961
      Jason Merrill committed
    • typeclass.h: Add GPL plus exception license. · 5801c467
      2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
      
      	* typeclass.h: Add GPL plus exception license.  Add include
      	guard.
      
      From-SVN: r82960
      Jerry Quinn committed
    • gimplify.c (gimplify_modify_expr): Don't force a temporary of an aggregate_value_p type. · 3bcb4e37
              * gimplify.c (gimplify_modify_expr): Don't force a temporary
              of an aggregate_value_p type.
      
      From-SVN: r82959
      Jason Merrill committed
    • fold-const.c (fold_inf_compare): Avoid creating non-gimple code when we are in gimple form. · 3100d647
              * fold-const.c (fold_inf_compare): Avoid creating non-gimple
              code when we are in gimple form.
      
      
              * gcc.c-torture/compile/20040610-1.c: New test.
      
      From-SVN: r82958
      Jeff Law committed
    • typeck2.c (abstract_virtual_errors): Reword diagnostics, make them appear at the correct location. · da291c87
      	* typeck2.c (abstract_virtual_errors): Reword diagnostics, make them
      	appear at the correct location.
      
      	* g++.old-deja/g++.robertl/eb4.C: Adjust error markers.
      	* g++.old-deja/g++.other/decl3.C: Likewise.
      
      From-SVN: r82957
      Giovanni Bajo committed
    • Daily bump. · 57ab9ac2
      [[Split portion of a mixed commit.]]
      
      From-SVN: r82953.2
      GCC Administrator committed
    • Daily bump. · d1251b1a
      [[Split portion of a mixed commit.]]
      
      From-SVN: r82952.2
      GCC Administrator committed