summaryrefslogtreecommitdiff
path: root/gcc/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* 2010-04-28 Richard Guenther <rguenther@suse.de>rguenth2010-04-282-2/+8
| | | | | | | | | | | | | | | | | | | | | | PR tree-optimization/43879 PR tree-optimization/43909 * tree-ssa-structalias.c (struct variable_info): Add only_restrict_pointers flag. (new_var_info): Initialize it. Increment stats.total_vars here. (create_function_info_for): Do not increment stats.total_vars here. (get_function_part_constraint): Fix build with C++. (insert_into_field_list): Remove. (push_fields_onto_fieldstack): Properly merge fields. (create_variable_info_for): Split and simplify. (create_variable_info_for_1): New piece. (intra_create_variable_infos): Properly make restrict constraints from parameters. * gcc.dg/ipa/ipa-pta-14.c: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158825 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-28 Richard Guenther <rguenther@suse.de>rguenth2010-04-282-0/+21
| | | | | | | | | | | PR c++/43880 * tree-inline.c (copy_bind_expr): Also copy bind expr vars value-exprs. * g++.dg/torture/pr43880.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158824 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-28 Manuel López-Ibáñez <manu@gcc.gnu.org>manu2010-04-285-4/+12
| | | | | | | | | | | | | | | | | PR c++/9335 cp/ * error.c (print_instantiation_partial_context_line): Handle recursive instantiation. (print_instantiation_partial_context): Likewise. testsuite/ * g++.dg/template/recurse2.C: Update * g++.dg/template/recurse.C: Update. * g++.dg/template/pr23510.C: Update. * lib/prune.exp: Filter out 'recursively instantiated'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158823 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/29043jason2010-04-282-0/+57
| | | | | | | * init.c (perform_member_init): check for uninitialized const or reference members, including array types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158817 138bc75d-0d04-0410-961f-82ee72b054a4
* * semantics.c (finish_non_static_data_member): Call maybe_dummy_objectjason2010-04-275-7/+12
| | | | | | | | | whenever object is NULL_TREE. Don't do 'this' capture here. (finish_qualified_id_expr): Pass NULL_TREE. (finish_id_expression): Likewise. (lambda_expr_this_capture): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158809 138bc75d-0d04-0410-961f-82ee72b054a4
* * semantics.c (finish_qualified_id_expr): Use maybe_dummy_objectjason2010-04-271-0/+1
| | | | | | | rather than checking current_class_ref directly. (finish_call_expr): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158808 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/43856jason2010-04-272-0/+19
| | | | | | | | | | * name-lookup.c (qualify_lookup): Disqualify lambda op(). * class.c (current_nonlambda_class_type): New fn. * semantics.c (nonlambda_method_basetype): New. * cp-tree.h: Declare them. * tree.c (maybe_dummy_object): Handle implicit 'this' capture. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158807 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/43875jason2010-04-272-0/+12
| | | | | | | * semantics.c (lambda_return_type): Complain about braced-init-list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158805 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-27 Manuel López-Ibáñez <manu@gcc.gnu.org>manu2010-04-273-0/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | Jan Hubicka <hubicka@ucw.cz> * doc/invoke.texi (-Wsuggest-attribute=const, -Wsuggest-attribute=pure): Document. * ipa-pure-const.c: Include toplev.h, intl.h and opts.h. (function_always_visible_to_compiler_p, suggest_attribute, warn_function_pure, warn_function_const): New functions. (check_call): Improve debug info. (analyze_function): Do not check availability. (add_new_function): Check availability. (propagate): Output warnings. (skip_function_for_local_pure_const): New function. (local_pure_const): Use it; output warnings. * common.opt (Wsuggest-attribute=const, Wsuggest-attribute=pure): New. testsuite/ * gcc.dg/pure-2.c: New testcase. * gcc.dg/const-1.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158803 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/43790jason2010-04-272-0/+15
| | | | | | * tree.c (cv_unqualified): Handle error_mark_node. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158801 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/41468jason2010-04-272-0/+11
| | | | | | | * call.c (convert_like_real) [ck_ambig]: Just return error_mark_node if we don't want errors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158799 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/41468jason2010-04-272-0/+33
| | | | | | | | | | | | | * class.c (convert_to_base): Add complain parameter. Pass ba_quiet to lookup_base if we don't want errors. (build_vfield_ref): Pass complain to convert_to_base. * call.c (convert_like_real): Likewise. (initialize_reference): Likewise. (perform_direct_initialization_if_possible): Pass complain to convert_like_real. * cp-tree.h: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158798 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/42844jason2010-04-276-3/+110
| | | | | | | | | | * decl.c (check_for_uninitialized_const_var): Handle classes that need constructing, too. (check_initializer): Call it for classes that need constructing, too. * class.c (in_class_defaulted_default_constructor): New. * cp-tree.h: Declare it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158797 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-27 Tobias Burnus <burnus@net-b.de>burnus2010-04-272-2/+7
| | | | | | | | | PR fortran/18918 * gfortran.dg/coarray_12.f90: Fix dump parsing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158785 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-27 Richard Guenther <rguenther@suse.de>rguenth2010-04-272-0/+43
| | | | | | | | PR middle-end/40561 * g++.dg/other/pr40561.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158778 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-27 Martin Jambor <mjambor@suse.cz>jamborm2010-04-272-0/+43
| | | | | | | | | | | | | | | | PR middle-end/43812 * ipa.c (dissolve_same_comdat_group_list): New function. (function_and_variable_visibility): Call dissolve_same_comdat_group_list when comdat group contains external or newly local nodes. * cgraphunit.c (verify_cgraph_node): Verify that same_comdat_group lists are circular and that they contain only DECL_ONE_ONLY nodes. * testsuite/g++.dg/ipa/pr43812.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158777 138bc75d-0d04-0410-961f-82ee72b054a4
* * cgraph.c (cgraph_propagate_frequency): New function.hubicka2010-04-272-2/+7
| | | | | | | | | | | | * cgraph.h (cgraph_propagate_frequency): Declare. * ipa-inline.c (cgraph_clone_inlined_nodes): Call cgraph_propagate_frequency. * testsuite/gcc.dg/ipa/iinline-1.c (main): Rename to... (test): ... this one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158775 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/40657bernds2010-04-272-0/+18
| | | | | | | | | | | | | * config/arm/arm.c (thumb1_extra_regs_pushed): New function. (thumb1_expand_prologue, thumb1_output_function_prologue): Call it here to determine which regs to push and how much stack to reserve. PR target/40657 * gcc.target/arm/thumb-stackframe.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158771 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/pr32207.c: Fix typo in expected warning messages.pzhao2010-04-276-23/+31
| | | | | | | | | | | * gcc.dg/misc-column.c: Likewise. * gcc.dg/Walways-true-1.c: Likewise. * gcc.dg/Walways-true-2.c: Likewise. * gcc.dg/warn-addr-cmp.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158769 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-27 Tobias Burnus <burnus@net-b.de>burnus2010-04-273-23/+87
| | | | | | | | | | | | | | | | | | | | | | | PR fortran/18918 * resolve.c (resolve_allocate_expr): Allow array coarrays. * trans-types.h (gfc_get_array_type_bounds): Update prototype. * trans-types.c (gfc_get_array_type_bounds, gfc_get_array_descriptor_base): Add corank argument. * trans-array.c (gfc_array_init_size): Handle corank. (gfc_trans_create_temp_array, gfc_array_allocate, gfc_conv_expr_descriptor): Add corank argument to call. * trans-stmt.c (gfc_trans_pointer_assign_need_temp): Ditto. 2010-04-27 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * gfortran.dg/coarray_7.f90: Modified and removed obsolete tests. * gfortran.dg/coarray_12.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158768 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-inline.c (eni_inlining_weights): Remove.hubicka2010-04-271-1/+1
| | | | | | | (estimate_num_insns): Special case more builtins. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158766 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/pzhao2010-04-276-21/+39
| | | | | | | | | | | | | | | | | | | | | | 2010-04-27 Shujing Zhao <pearly.zhao@oracle.com> PR c/32207 * c-typeck.c (build_binary_op): Move forward check for comparison pointer with null pointer constant and adjust the diagnostic message. gcc/testsuite/ 2010-04-27 Shujing Zhao <pearly.zhao@oracle.com> PR c/32207 * gcc.dg/pr32207.c: New test. * gcc.dg/misc-column.c: Adjust expected warning. * gcc.dg/Walways-true-1.c: Likewise. * gcc.dg/Walways-true-2.c: Likewise. * gcc.dg/warn-addr-cmp.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158765 138bc75d-0d04-0410-961f-82ee72b054a4
* ChangeLog:davek2010-04-272-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR lto/42776 * configure.ac (--enable-lto): Refactor handling so libelf tests are only performed inside then-clause of ACX_ELF_TARGET_IFELSE, and allow LTO to be explicitly enabled on non-ELF platforms that are known to support it inside else-clause. * configure: Regenerate. gcc/ChangeLog: PR lto/42776 * configure.ac (gcc_cv_as_section_has_align): Set if installed binutils supports extended .section directive needed by LTO, or warn if older binutils found. (LTO_BINARY_READER): New AC_SUBST'd variable. (LTO_USE_LIBELF): Likewise. * gcc/config.gcc (lto_binary_reader): New target-specific configure variable. * gcc/Makefile.in (LTO_BINARY_READER): Import AC_SUBST'd autoconf var. (LTO_USE_LIBELF): Likewise. * configure: Regenerate. * collect2.c (is_elf): Rename from this ... (is_elf_or_coff): ... to this, and recognize and allow i386 COFF object files in addition to ELF-formatted ones. (scan_prog_file): Caller updated. Also allow for LTO info marker symbol to be prefixed or not by an extra underscore. * config/i386/t-cygming (winnt.o): Also depend on LTO_STREAMER_H. * config/i386/winnt.c: Also #include lto-streamer.h (i386_pe_asm_named_section): Specify 1-byte section alignment for LTO named sections. (i386_pe_asm_output_aligned_decl_common): Add comment. (i386_pe_maybe_record_exported_symbol): Allow decl arg to be NULL. gcc/lto/ChangeLog: PR lto/42776 * Make-lang.in (LTO_OBJS): Use LTO_BINARY_READER instead of hardcoding 'lto-elf.o'. ($(LTO_EXE)): Use LTO_USE_LIBELF instead of hardcoding '-lelf'. * lto-coff.h: New file. * lto-coff.c: Likewise. gcc/testsuite/ChangeLog: PR lto/42776 * lib/lto.exp (lto_prune_vis_warns): New function. (lto-link-and-maybe-run): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158762 138bc75d-0d04-0410-961f-82ee72b054a4
* Add a run-time testcase for PR tree-optimization/43904.hjl2010-04-272-0/+38
| | | | | | | | | | 2010-04-26 H.J. Lu <hongjiu.lu@intel.com> PR tree-optimization/43904 * gcc.dg/tree-ssa/tailcall-6.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158757 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-26 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>mrs2010-04-2711-39/+114
| | | | | | | | | | | | | | | | | | | | | | PR testsuite/35165 * obj-c++.dg/stubify-2.mm: Restrict to ilp32 targets. Require Darwin8/OSX10.4 - compatible code generation. Use scan-rtl-dump. * obj-c++.dg/stubify-1.mm: Ditto. * lib/objc-torture.exp: Do not require link success for "trivial.m" in the runtime checks when dowhat = 'compile'. * lib/dg-pch.exp: (dg-flags-pch): New Proc. * objc.dg/stubify-1.m: Restrict to ilp32 targets. Require Darwin8/OSX10.4 - compatible code generation. * objc.dg/stubify-2.m: Ditto. * objc.dg/symtab-1.m: Match '.quad' for m64 code. * objc.dg/next-runtime-1.m: Ditto. * objc.dg/stret-2.m: Restrict to ilp32 targets. * objc.dg/pch/pch.exp: Apply tests to both Gnu and NeXT runtimes on Darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158752 138bc75d-0d04-0410-961f-82ee72b054a4
* Update the date to date of checkin.mrs2010-04-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158749 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-21 Jack Howarth <howarth@bromo.med.uc.edu>mrs2010-04-262-0/+10
| | | | | | | | | PR 43715 * testsuite/lib/plugin-support.exp: Use "-undefined dynamic_lookup" on darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158747 138bc75d-0d04-0410-961f-82ee72b054a4
* Change "ditto" to "Ditto.", which is clearly more expressive.kargl2010-04-261-36/+36
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158734 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-26 Richard Guenther <rguenther@suse.de>rguenth2010-04-262-0/+11
| | | | | | | | | * lto.c (lto_fixup_type): Deal with non-type TYPE_CONTEXT. * gcc.dg/lto/20100426_0.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158729 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/43833jiez2010-04-262-0/+25
| | | | | | | | | | | | | | | * tree-vrp.c (range_int_cst_p): New. (range_int_cst_singleton_p): New. (extract_range_from_binary_expr): Optimize BIT_AND_EXPR case when both operands are constants. Use range_int_cst_p in BIT_IOR_EXPR case. testsuite/ PR tree-optimization/43833 gcc.dg/Warray-bounds-8.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158727 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-26 Richard Guenther <rguenther@suse.de>rguenth2010-04-262-0/+19
| | | | | | | | | | | PR lto/43080 * gimple.c (gimple_decl_printable_name): Deal gracefully with a NULL DECL_NAME. * g++.dg/lto/20100423-3_0.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158723 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-26 Richard Guenther <rguenther@suse.de>rguenth2010-04-262-0/+19
| | | | | | | | | | | | PR lto/42425 * tree.c (free_lang_data_in_type): Do not free TYPE_CONTEXT if emitting debug information and it is either a function or a namespace decl. * g++.dg/lto/20100423-2_0.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158722 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-vectorizer.h (struct _stmt_vec_info): Add new field to irar2010-04-262-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | determine if the statement is vectorizable, and a macro to access it. * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Skip statements that can't be vectorized. If the analysis fails, mark the statement as unvectorizable if vectorizing basic block. (vect_compute_data_refs_alignment): Likewise. (vect_verify_datarefs_alignment): Skip statements marked as unvectorizable. Add print. (vect_analyze_group_access): Skip statements that can't be vectorized. If the analysis fails, mark the statement as unvectorizable if vectorizing basic block. (vect_analyze_data_ref_accesses, vect_analyze_data_refs): Likewise. * tree-vect-stmts.c (vectorizable_store): Fix the number of generated stmts for SLP. (new_stmt_vec_info): Initialize the new field. * tree-vect-slp.c (vect_build_slp_tree): Fail to vectorize statements marked as unvectorizable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158719 138bc75d-0d04-0410-961f-82ee72b054a4
* Reformat.hjl2010-04-251-39/+40
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158712 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:jsm282010-04-254-3/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158711 138bc75d-0d04-0410-961f-82ee72b054a4
* Scan "lea\[lq\]?\[ \t\]" instead of "lea\[ \t\]".hjl2010-04-252-1/+6
| | | | | | | | | | 2010-04-25 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/pr43766.c: Scan "lea\[lq\]?\[ \t\]" instead of "lea\[ \t\]". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158710 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-25 Steven G. Kargl <kargl@gcc.gnu.org>kargl2010-04-254-3/+9
| | | | | | | | | * 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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158709 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-25 Steven G. Kargl <kargl@gcc.gnu.org>kargl2010-04-2536-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158708 138bc75d-0d04-0410-961f-82ee72b054a4
* Scan "lea\[ \t\]" instead of "lea".hjl2010-04-252-1/+5
| | | | | | | | | 2010-04-25 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/pr43766.c: Scan "lea\[ \t\]" instead of "lea". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158706 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Do notebotcazou2010-04-253-0/+36
| | | | | | | use memmove if the array type is bit-packed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158701 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-25 Paolo Bonzini <bonzini@gnu.org>bonzini2010-04-252-1/+26
| | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158698 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-24 Steven G. Kargl <kargl@gcc.gnu.org>kargl2010-04-242-0/+29
| | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158692 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/bernds2010-04-242-0/+23
| | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158689 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/43832hp2010-04-242-34/+5
| | | | | | | * gfortran.dg/fgetc_3.f90: Delete bogus test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158688 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2010-04-242-0/+11
| | | | | | | | PR fortran/43832 * gfortran.dg/open_nounit.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158685 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-24 Paul Thomas <pault@gcc.gnu.org>pault2010-04-242-0/+93
| | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158683 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-23 Manuel López-Ibáñez <manu@gcc.gnu.org>manu2010-04-232-2/+6
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158676 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Only use conversionebotcazou2010-04-232-0/+26
| | | | | | | between modes if both types are integral. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158675 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-23 Richard Guenther <rguenther@suse.de>rguenth2010-04-233-0/+51
| | | | | | | | | PR lto/41734 * gcc.dg/lto/20100423-2_0.c: New testcase. * gcc.dg/lto/20100423-2_0.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158670 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-23 Richard Guenther <rguenther@suse.de>rguenth2010-04-233-0/+24
| | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158669 138bc75d-0d04-0410-961f-82ee72b054a4