1. 21 May, 2006 2 commits
  2. 20 May, 2006 17 commits
  3. 19 May, 2006 18 commits
    • 9661-1.cc: Avoid leaking the semaphores if a VERIFY fails. · 9339bda8
      2006-05-19  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/27_io/objects/wchar_t/9661-1.cc: Avoid leaking the
      	semaphores if a VERIFY fails.
      	* testsuite/27_io/objects/wchar_t/7.cc: Likewise.
      	* testsuite/27_io/objects/char/9661-1.cc: Likewise.
      	* testsuite/27_io/objects/char/7.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/seekoff/char/26777.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/close/char/4879.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
      
      From-SVN: r113916
      Paolo Carlini committed
    • re PR rtl-optimization/26855 (ICE in add_deps_for_def with -fmodulo-sched -maltivec) · 23249ac4
      2006-05-19  Daniel Berlin  <dberlin@dberlin.org>
                  Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	PR rtl-optimization/26855
      
      	* df-scan.c (mw_reg_pool, mw_link_pool): New allocation pools for
      	multiword refs.
      	(df_scan_alloc): Added code to properly handle multiword hard
      	registers and add all_blocks parameter.
      	(df_scan_free_internal, df_insn_refs_delete, df_ref_record): Added
      	code to properly handle multiword hard registers.
      	(df_rescan_blocks): Added code to remove deleted blocks from
      	bitmap.
      	(df_ref_create_structure, df_ref_record): Added code to properly
      	handle subregs.
      	(df_ref_record_1): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER
      	and set DF_REF_PARTIAL.
      	(df_defs_record): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER.
      	(df_uses_record): Added DF_REF_PARTIAL for subreg. 
      	(df_scan_add_problem): Added flags parameter.
      	(df_ref_create_structure): Changed switching structure.
      	(df_bb_refs_record): Fixed case where duplicate artificial refs
      	were created.  Changed location of flags.
      	(df_record_entry_block_defs): Added code to make stack pointer
      	live in entry block.  Refined cases where frame pointer is needed.
      	Changed location of flags.
      	(df_record_exit_block_uses, df_insn_refs_record): Changed location of flags.
      	(df_set_state): Removed function.
      	(df_grow_reg_info, df_reg_chain_unlink, df_ref_remove,
      	df_insn_create_insn_record, df_insn_refs_delete, 
      	df_ref_create_structure): Formatting changes.  
      	* df-core.c (df_mvs_dump, df_set_flags, df_clear_flags,
      	df_delete_basic_block): New function.
      	(df_init): Changed location of flags.
      	(df_add_problem): Added flags parameter and the way flags are
      	processed.
      	(df_insn_uid_debug, df_ref_debug, debug_df_defno, debug_df_ref,
      	debug_df_chain): Improved debugging output.
      	(df_insn_debug, df_insn_uid_debug): Added multiword reg support.
      	(df_refs_chain_dump): Removed df parameter.
      	(df_iterative_dataflow): Added consistency check.
      	(df_prune_to_subcfg): Made public.
      	(df_analyze_problem): Added blocks_to_init parameter and made
      	public.
      	(df_ref_record, df_bb_refs_record, df_mark_reg, 
      	 df_record_exit_block_uses): Whitespace changes.
      	(df_dump): Whitespace changes.
      	* df.h: Some reordering to remove forward references.
      	(df_ref_flags.DF_REF_MW_HARDREG, DF_REF_PARTIAL,
      	DF_REF_MUST_CLOBBER, DF_REF_MAY_CLOBBER): New fields.
      	(df_ref_flags.DF_REF_CLOBBER): Deleted field.
      	(dataflow.flags): New field.
      	(df.flag): Deleted field.
      	(df_alloc_function): Added additional bitmap parameter.
      	(df_dependent_problem_function): New type.
      	(df_problem.changeable_flags): New field.
      	(df_ref_flags.DF_REF_DIES_AFTER_THIS_USE, DF_SCAN_INITIAL,
      	DF_SCAN_GLOBAL, DF_SCAN_POST_ALLOC, df_state): Removed.
      	(df_mw_hardreg): New struct.
      	(DF_INSN_UID_MWS): New macro.
      	(df_refs_chain_dump, df_ref_debug, df_chain_dump): Removed df
      	parameter.
      	(df_add_problem, df_ru_add_problem, df_rd_add_problem,
      	df_lr_add_problem, df_ur_add_problem, df_urec_add_problem,
      	df_ri_add_problem, df_scan_add_problem): Added flags parameter.
      	(df_set_state): Removed function.
      	(df_set_flags, df_clear_flags, df_delete_basic_block) New functions.
      	* df-problems.c (df_chain_dump): Removed df parameter.
      	(df_ru_alloc, df_rd_alloc, df_lr_alloc, df_ur_alloc,
      	df_urec_alloc, df_chain_alloc, df_ri_alloc): Added all blocks
      	parameter.
      	(df_ru_alloc, df_rd_alloc): Now resets all blocks.
      	(df_rd_bb_local_compute_process_def, df_ur_bb_local_compute,
      	df_chain_create_bb, df_create_unused_note, df_ri_bb_compute):
      	Split DF_REF_CLOBBER into DF_REF_MAY_CLOBBER and
      	DF_REF_MUST_CLOBBER cases.
      	(df_ru_bb_local_compute_process_def,
      	df_rd_bb_local_compute_process_def, df_lr_bb_local_compute,
      	df_lr_bb_local_compute, df_ur_bb_local_compute,
      	df_chain_create_bb): Made subreg aware.
      	(df_ru_bb_local_compute, df_rd_bb_local_compute,
      	df_lr_bb_local_compute, df_lr_bb_local_compute,
      	df_chain_create_bb): Cleanup to use proper macros.
      	(df_ur_local_finalize, df_urec_local_finalize): Removed unnecessary
      	code to fixup bitvectors.
      	(df_ri_alloc): Cleared lifetime.
      	(df_ignore_stack_reg, df_kill_notes, df_set_notes_for_mw,
      	df_create_unused_note): New function.
      	(df_ri_bb_compute, df_ri_compute): Added code to create/update
      	REG_DEAD and REG_UNUSED notes as well as register information.
      	(df_ru_dump, df_rd_dump, df_lr_dump, df_ur_dump, df_urec_dump,
      	df_chains_dump): Fixed crash if problem was never run.
      	(df_ru_add_problem, df_rd_add_problem, df_lr_add_problem,
      	df_ur_add_problem, df_urec_add_problem, df_chain_add_problem,
      	df_ri_add_problem): Processes flags in uniform manner.
      	(df_ru_alloc, df_ru_local_compute, df_ru_confluence_n, df_ru_free,
      	df_ru_dump, df_rd_local_compute, df_rd_confluence_n, df_rd_free,
      	df_rd_dump, df_urec_free_bb_info): Formatting changes.
      	(df_ru_free_bb_info, df_ru_bb_local_compute, df_ru_dump,
      	df_rd_free_bb_info, df_rd_bb_local_compute_process_def,
      	df_rd_bb_local_compute, df_rd_dump, df_lr_free_bb_info,
      	df_lr_bb_local_compute, df_lr_local_compute, df_ur_free_bb_info,
      	df_ur_dump, df_urec_free_bb_info, df_urec_dump,
      	df_chain_create_bb, df_ri_bb_compute): Whitespace changes.
      	* modulo-sched.c (sms_schedule): Added flag parameter to calls.
      	* see.c (see_initialize_data): Ditto.
      	* final.c (rest_of_clean_state) Added regstack_completed.
      	* rtl.h (regstack_completed): Ditto.
      	* reg-stack.c (regstack_completed): Ditto.
      
      From-SVN: r113915
      Daniel Berlin committed
    • c-tree.h (default_conversion): Remove. · d593cb3d
      	* c-tree.h (default_conversion): Remove.
      	* c-common.h (default_conversion): Add.
      
      cp:
      	* typeck.c (default_conversion): Remove static.
      
      From-SVN: r113914
      Mike Stump committed
    • * g++.dg/other/unused1.C: Also match "stringz". · 59fc0cc7
      From-SVN: r113913
      Andreas Schwab committed
    • re PR c++/26433 (Syntax error using __FUNCTION__ in catch handler) · eaf6fb90
      	PR c++/26433
      	* cp-tree.h (begin_function_try_block): Change prototype.
      	(finish_function_handler_sequence): Likewise.
      	* parser.c (cp_parser_function_try_block): Adjust calls.
      	* pt.c (tsubst_expr): Adjust calls.
      	* semantics.c (begin_function_try_block): Create an artificial
      	outer scope.
      	(finish_function_handler_sequence): Close it.
      	PR c++/26433
      	* g++.dg/template/fntry1.C: New test.
      
      From-SVN: r113911
      Mark Mitchell committed
    • ChangeLog: Correct incorrect GNU Classpath version in the entry for the latest import. · affaef6e
      	* ChangeLog: Correct incorrect GNU Classpath version in the
      	entry for the latest import.
      
      From-SVN: r113910
      Ranjit Mathew committed
    • config-int.h: Delete, it is a generated file. · 48755f51
      2006-05-19  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* include/config-int.h: Delete, it is a generated file.
      
      From-SVN: r113909
      Andreas Tobler committed
    • config-int.h: Delete, it is a generated file. · 0d837fb3
      2006-05-19  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* include/config-int.h: Delete, it is a generated file.
      
      From-SVN: r113908
      Andreas Tobler committed
    • tree-vrp.c (valid_value_p): New function. · 04dce5a4
      	* tree-vrp.c (valid_value_p): New function.
      	(adjust_range_with_scev): Fail if the value of bound is not
      	simple.
      
      From-SVN: r113907
      Zdenek Dvorak committed
    • linux-unwind.h: Include <asm/unistd.h> · fa807ff6
      	* config/mips/linux-unwind.h: Include <asm/unistd.h>
      	(mips_fallback_frame_state): Use syscall numbers to determine
      	the appropriate li instruction for the current ABI.  Only use
      	__NR_sigreturn for o32.
      
      From-SVN: r113906
      Richard Sandiford committed
    • langhooks.h (struct lang_hooks): Add dwarf_name language hook. · 721a8ac5
      	* langhooks.h (struct lang_hooks): Add dwarf_name language hook.
      	* langhooks.c (lhd_dwarf_name): New function.
      	* langhooks-def.h (lhd_dwarf_name): Declare.
      	(LANG_HOOKS_DWARF_NAME): New macro, defaults to lhd_dwarf_name.
      	* dwarf2out.c (dwarf2_name): Use the dwarf_name	language hook.
      	* ada/misc.c (gnat_dwarf_name): New function.
      	(LANG_HOOKS_DWARF_NAME): Define to gnat_dwarf_name.
      
      From-SVN: r113905
      Nicolas Setton committed
    • re PR c/27673 (Gcc failed to bootstrap on Linux) · 6a1f8611
      	PR c/27673
      	* c-parser.c (c_parser_parms_declarator): Initialize had_vla_unspec.
      	(c_parser_parms_list_declarator): Likewise.
      
      From-SVN: r113904
      Mike Stump committed
    • re PR target/22209 (libgfortran unresolvable symbols on irix6.5) · baffad1f
      	* libgcc2.c (MIN_UNITS_PER_WORD): Move default definition from
      	libgcc2.h.
      	(LIBGCC2_UNITS_PER_WORD): Provide default definition, using old
      	MIN_UNITS_PER_WORD logic from libgcc2.h.  Do nothing if
      	LIBGCC2_UNITS_PER_WORD > MIN_UNITS_PER_WORD.
      	* libgcc2.h (MIN_UNITS_PER_WORD): Remove definition from here.
      	Use LIBGCC2_UNITS_PER_WORD rather than MIN_UNITS_PER_WORD to
      	determine the size of Wtype, etc.
      	* mklibgcc.in (LIB2_SIDITI_CONV_FUNCS): New argument.
      	(swfloatfuncs): New variable.
      	(dwfloatfuncs): Likewise.
      	(lib2funcs): Remove floating-point conversion functions from
      	initial assignment.  Use LIB2_SIDITI_CONV_FUNCS to determine
      	the set of conversion routines needed.  Allow entries to specify
      	an object name, filename and word size.  Update users accordingly.
      	* Makefile.in (libgcc.mk): Pass LIB2_SIDITI_CONV_FUNCS.
      	* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Define.
      
      	Revert:
      
      	2006-02-08  Roger Sayle  <roger@eyesopen.com>
      
      	PR target/22209
      	* config/fixtfdi.c: New libgcc source file.
      	* config/fixunstfdi.c: New source file.
      	* config/floatditf.c: New source file.
      	* config/floatunditf.c: New souce file.
      	* config/mips/t-iris6 (LIB2FUNCS_EXTRA): Include the new source
      	files above instead of config/mips/_tilib.c.
      	* config/mips/t-linux64 (LIB2FUNCS_EXTRA): Likewise.
      
      From-SVN: r113903
      Richard Sandiford committed
    • re PR c++/27471 (ICE within build_c_cast cp/typeck.c:5434) · 41990f96
      	PR c++/27471
      	PR c++/27506
      	* typeck.c (decay_conversion): Convert bitfields to their declared
      	types here.  Improve documentation.  Avoid use of cp_convert.
      	(default_conversion): Make it static.  Perform integral promotions
      	before lvalue-to-rvalue, function-to-pointer, and array-to-pointer
      	conversions.
      	* init.c (build_init): Remove.
      	(expand_default_init): Do not call rvalue.
      	* call.c (null_ptr_cst_p): Robustify.
      	(build_conditional_expr): Tidy.
      	* except.c (build_throw): Do not perform lvalue-to-rvalue
      	conversion on operand before initializing temporary.
      	* tree.c (convert.h): Include it.
      	(convert_bitfield_to_declared_type): Use convert_to_integer, not
      	cp_convert.
      	(rvalue): Don't convert bitfields to their declared type here.
      	* cp-tree.h (build_init): Remove.
      	(default_conversion): Likewise.
      	* typeck2.c (build_m_component_ref): Do not perform
      	lvalue-to-rvalue, function-to-pointer, or array-to-pointer
      	conversions here.  Correct error message.
      	PR c++/27471
      	PR c++/27506
      	* g++.dg/conversion/bitfield5.C: New test.
      	* g++.dg/conversion/bitfield6.C: New test.
      
      From-SVN: r113902
      Mark Mitchell committed
    • ffi.c (ffi_prep_args_pa32): Load floating point arguments from stack slot. · 84e2e370
      	* pa/ffi.c (ffi_prep_args_pa32): Load floating point arguments from
      	stack slot.
      
      From-SVN: r113901
      John David Anglin committed
    • Whitespace fixups · cc80bbd0
      From-SVN: r113900
      Mike Stump committed
    • Daily bump. · 86164ccb
      From-SVN: r113898
      GCC Administrator committed
    • t-hpux-shlib (SHLIB_LINK): Remove `-lc'. · 03be9d6b
      	* pa/t-hpux-shlib (SHLIB_LINK): Remove `-lc'.
      	* pa/pa-hpux11.h (LIB_SPEC): Update comment.
      
      From-SVN: r113894
      John David Anglin committed
  4. 18 May, 2006 3 commits