Commit Graph

99580 Commits

Author SHA1 Message Date
Jonathan Wakely
eba3a8cfe9 status_cxx200x.xml: Update Threads status.
2010-04-25  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* doc/xml/manual/status_cxx200x.xml: Update Threads status.
	* doc/html/manual/status.html: Regenerate.

From-SVN: r158713
2010-04-25 23:41:49 +01:00
H.J. Lu
78ba4ec557 Reformat.
From-SVN: r158712
2010-04-25 14:58:00 -07:00
Joseph Myers
2778d7667c c-common.c (flag_isoc1x): New.
gcc:
	* c-common.c (flag_isoc1x): New.
	(flag_isoc99): Update comment.
	* c-common.h (flag_isoc1x): New.
	(flag_isoc99): Update comment.
	* c-cppbuiltin.c (builtin_define_float_constants): Also define
	__<type>_DECIMAL_DIG__.
	* c-opts.c (set_std_c1x): New.
	(c_common_handle_option): Handle -std=c1x and -std=gnu1x.
	(set_std_c89, set_std_c99): Also set flag_isoc1x to 0.
	* c.opt (-std=c1x, -std=gnu1x): New options.
	* doc/cpp.texi: Mention -std=c1x.
	* doc/cppopts.texi (-std=c1x, -std=gnu1x): Document.
	* doc/extend.texi: Mention -std=c1x and -std=gnu1x.
	* doc/invoke.texi (-std=c1x, -std=gnu1x): Document.
	* doc/standards.texi: Mention C1X.
	* ginclude/float.h (FLT_DECIMAL_DIG, DBL_DECIMAL_DIG,
	LDBL_DECIMAL_DIG, FLT_HAS_SUBNORM, DBL_HAS_SUBNORM,
	LDBL_HAS_SUBNORM, FLT_TRUE_MIN, DBL_TRUE_MIN, LDBL_TRUE_MIN):
	Define for C1X.

gcc/testsuite:
	* gcc.dg/c90-float-1.c: Also test that C1X macros are not defined.
	* gcc.dg/c99-float-1.c: Also test that C1X macros are not defined.
	* gcc.dg/c1x-float-1.c: New test.

libcpp:
	* include/cpplib.h (enum c_lang): Add CLK_GNUC1X and CLK_STDC1X.
	* init.c (lang_defaults): Add entries for new language variants.
	(cpp_init_builtins): Define __STDC_VERSION__ to 201000L for C1X
	variants.

From-SVN: r158711
2010-04-25 22:54:22 +01:00
H.J. Lu
045d4002b7 Scan "lea\[lq\]?\[ \t\]" instead of "lea\[ \t\]".
2010-04-25  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.target/i386/pr43766.c: Scan "lea\[lq\]?\[ \t\]" instead
	of "lea\[ \t\]".

From-SVN: r158710
2010-04-25 14:48:55 -07:00
Steven G. Kargl
d64ad42ba4 default_format_denormal_2.f90: Remove XFAIL for FreeBSD.
2010-04-25  Steven G. Kargl  <kargl@gcc.gnu.org>

   * gfortran.dg/default_format_denormal_2.f90: Remove XFAIL for FreeBSD.
   * gfortran.dg/default_format_denormal_1.f90: ditto
   * gfortran.dg/default_format_2.f90: ditto

From-SVN: r158709
2010-04-25 21:45:21 +00:00
Steven G. Kargl
211b04406b pr43505.f90: Clean up .mod file.
2010-04-25  Steven G. Kargl  <kargl@gcc.gnu.org>
 
	 *gfortran.dg/pr43505.f90: Clean up .mod file.
	 *gfortran.dg/host_assoc_blockdata_1.f90
	 *gfortran.dg/pr41347.f90
	 *gfortran.dg/internal_pack_4.f90
	 *gfortran.dg/proc_decl_23.f90
	 *gfortran.dg/recursive_check_3.f90
	 *gfortran.dg/intent_out_3.f90
	 *gfortran.dg/assignment_2.f90
	 *gfortran.dg/pr41928.f90
	 *gfortran.dg/pr42166.f90
	 *gfortran.dg/private_type_12.f90
	 *gfortran.dg/graphite/pr42185.f90
	 *gfortran.dg/graphite/pr42186.f90
	 *gfortran.dg/graphite/pr40982.f90
	 *gfortran.dg/graphite/id-2.f90
	 *gfortran.dg/graphite/id-4.f90
	 *gfortran.dg/graphite/pr42050.f90
	 *gfortran.dg/graphite/id-18.f90
	 *gfortran.dg/graphite/pr42393-1.f90
	 *gfortran.dg/graphite/pr41924.f90
	 *gfortran.dg/graphite/pr42393.f90
	 *gfortran.dg/graphite/pr37980.f90
	 *gfortran.dg/graphite/pr38953.f90
	 *gfortran.dg/graphite/pr42180.f90
	 *gfortran.dg/graphite/pr42181.f90
	 *gfortran.dg/where_operator_assign_4.f90
	 *gfortran.dg/select_type_4.f90
	 *gfortran.dg/redefined_intrinsic_assignment.f90
	 *gfortran.dg/host_assoc_blockdata_2.f90
	 *gfortran.dg/lto/pr40725_0.f03
	 *gfortran.dg/elemental_args_check_2.f90
	 *gfortran.dg/whole_file_11.f90
	 *gfortran.dg/private_type_11.f90
	 *gfortran.dg/vect/vect-gems.f90
	 *gfortran.dg/vect/fast-math-real8-pr40801.f90

From-SVN: r158708
2010-04-25 21:29:37 +00:00
H.J. Lu
9b41915f1e Scan "lea\[ \t\]" instead of "lea".
2010-04-25  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.target/i386/pr43766.c: Scan "lea\[ \t\]" instead of "lea".

From-SVN: r158706
2010-04-25 09:04:22 -07:00
Eric Botcazou
b5bba4a6c1 exp_dbug.ads: Fix outdated description.
* exp_dbug.ads: Fix outdated description.  Mention link between XVS
	and XVZ objects.
	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Set
	XVZ variable as unit size of XVS type.
	(maybe_pad_type): Likewise.

From-SVN: r158703
2010-04-25 09:42:41 +00:00
Eric Botcazou
82d6f53279 trans.c (gnat_to_gnu): Do not use memmove if the array type is bit-packed.
* gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Do not
	use memmove if the array type is bit-packed.

From-SVN: r158701
2010-04-25 09:22:35 +00:00
Uros Bizjak
3d416346cf gmon-sol2.c (_mcleanup): Change format string placeholder from 0x%x to %#x.
* config/i386/gmon-sol2.c (_mcleanup): Change format string
	placeholder from 0x%x to %#x.
	* config/i386/i386elf.h (ASM_OUTPUT_ASCII): Ditto.
	* config/i386/i386-interix.h (ASM_OUTPUT_ASCII): Ditto.
	* config/i386/att.h (ASM_OUTPUT_ASCII): Ditto.
	* config/i386/sysv4.h (ASM_OUTPUT_ASCII): Ditto.
	* config/i386/i386.c (ix86_target_string): Ditto.
	(output_pic_addr_const): Ditto.
	(print_operand): Ditto.

From-SVN: r158699
2010-04-25 10:11:46 +02:00
Paolo Bonzini
910ed7dc70 combine.c (find_split_point): Add third argument.
2010-04-25  Paolo Bonzini  <bonzini@gnu.org>

	* combine.c (find_split_point): Add third argument.  Use it
	to find nested multiply-accumulate instructions.  Adjust calls.
	(try_combine): Adjust call to find_split_point.

testsuite:
2010-04-25  Paolo Bonzini  <bonzini@gnu.org>

	* gcc.target/arm/mla-1.c: New test.

From-SVN: r158698
2010-04-25 07:52:43 +00:00
GCC Administrator
16aee0d582 Daily bump.
From-SVN: r158697
2010-04-25 00:17:30 +00:00
Steven G. Kargl
8583a5123e re PR fortran/30073 (Array out of bounds gives name of RHS array not LHS array)
2010-04-24  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/30073
        PR fortran/43793
        * trans-array.c (gfc_trans_array_bound_check): Use TREE_CODE instead
        of mucking with a tree directly.

2010-04-24  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/30073
        PR fortran/43793
        gfortran.dg/pr43793.f90: New test.

From-SVN: r158692
2010-04-24 20:32:04 +00:00
Gerald Pfeifer
423b279996 * doc/contrib.texi (Contributors): Add Dodji Seketeli.
From-SVN: r158690
2010-04-24 19:34:52 +00:00
Bernd Schmidt
27d0d96a8f re PR tree-optimization/41442 (missed optimization for boolean expression)
gcc/
	PR tree-optimization/41442
	* fold-const.c (merge_truthop_with_opposite_arm): New function.
	(fold_binary_loc): Call it.

gcc/testsuite/
	PR tree-optimization/41442
	* gcc.target/i386/pr41442.c: New test.

From-SVN: r158689
2010-04-24 18:53:47 +00:00
Hans-Peter Nilsson
1cef01a086 re PR fortran/43832 (OPEN statement not diagnosing missing unit number)
PR fortran/43832
	* gfortran.dg/fgetc_3.f90: Delete bogus test.

From-SVN: r158688
2010-04-24 17:00:52 +00:00
Kai Tietz
01d42eb543 unix.c (tempfile): Correct logic for mktemp case.
2010-04-24  Kai Tietz  <kai.tietz@onevision.com>

        PR/43844
        * io/unix.c (tempfile): Correct logic for mktemp case.

From-SVN: r158686
2010-04-24 14:24:33 +02:00
Jerry DeLisle
a3ba29377f re PR fortran/43832 (OPEN statement not diagnosing missing unit number)
2010-04-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/43832
	* gfortran.dg/open_nounit.f90: New test.

From-SVN: r158685
2010-04-24 12:07:07 +00:00
Jerry DeLisle
2b8f356c73 re PR fortran/43832 (OPEN statement not diagnosing missing unit number)
2010-04-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/43832
	* io.c (gfc_match_open): Remove branch to syntax error. Add call to
	gfc_error with new error message.

From-SVN: r158684
2010-04-24 12:04:09 +00:00
Paul Thomas
991b4da122 re PR fortran/43841 (Missing temporary for ELEMENTAL function call)
2010-04-24  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/43841
	PR fortran/43843
	* trans-expr.c (gfc_conv_expr): Supply an address expression for
	GFC_SS_REFERENCE.
	(gfc_conv_expr_reference): Call gfc_conv_expr and return for
	GFC_SS_REFERENCE.
	* trans-array.c (gfc_add_loop_ss_code): Store the value rather
	than the address of a GFC_SS_REFERENCE.
	* trans.h : Change comment on GFC_SS_REFERENCE. 

2010-04-24  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/43841
	PR fortran/43843
	* gfortran.dg/elemental_scalar_args_1.f90 : New test.

From-SVN: r158683
2010-04-24 09:28:32 +00:00
Jonathan Wakely
7b65808d33 unique_ptr (unique_ptr::pointer): Use deleter's pointer type if it exists.
2010-04-24  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* include/bits/unique_ptr (unique_ptr::pointer): Use deleter's
	pointer type if it exists.
	* testsuite/20_util/unique_ptr/requirements/pointer_type.cc: New.
	* testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
	* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.

From-SVN: r158682
2010-04-24 10:21:23 +01:00
Pedro Alves
3009276c37 filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR...
2010-04-23  Pedro Alves  <pedro@codesourcery.com>

include/
* filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
always define it independently of host, add `dos_based' parameter,
and handle it.
(HAS_DRIVE_SPEC_1): Rename from HAS_DRIVE_SPEC, always define it
independently of host, add `dos_based' parameter, and handle it.
(IS_ABSOLUTE_PATH_1): Rename from IS_ABSOLUTE_PATH, always define
it independently of host, add `dos_based' parameter, and handle
it.
(IS_DOS_DIR_SEPARATOR, IS_DOS_ABSOLUTE_PATH)
(IS_UNIX_DIR_SEPARATOR, IS_UNIX_ABSOLUTE_PATH)
(HAS_DOS_DRIVE_SPEC): New.
(HAS_DRIVE_SPEC): Reimplement on top of HAS_DRIVE_SPEC_1.
(IS_DIR_SEPARATOR): Reimplement on top of IS_DIR_SEPARATOR_1.
(IS_ABSOLUTE_PATH): Reimplement on top of IS_ABSOLUTE_PATH_1.
* libiberty.h (dos_lbasename, unix_lbasename): Declare.

libiberty/
* lbasename.c (lbasename): Split into ...
(unix_lbasename, dos_basename): ... these.
(lbasename): ... and reimplement on top of them.
* Makefile.in (lbasename.o): Add dependency on
$(INCDIR)/filenames.h.

From-SVN: r158681
2010-04-23 20:55:41 -04:00
GCC Administrator
5b29e4f6dd Daily bump.
From-SVN: r158680
2010-04-24 00:17:08 +00:00
Manuel López-Ibáñez
c7d0de89bb toplev.c (general_init): Set default for fdiagnostics-show-option.
2010-04-23  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	* toplev.c (general_init): Set default for
	fdiagnostics-show-option.
	* opts.c (common_handle_option): Allow disabling it.
	* common.opt (fdiagnostics-show-option): Add Var. Enabled by
	default.
testsuite/	
	* gcc.dg/Wconversion-integer.c: Update.

From-SVN: r158676
2010-04-23 17:14:27 +00:00
Eric Botcazou
915f592197 expr.c (expand_expr_real_1): Only use conversion between modes if both types are integral.
* expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Only use conversion
	between modes if both types are integral.

From-SVN: r158675
2010-04-23 16:16:50 +00:00
Richard Guenther
ed0f0c0f24 re PR lto/41550 (Fix security and portability issues in lto-plugin)
2010-04-23  Richard Guenther  <rguenther@suse.de>

	PR lto/41550
	* lto-plugin.c (parse_table_entry): Use xstrdup and xrealloc.
	(translate): Likewise.
	(all_symbols_read_handler): Likewise.
	(claim_file_handler): Likewise.
	(process_option): Likewise.
	(add_output_files): Likewise.  Remove filename length limit.

From-SVN: r158673
2010-04-23 15:49:10 +00:00
Richard Guenther
4e708ff754 re PR tree-optimization/43572 (FAIL: gfortran.dg/PR19872.f execution test; formatted read - wrong numbers)
2010-04-23  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43572
	* tree-tailcall.c (find_tail_calls): Allow PARM_DECL uses.

From-SVN: r158671
2010-04-23 15:46:23 +00:00
Richard Guenther
7a38245d60 re PR middle-end/41734 (ICE in cgraph_mark_functions_to_output, at cgraphunit.c:1137 with -fwhopr)
2010-04-23  Richard Guenther  <rguenther@suse.de>

	PR lto/41734
	* gcc.dg/lto/20100423-2_0.c: New testcase.
	* gcc.dg/lto/20100423-2_0.c: Likewise.

From-SVN: r158670
2010-04-23 15:32:22 +00:00
Richard Guenther
8fd8a06f0e re PR lto/43455 (ICE in fold_convert_loc, at fold-const.c:2670 with -O2 -flto)
2010-04-23  Richard Guenther  <rguenther@suse.de>

	PR lto/43455
	* tree-inline.c (tree_can_inline_p): Also check compatibility
	of return types.

	* gcc.dg/lto/20100423-1_0.c: New testcase.
	* gcc.dg/lto/20100423-1_1.c: Likewise.

From-SVN: r158669
2010-04-23 15:18:24 +00:00
Martin Jambor
7762001162 re PR tree-optimization/43846 (array vs members, total scalarization issues)
2010-04-23  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/43846
	* tree-sra.c (struct access): New flag grp_assignment_read.
	(build_accesses_from_assign): Set grp_assignment_read.
	(sort_and_splice_var_accesses): Propagate grp_assignment_read.
	(enum mark_read_status): New type.
	(analyze_access_subtree): Propagate grp_assignment_read, create
	accesses also if both direct_read and root->grp_assignment_read.

	* testsuite/gcc.dg/tree-ssa/sra-10.c: New test.

From-SVN: r158668
2010-04-23 16:52:06 +02:00
Martin Jambor
5c20baf14a re PR middle-end/43835 (IPA-SRA doesn't rewrite attributes)
2010-04-23  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/43835
	* tree-sra.c (ipa_sra_preliminary_function_checks): Check that the
	function does not have type attributes.

	* testsuite/gcc.c-torture/execute/pr43835.c: New test.

From-SVN: r158667
2010-04-23 16:43:10 +02:00
Richard Guenther
c67f69a3f3 re PR lto/42653 (ICE with -g and -flto (requires both flags to crash))
2010-04-23  Richard Guenther  <rguenther@suse.de>

	PR lto/42653
	* tree.c (free_lang_data_in_decl): Do not reset DECL_CONTEXT
	of FUNCTION_DECLs.

	* g++.dg/lto/20100423-1_0.C: New testcase.

From-SVN: r158666
2010-04-23 14:20:59 +00:00
Laurynas Biveinis
086058c2a6 sese.h (create_if_region_on_edge): Remove.
2010-04-22  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

	* sese.h (create_if_region_on_edge): Remove.

	* sese.c (create_if_region_on_edge): Make static.

	* tree-inline.c: Do not include ggc.h.

	* expr.c: Do not include ggc.h.

	* Makefile.in (tree-inline.o, expr.o): Remove $(GGC_H) from
	dependencies.

From-SVN: r158661
2010-04-23 06:02:06 +00:00
GCC Administrator
3c0fe946a6 Daily bump.
From-SVN: r158660
2010-04-23 00:17:10 +00:00
Kaz Kojima
fc9c984d84 re PR target/43744 (SH: Error: pcrel too far)
PR target/43744
	* config/sh/sh.c (find_barrier): Don't emit a constant pool
	in the middle of insns for casesi_worker_2.

From-SVN: r158655
2010-04-22 22:02:55 +00:00
Uros Bizjak
d5dceab84c interchange-0.c: Fix dg-final directive.
* gcc.dg/graphite/interchange-0.c: Fix dg-final directive.

From-SVN: r158653
2010-04-22 21:50:23 +02:00
David Edelsohn
cf42f09539 * config/rs6000/x-aix: Override LDFLAGS for all COMPILERS.
From-SVN: r158652
2010-04-22 14:20:35 -04:00
Ira Rosen
5bdd895c9b Fix PR number in the previous commit to 43842.
From-SVN: r158651
2010-04-22 18:10:43 +00:00
Ira Rosen
74500b3e10 re PR tree-optimization/43842 (ice in vect_create_epilog_for_reduction)
PR tree-optimization/43842
	* tree-vect-loop.c (vect_create_epilog_for_reduction): Handle 
	loop unrolling in update of exit phis. Fix comment.
	* tree-vect-slp.c (vect_analyze_slp): Check that there are at
	least two reduction statements in the loop before starting SLP 
	analysis.

From-SVN: r158650
2010-04-22 18:03:01 +00:00
Bernd Schmidt
8e80fcacfa wmul-1.c: Add dg-require-effective-target ilp32.
* gcc.target/i386/wmul-1.c: Add dg-require-effective-target ilp32.
	* gcc.target/i386/wmul-2.c: Likewise.

From-SVN: r158649
2010-04-22 16:55:08 +00:00
Kaveh R. Ghazi
79b9f413ce builtin-cproj-3.c: Rename and move ...
* gcc.dg/torture/builtin-cproj-3.c: Rename and move ...
        * gcc.dg/cproj-fails-with-broken-glibc.c: ... to here.

From-SVN: r158647
2010-04-22 15:13:51 +00:00
Nick Clifton
d5f4a52733 * config/stormy16/stormy16-lib2.c (__ucmpsi2): Fix thinko.
From-SVN: r158646
2010-04-22 14:28:16 +00:00
Alexander Monakov
44741f0366 tree-ssa-reassoc.c (eliminate_plus_minus_pair): Handle BIT_NOT_EXPR to simplify a + ~a.
2010-04-22  Alexander Monakov  <amonakov@ispras.ru>

	* tree-ssa-reassoc.c (eliminate_plus_minus_pair): Handle BIT_NOT_EXPR
	to simplify a + ~a.

	* gfortran.dg/reassoc_6.f: New testcase.

From-SVN: r158645
2010-04-22 16:44:30 +04:00
Laurynas Biveinis
f873b20530 tree-parloops.c (loop_parallel_p): New argument parloop_obstack.
2010-04-22  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

	* tree-parloops.c (loop_parallel_p): New argument
	parloop_obstack.  Pass it down.
	(parallelize_loops): New variable parloop_obstack.  Initialize it,
	pass it down, free it.

	* tree-loop-linear.c (linear_transform_loops): Pass down
	lambda_obstack.

	* tree-data-ref.h (lambda_compute_access_matrices): New argument
	of type struct obstack *.

	* tree-data-ref.c (analyze_subscript_affine_affine): New variable
	scratch_obstack.  Initialize it, pass down, free it.

	* lambda.h (lambda_loop_new): Remove.
	(lambda_matrix_new, lambda_matrix_inverse)
	(lambda_trans_matrix_new, lambda_trans_matrix_inverse): New
	argument of type struct obstack *.

	* lambda-trans.c (lambda_trans_matrix_new): New argument
	lambda_obstack.  Pass it down, use obstack allocation for ret.
	(lambda_trans_matrix_inverse): New argument lambda_obstack.  Pass
	it down.

	* lambda-mat.c (lambda_matrix_get_column)
	(lambda_matrix_project_to_null): Remove.
	(lambda_matrix_new): New argument lambda_obstack.  Use obstack
	allocation for mat.
	(lambda_matrix_inverse_hard, lambda_matrix_inverse): New argument
	lambda_obstack.

	* lambda-code.c (lambda_loop_new): New function.
	(lambda_lattice_new, compute_nest_using_fourier_motzkin)
	(lambda_compute_auxillary_space, lambda_compute_target_space)
	(lambda_loopnest_transform, gcc_loop_to_lambda_loop)
	(lambda_loopnest_to_gcc_loopnest): Pass down lambda_obstack.
	(build_access_matrix): New argument lambda_obstack.  Use obstack
	allocation for am.
	(lambda_compute_step_signs, lambda_compute_access_matrices): New
	argument lambda_obstack.  Pass it down.

From-SVN: r158644
2010-04-22 12:42:15 +00:00
Bernd Schmidt
b99279f36b optabs.h (expand_widening_mult): Declare.
* optabs.h (expand_widening_mult): Declare.

From-SVN: r158643
2010-04-22 11:47:52 +00:00
Bernd Schmidt
9193b1b4cc re PR middle-end/29274 (not using mulsidi3)
PR middle-end/29274
	* gcc.target/arm/wmul-1.c: New test.
	* gcc.target/arm/wmul-2.c: New test.

From-SVN: r158642
2010-04-22 11:25:44 +00:00
Richard Guenther
b3be269469 re PR tree-optimization/43845 (Segfault when using __attribute__((const)), versions 4.4.3 and 4.6)
2010-04-22  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43845
	* tree-ssa-pre.c (create_component_ref_by_pieces_1): Properly
	lookup the CALL_EXPR function and arguments.

	* gcc.c-torture/compile/pr43845.c: New testcase.

From-SVN: r158641
2010-04-22 11:19:45 +00:00
Nick Clifton
038eab67cd * config/stormy16/stormy16.c
(xstormy16_asm_output_aligned_common): Handle a NULL decl
        parameter.
        * config/stormy16/stormy16.h: Tidy up formatting.
        (DONT_USE_BUILTIN_SETJMP): Remove definition.
        * config/stormy16/stormy16.c (cbranchsi4): Delete pattern.
        (ineqbranchsi): Delete pattern.
        * config/stormy16/stormy16-lib2-ucmpsi2.c: New file.
        * config/stormy16/stormy16-lib2.c (__ucmpsi2): New function.
        * config/stormy16/t-stormy16 (LIB2FUNCS_EXTRA): Add
        stormy16-lib2-ucmpsi2.c.

From-SVN: r158640
2010-04-22 11:05:12 +00:00
Bernd Schmidt
907deb1a1e ifcvt.c (dead_or_predicable): Use df_simulate_find_defs and df_simulate_find_noclobber_defs as appropriate.
* ifcvt.c (dead_or_predicable): Use df_simulate_find_defs and
	df_simulate_find_noclobber_defs as appropriate.  Keep track of an
	extra set merge_set_noclobber, and use it to relax the final test
	slightly.
	* df.h (df_simulate_find_noclobber_defs): Declare.
	* df-problems.c (df_simulate_find_defs): Don't ignore partial or
	conditional defs.
	(df_simulate_find_noclobber_defs): New function.

From-SVN: r158639
2010-04-22 10:42:21 +00:00
Johannes Singler
ed27799786 partition.h (__parallel_partition): Improve scalability by...
2010-04-22  Johannes Singler  <singler@kit.edu>

        * include/parallel/partition.h (__parallel_partition):
        Improve scalability by:
        -introducing new variables __leftold, __rightold, __dist, thus
        -getting rid of omp lock by using atomic operations
        -getting rid of two omp barriers

From-SVN: r158636
2010-04-22 10:14:07 +00:00