Commit Graph

96877 Commits

Author SHA1 Message Date
Paolo Carlini
28a371ae13 40925.cc: Minor comment fix.
2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/20_util/pair/40925.cc: Minor comment fix.

From-SVN: r153727
2009-10-29 19:45:36 +00:00
Paolo Carlini
d858307d7b [multiple changes]
2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/40925
	* include/bits/stl_pair.h (pair<_T1, _T2>::pair(_U1&&, _U2&&)):
	Use enable_if to remove it from the overload set when either _U1
	is not convertible to _T1 or _U2 is not convertible to _T2.
	(pair<>::pair(_U1&&, _Arg0&&, _Args&&...)): Remove.

2009-10-29  Douglas Gregor  <doug.gregor@gmail.com>

	PR libstdc++/40925
	* testsuite/20_util/pair/40925.cc: Add.

From-SVN: r153725
2009-10-29 19:26:04 +00:00
Jerry DeLisle
486024b158 re PR libfortran/41711 ([F08] BOZ edit-descr does not support reading large kind reals)
2009-10-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/41711
	* libgfortran.h: Define larger sizes for BOZ conversion	buffers.
	* io/write.c (extract_uint): Include case where size is 10 if integer
	is large enough. (write_int): Rename to	write_boz. (write_boz): Factor
	out extract_uint and delete the	conversion function.
	(btoa_big): New binary conversion function.
	(otoa_big): New octal conversion function.
	(ztoa_big): New	hexidecimal conversion function.
	(write_b): Modify to use new function.
	(write_o): Likewise.
	(write_z): Likewise.

From-SVN: r153724
2009-10-29 19:20:18 +00:00
Eric Botcazou
2d02c187d1 Fix typo
From-SVN: r153723
2009-10-29 18:41:44 +00:00
Eric Botcazou
ff67c0a549 decl.c (make_type_from_size): Do not create integer types with precision 0.
* gcc-interface/decl.c (make_type_from_size) <INTEGER_TYPE>: Do not
	create integer types with precision 0.

From-SVN: r153722
2009-10-29 18:36:21 +00:00
Eric Botcazou
d8e94f7997 decl.c (array_type_has_nonaliased_component): Swap parameters and rewrite comments.
* gcc-interface/decl.c (array_type_has_nonaliased_component): Swap
	parameters and rewrite comments.  For a derived type, return the
	setting of its parent type.
	(gnat_to_gnu_entity): Do an alias set copy for derived types if they
	are composite.  Adjust calls to above function.

From-SVN: r153721
2009-10-29 18:28:49 +00:00
Eric Botcazou
6b1cce3ada trans.c (Attribute_to_gnu): Do not return the RM size for padded types.
* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Object_Size>: Do not
	return the RM size for padded types.

From-SVN: r153720
2009-10-29 18:17:18 +00:00
Cary Coutant
d053983838 re PR debug/41700 (g++.dg/debug/dwarf2/icf.C)
gcc/ChangeLog:
	PR debug/41700
	* dwarf2out.c (dwarf2_debug_hooks): Add entries for new hook (two
	locations in the source).
        (store_vcall_insn): New function.
        (lookup_vcall_insn): New function.
        (dwarf2out_virtual_call_token): Use store_vcall_insn.
	(dwarf2out_copy_call_info): New function.
	(dwarf2out_virtual_call): Use lookup_vcall_insn.
	* emit-rtl.c (try_split): Call copy_call_info debug hook.
	* debug.h (struct gcc_debug_hooks): Add copy_call_info hook.
	* debug.c (do_nothing_debug_hooks): Add dummy entry for new hook.
	(debug_nothing_rtx_rtx): New dummy hook.
	* dbxout.c (dbx_debug_hooks): Add dummy entry for new hook.
	(xcoff_debug_hooks): Likewise.
	* sdbout.c (sdb_debug_hooks): Likewise.
	* vmsdbgout.c (vmsdbg_debug_hooks): Likewise.

From-SVN: r153719
2009-10-29 11:13:27 -07:00
David Daney
c376dbfba1 invoke.texi (mmcount-ra-address): Document new command line option.
2009-10-29  David Daney  <ddaney@caviumnetworks.com>

	* doc/invoke.texi (mmcount-ra-address): Document new command line
	option.
	* config/mips/mips.opt (mmcount-ra-address): New option.
	* config/mips/mips-protos.h (mips_function_profiler): Declare new
	function.
	* config/mips/mips.c (struct mips_frame_info): Add ra_fp_offset
	member.
	(mips_for_each_saved_gpr_and_fpr): Set ra_fp_offset.
	(mips_function_profiler): Moved from FUNCTION_PROFILER, and
	rewritten.
	* config/mips/mips.h (FUNCTION_PROFILER): Body of macro moved to
	mips_function_profiler.

2009-10-29  David Daney  <ddaney@caviumnetworks.com>

	* gcc.target/mips/mips.exp (mips_option_groups): Add
	mcount-ra-address.
	* gcc.target/mips/mmcount-ra-address-1.c: New test.
	* gcc.target/mips/mmcount-ra-address-2.c: New test.
	* gcc.target/mips/mmcount-ra-address-3.c: New test.

From-SVN: r153717
2009-10-29 17:39:52 +00:00
Steve Ellcey
2b7e2984ce re PR middle-end/37565 (__optimize__ attribute doesn't work correctly)
2009-10-29  Steve Ellcey  <sje@cup.hp.com>

	PR middle-end/37565
	PR target/38018
	* doc/tm.texi (OVERRIDE_OPTIONS): Update.
	(TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
	* optc-gen.awk (cl_target_option_restore): Include call to 
	targetm.override_options_after_change.
	* target-def.h (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
	* target.h (override_options_after_change): New.
	* c-common.c (parse_optimize_options): Call
	targetm.override_options_after_change.
	* config/ia64/ia64.c (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
	(ia64_override_options_after_change): New.
	(ia64_override_options) Add call to above.

From-SVN: r153714
2009-10-29 16:44:02 +00:00
Michael Matz
44e824996b tree-ssa-math-opts.c (execute_convert_to_rsqrt): Remove.
* tree-ssa-math-opts.c (execute_convert_to_rsqrt): Remove.
	(gate_convert_to_rsqrt): Ditto.
	(pass_convert_to_rsqrt): Ditto.
	* tree-pass.h (pass_convert_to_rsqrt): Don't declare.
	* passes.c (init_optimization_passes): Don't add pass_convert_to_rsqrt
	to pass list.

	* config/i386/i386.c (ix86_emit_swdivsf): Change evaluation order.

testsuite/
	* gcc.target/i386/sse-recip.c: Use fabsf instead of != .
	* gcc.target/i386/sse-recip-vec.c: Ditto.
	* gcc.target/i386/brokensqrt.c: New test.

From-SVN: r153713
2009-10-29 16:41:10 +00:00
Uros Bizjak
64ba093a7a * gcc.dg/testsuite/i386/cold-attribute-4.s: Remove.
From-SVN: r153707
2009-10-29 16:57:12 +01:00
Tobias Burnus
e6524a5100 re PR fortran/41777 (Wrong-code with POINTER-returning GENERIC function)
2009-10-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41777
        * trans-expr.c
        * (gfc_conv_procedure_call,gfc_conv_expr_reference):
        Use for generic EXPR_FUNCTION the attributes of the specific
        function.

2009-10-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41777
        gfortran.dg/associated_target_3.f90: New testcase.

From-SVN: r153706
2009-10-29 16:24:38 +01:00
Arnaud Charlet
eb44440252 [multiple changes]
2009-10-28  Robert Dewar  <dewar@adacore.com>

	* sem_type.adb: Minor reformatting

2009-10-28  Arnaud Charlet  <charlet@adacore.com>

	* exp_ch9.adb (Build_Task_Proc_Specification): Generate a different
	suffix for task type bodies.

2009-10-28  Ed Schonberg  <schonberg@adacore.com>

	* exp_aggr.adb (Convert_Aggr_In_Allocator): Do not look for a
	finalization list if the designated type requires no control actions,
	to prevent a useless semantic dependence on ada.tags.

From-SVN: r153705
2009-10-29 15:42:50 +01:00
Ramana Radhakrishnan
90e7755315 arm.c (find_best_start): Fix type of remainder to be unsigned .
2009-10-29  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* config/arm/arm.c (find_best_start): Fix type of remainder to   
	be unsigned .

From-SVN: r153704
2009-10-29 14:01:58 +00:00
Paolo Carlini
735c52cd86 decimal: Minor formatting and uglification fixes.
2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/decimal/decimal: Minor formatting and uglification fixes.

From-SVN: r153702
2009-10-29 13:15:51 +00:00
Paolo Carlini
dd6c7cdf81 decimal: Minor formatting and uglification fixes.
2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/decimal/decimal: Minor formatting and uglification fixes.
	* include/decimal/decimal.h: Likewise.

From-SVN: r153701
2009-10-29 13:07:21 +00:00
Rafael Avila de Espindola
584573f9f3 pr41764_0.f: New.
2009-10-29  Rafael Avila de Espindola  <espindola@google.com>

	* gfortran.dg/lto/pr41764_0.f: New.

From-SVN: r153700
2009-10-29 12:58:54 +00:00
Martin Jambor
8a1326b392 re PR tree-optimization/41775 (IPA-SRA: ice in rewrite_stmt, at tree-into-ssa.c:1302)
2009-10-29  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/41775
	* tree-sra.c (build_ref_for_offset): Unshare *expr if not NULL.
	(generate_subtree_copies): Do not unshare agg.
	(load_assign_lhs_subreplacements): Do not unshare rhs.
	(sra_modify_assign): Do not unshare exprs.
	(propagate_subacesses_accross_link): Renamed to
	propagate_subaccesses_across_link.

	* testsuite/g++.dg/torture/pr41775.C: New testcase.

From-SVN: r153699
2009-10-29 13:40:48 +01:00
Richard Earnshaw
162e4591aa arm.c (count_insns_for_constant): Rework to support counting for thumb2 immediates as well.
* arm.c (count_insns_for_constant): Rework to support counting for
	thumb2 immediates as well.
	(find_best_start): Split out from arm_gen_constant.
	(arm_gen_constant): Rework to support XOR with immediate.

From-SVN: r153698
2009-10-29 09:44:36 +00:00
Chao-ying Fu
d48a31968c mips.c (mips_emit_unary, [...]): New functions.
2009-10-29  Chao-ying Fu  <fu@mips.com>

	* config/mips/mips.c (mips_emit_unary, mips_force_unary): New
	functions.
	(mips_expand_synci_loop):  Use the length rtx to control the
	synci loop from the begin rtx that points to the first byte of
	the cache line.

From-SVN: r153696
2009-10-29 07:08:03 +00:00
GCC Administrator
18ab0fc8c7 Daily bump.
From-SVN: r153694
2009-10-29 00:17:14 +00:00
Janne Blomqvist
0e8bc11dcc PR fortran/41860 Treat vars as save with -fno-automatic
From-SVN: r153689
2009-10-29 01:25:08 +02:00
Rafael Avila de Espindola
aff4273cf1 lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of LDPL_ERROR
2009-10-28  Rafael Avila de Espindola  <espindola@google.com>

       * lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of
       LDPL_ERROR

From-SVN: r153687
2009-10-28 21:41:34 +00:00
Rafael Avila de Espindola
180a2539ee invoke.texi: Rename -use-linker-plugin -fuse-linker-plugin.
2009-10-28  Rafael Avila de Espindola  <espindola@google.com>

	* doc/invoke.texi: Rename -use-linker-plugin -fuse-linker-plugin.

From-SVN: r153686
2009-10-28 21:39:41 +00:00
Rafael Avila de Espindola
4d62b56ae8 trans-common.c (create_common): Set TREE_PUBLIC to false on fake variables.
2009-10-28  Rafael Avila de Espindola  <espindola@google.com>

	* trans-common.c (create_common): Set TREE_PUBLIC to false on
	fake variables.

2009-10-28  Rafael Avila de Espindola  <espindola@google.com>

	* dbxout.c (dbxout_common_check): Accept non public trees.
	* dwarf2out.c (fortran_common): Accept non public trees.

From-SVN: r153685
2009-10-28 20:44:47 +00:00
Rafael Avila de Espindola
da18ea94d9 common.opt (fuse-linker-plugin): New option.
2009-10-28  Rafael Avila de Espindola  <espindola@google.com>

	* common.opt (fuse-linker-plugin): New option.
	* gcc.c (LINK_COMMAND_SPEC, main): Rename use-linker-plugin to
	fuse-linker-plugin.
	* opts.c (common_handle_option): Ignore OPT_fuse_linker_plugin.

From-SVN: r153683
2009-10-28 18:40:42 +00:00
Jason Merrill
160594b061 Core issue 812, 861
Core issue 812, 861
	* name-lookup.c (set_decl_namespace): Deal properly with inline
	namespaces.
	(qualified_lookup_using_namespace): Overhaul.
	* pt.c (print_candidates): Handle getting an OVERLOAD.

change lookup algorithm

From-SVN: r153682
2009-10-28 14:39:36 -04:00
Jason Merrill
34ad94d88c * decl.c (cp_fname_init): Correct build_string argument.
From-SVN: r153681
2009-10-28 14:39:25 -04:00
Paolo Bonzini
c4bb78e9cd re PR target/39715 ([cond-optab] extra sign extensions on Thumb)
2009-10-28  Paolo Bonzini  <bonzini@gnu.org>

	PR rtl-optimization/39715
	* config/arm/arm.md (cstoresi4): Use gen_cstoresi_ltu_thumb1.
	(gen_cstoresi_ltu_thumb1): New splitter.

2009-10-28  Paolo Bonzini  <bonzini@gnu.org>

	PR rtl-optimization/39715
	* gcc.target/arm/thumb-ltu.c: New.

From-SVN: r153678
2009-10-28 16:44:08 +00:00
Richard Guenther
cfee9aa4c9 re PR lto/41808 (error: non-trivial conversion at assignment)
2009-10-28  Richard Guenther  <rguenther@suse.de>

	PR lto/41808
	PR lto/41839
	* tree-ssa.c (useless_type_conversion_p): Do not treat
	conversions to pointers to incomplete types as useless.
	* gimple.c (gimple_types_compatible_p): Compare struct tags,
	not typedef names.

	* gcc.dg/lto/20091027-1_0.c: New testcase.
	* gcc.dg/lto/20091027-1_1.c: Likewise.
	* g++.dg/lto/20091026-1_0.C: Likewise.
	* g++.dg/lto/20091026-1_1.C: Likewise.
	* g++.dg/lto/20091026-1_a.h: Likewise.

From-SVN: r153671
2009-10-28 14:48:34 +00:00
Jakub Jelinek
a1c6569544 re PR middle-end/41837 (Using '-O -fipa-struct-reorg -fwhole-program -fprofile-generate' gives 'internal compiler error: Segmentation fault')
PR middle-end/41837
	* ipa-struct-reorg.c (find_field_in_struct_1): Return NULL if
	fields don't have DECL_NAME.

	* gcc.dg/pr41837.c: New test.

From-SVN: r153670
2009-10-28 15:45:03 +01:00
Jakub Jelinek
f46835f5ad re PR debug/41801 (VTA: ICE in loc_cmp.)
PR debug/41801
	* builtins.c (get_builtin_sync_mem): Expand loc in ptr_mode,
	call convert_memory_address on addr.

	* g++.dg/ext/sync-3.C: New test.

From-SVN: r153669
2009-10-28 15:43:04 +01:00
Jakub Jelinek
6ac719d38e re PR target/41762 (internal compiler error when compiling xorg-server)
PR target/41762
	* config/i386/i386.c (ix86_pic_register_p): Don't call
	rtx_equal_for_cselib_p for VALUEs discarded as useless.

	* gcc.dg/pr41762.c: New test.

From-SVN: r153667
2009-10-28 15:39:06 +01:00
Jakub Jelinek
7cf720118d var-tracking.c (emit_note_insn_var_location): Don't call the second vt_expand_loc unnecessarily when...
* var-tracking.c (emit_note_insn_var_location): Don't call the second
	vt_expand_loc unnecessarily when location is not a register nor
	memory.

From-SVN: r153666
2009-10-28 15:37:24 +01:00
Richard Sandiford
e70545b0a5 var-tracking.c (emit_note_insn_var_location): Get the mode of a variable part from its REG, MEM or VALUE.
* var-tracking.c (emit_note_insn_var_location): Get the mode of
	a variable part from its REG, MEM or VALUE.

From-SVN: r153665
2009-10-28 15:36:28 +01:00
Richard Guenther
f883d99770 gimple.c (gimple_get_alias_set): Fix comment typo.
2009-10-28  Richard Guenther  <rguenther@suse.de>

        * gimple.c (gimple_get_alias_set): Fix comment typo.

From-SVN: r153664
2009-10-28 14:33:17 +00:00
Arnaud Charlet
68523ddb28 [multiple changes]
2009-10-28  Bob Duff  <duff@adacore.com>

	* s-fileio.adb: Give more information in exception messages.

2009-10-28  Robert Dewar  <dewar@adacore.com>

	* gnat_ugn.texi: Document new -gnatyt requirement for space after right
	paren if next token starts with digit or letter.
	* styleg.adb (Check_Right_Paren): New rule for space after if next
	character is a letter or digit.

From-SVN: r153663
2009-10-28 15:22:09 +01:00
Arnaud Charlet
66a63e0d32 [multiple changes]
2009-10-28  Thomas Quinot  <quinot@adacore.com>

	* s-crtl.ads (System.CRTL.strerror): New function.

2009-10-28  Ed Schonberg  <schonberg@adacore.com>

	* sem_type.adb: Add guard to recover some type errors.

From-SVN: r153662
2009-10-28 15:14:05 +01:00
Arnaud Charlet
fc475a082c [multiple changes]
2009-10-28  Vincent Celier  <celier@adacore.com>

	* prj-nmsc.adb (Add_To_Or_Remove_From_List): New name of procedure
	Add_If_Not_In_List to account to the fact that a directory may be
	removed from the list. Only remove directory if Removed is True.

2009-10-28  Gary Dismukes  <dismukes@adacore.com>

	* a-textio.ads, a-textio.ads: Put back function EOF_Char in private
	part. Put back body of function EOF_Char.
	* a-tienau.adb: Remove with of Interfaces.C_Streams and change EOF back
	to EOF_Char.

2009-10-28  Emmanuel Briot  <briot@adacore.com>

	* prj-tree.adb (Free): Fix memory leak.

2009-10-28  Thomas Quinot  <quinot@adacore.com>

	* s-fileio.adb: Minor reformatting

From-SVN: r153661
2009-10-28 15:09:12 +01:00
Arnaud Charlet
4d8f8ffee4 * gcc-interface/Make-lang.in: Update dependencies.
From-SVN: r153660
2009-10-28 15:07:16 +01:00
Richard Guenther
14cf68d935 tree.c (free_lang_data_in_type): Do not call get_alias_set.
2009-10-28  Richard Guenther  <rguenther@suse.de>

	* tree.c (free_lang_data_in_type): Do not call get_alias_set.
	(free_lang_data): Unconditionally compute alias sets for all
	standard integer types.  Bail out if gate bailed out previously.
	Do not reset the types_compatible_p langhook.
	(gate_free_lang_data): Remove.
	(struct pass_ipa_free_lang_data): Enable unconditionally.
	* gimple.c (gimple_get_alias_set): Use the same alias-set for
	all pointer types.

From-SVN: r153659
2009-10-28 13:52:20 +00:00
Arnaud Charlet
69ba91edf4 [multiple changes]
2009-10-28  Robert Dewar  <dewar@adacore.com>

	* exp_attr.adb, exp_ch9.adb, prj-nmsc.adb, tbuild.adb, ali.adb,
	types.ads: Minor reformatting

2009-10-28  Tristan Gingold  <gingold@adacore.com>

	* init.c: Fix __gnat_error_handler for Darwin10 (Snow Leopard)

From-SVN: r153658
2009-10-28 14:50:10 +01:00
Arnaud Charlet
5f3f175d79 [multiple changes]
2009-10-28  Thomas Quinot  <quinot@adacore.com>

	* exp_ch4.adb (Expand_N_Type_Conversion): Perform Integer promotion for
	the operand of the unary minus and ABS operators.

	* sem_type.adb (Covers): A concurrent type and its corresponding record
	type are compatible.
	* exp_attr.adb (Expand_N_Attribute_Reference): Do not rewrite a 'Access
	attribute reference for the current instance of a protected type while
	analyzing an access discriminant constraint in a component definition.
	Such a reference is handled in the corresponding record's init proc,
	while initializing the constrained component.
	* exp_ch9.adb (Expand_N_Protected_Type_Declaration): When creating the
	corresponding record type, propagate components'
	Has_Per_Object_Constraint flag.
	* exp_ch3.adb (Build_Init_Procedure.Build_Init_Statements):
	For a concurrent type, set up concurrent aspects before initializing
	components with a per object constrain, because they may be controlled,
	and their initialization may call entries or protected subprograms of
	the enclosing concurrent object.

2009-10-28  Emmanuel Briot  <briot@adacore.com>

	* prj-nmsc.adb (Add_If_Not_In_List): New subprogram, for better sharing
	of code.
	(Find_Source_Dirs): resolve links if Opt.Follow_Links_For_Dirs when
	processing the directories specified explicitly in the project file.

From-SVN: r153657
2009-10-28 14:41:05 +01:00
Arnaud Charlet
b87971f33e [multiple changes]
2009-10-28  Robert Dewar  <dewar@adacore.com>

	* a-ztexio.adb, a-ztexio.ads, a-witeio.ads, a-witeio.adb,
	a-textio.ads, a-textio.adb: Reorganize (moving specs from private part
	to body).
	(Initialize_Standard_Files): New procedure.
	* a-tienau.adb: Minor change to make EOF directly visible
	* a-tirsfi.ads, a-wrstfi.adb, a-wrstfi.ads, a-zrstfi.adb,
	a-zrstfi.ads, a-tirsfi.adb: New unit, initial version.
	* gnat_rm.texi: Add documentation for
	Ada.[Wide_[Wide_]]Text_IO.Reset_Standard_Files.
	* Makefile.rtl: Add entries for
	Ada.[Wide_[Wide_]]Text_IO.Reset_Standard_Files

2009-10-28  Thomas Quinot  <quinot@adacore.com>

	* exp_ch9.ads: Minor reformatting
	* sem_ch3.adb: Minor reformatting
	* sem_aggr.adb: Minor reformatting.
	* sem_attr.adb: Minor reformatting
	* tbuild.adb, tbuild.ads, par-ch4.adb, exp_ch4.adb (Tbuild.New_Op_Node):
	New subprogram.
	Minor code reorganization/factoring.

From-SVN: r153656
2009-10-28 14:31:51 +01:00
Richard Guenther
1307c758a3 re PR middle-end/41855 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c:855)
2009-10-28  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41855
	* tree-ssa-alias.c (refs_may_alias_p_1): Deal with CONST_DECLs
	(ref_maybe_used_by_call_p_1): Fix bcopy handling.
	(call_may_clobber_ref_p_1): Likewise.
	* tree-ssa-structalias.c (find_func_aliases): Likewise.
	* alias.c (nonoverlapping_memrefs_p): Deal with CONST_DECLs.

	* gfortran.dg/lto/20091028-1_0.f90: New testcase.
	* gfortran.dg/lto/20091028-1_1.c: Likewise.
	* gfortran.dg/lto/20091028-2_0.f90: Likewise.
	* gfortran.dg/lto/20091028-2_1.c: Likewise.

From-SVN: r153655
2009-10-28 13:28:32 +00:00
Paolo Carlini
de5b9f12c5 stl_iterator_base_funcs.h: (next): Change template parameter name consistently with the resolution of DR...
2009-10-28  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/stl_iterator_base_funcs.h: (next): Change
	template parameter name consistently with the resolution
	of DR 1011 ([Ready] in Santa Cruz).

From-SVN: r153654
2009-10-28 13:07:00 +00:00
Paolo Bonzini
e5bb5009e4 re PR rtl-optimization/41812 (test 20071030-1.c fails execution on powerpc64)
2009-10-28  Paolo Bonzini  <bonzini@gnu.org>

	PR rtl-optimization/41812

	Revert:
	2009-06-27  Paolo Bonzini  <bonzini@gnu.org>

	* df-problems.c (df_md_scratch): New.
	(df_md_alloc, df_md_free): Allocate/free it.
	(df_md_local_compute): Only include live registers in init.
	(df_md_transfer_function): Prune the in-set computed by
	the confluence function, and the gen-set too.

From-SVN: r153652
2009-10-28 12:37:30 +00:00
Paolo Bonzini
5d49d0ea6c re PR target/39715 ([cond-optab] extra sign extensions on Thumb)
2009-10-28  Paolo Bonzini  <bonzini@gnu.org>

	PR rtl-optimization/39715
	* combine.c (simplify_comparison): Use extensions to
	widen comparisons.  Try an ANDing first.

testsuite:
2009-10-28  Paolo Bonzini  <bonzini@gnu.org>

	PR rtl-optimization/39715
	* gcc.target/arm/thumb-bitfld1.c: New.

From-SVN: r153651
2009-10-28 10:27:15 +00:00
Paolo Bonzini
582021baa7 re PR target/40741 (code size explosion for integer comparison)
2009-10-28  Paolo Bonzini  <bonzini@gnu.org>

	PR rtl-optimization/40741
	* config/arm/arm.c (thumb1_rtx_costs): IOR or XOR with
	a small constant is cheap.
	* config/arm/arm.md (andsi3, iorsi3): Try to place the result of
	force_reg on the LHS.
	(xorsi3): Likewise, and split the XOR if the constant is complex
	and not in Thumb mode.

2009-10-28  Paolo Bonzini  <bonzini@gnu.org>

	PR rtl-optimization/40741
	* gcc.target/arm/thumb-branch1.c: New.

From-SVN: r153650
2009-10-28 10:17:29 +00:00