summaryrefslogtreecommitdiff
path: root/gcc/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* * ifcvt.c (cond_exec_process_insns): Disallow converting a blockbernds2011-04-012-0/+26
| | | | | | | | | | that contains the prologue. * gcc.c-torture/compile/20110401-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171840 138bc75d-0d04-0410-961f-82ee72b054a4
* * go.test/go-test.exp (go-set-goarch): Recognize MIPS ABIs.ian2011-04-012-0/+34
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171814 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Dropebotcazou2011-03-312-0/+37
| | | | | | | a zero minimum index only if it is redundant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171800 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48280jason2011-03-312-0/+10
| | | | | | * method.c (defaultable_fn_check): Templates are not defaultable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171797 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/16292ro2011-03-312-1/+8
| | | | | | | | * gfortran.dg/g77/cabs.f: Only xfail execution on mips-sgi-irix6* with -O0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171784 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/48142ebotcazou2011-03-312-2/+17
| | | | | | | | * config/i386/i386.c (ix86_adjust_stack_and_probe): Differentiate frame-related from frame-unrelated adjustments to the stack pointer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171777 138bc75d-0d04-0410-961f-82ee72b054a4
* Copy env.go from master Go testsuite.ian2011-03-301-3/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171752 138bc75d-0d04-0410-961f-82ee72b054a4
* * go.test/go-test.exp (go-set-goarch): Use sparc64 for 64-bitian2011-03-302-1/+6
| | | | | | | SPARC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171751 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48212jason2011-03-302-0/+11
| | | | | | | * semantics.c (non_const_var_error): Just return if DECL_INITIAL is error_mark_node. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171748 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48369jason2011-03-302-0/+11
| | | | | | | * semantics.c (potential_constant_expression_1): Handle UNORDERED_EXPR and ORDERED_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171747 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48281jason2011-03-302-0/+18
| | | | | | | * semantics.c (finish_compound_literal): Do put static/constant arrays in static variables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171741 138bc75d-0d04-0410-961f-82ee72b054a4
* Update to current Go library.ian2011-03-301-5/+32
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171732 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2011-03-302-0/+29
| | | | | | | | | | | | | | PR target/47551 * config/arm/arm.c (coproc_secondary_reload_class): Handle structure modes. Don't check neon_vector_mem_operand for vector or structure modes. gcc/testsuite/ PR target/47551 * gcc.target/arm/neon-modes-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171730 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/48305jakub2011-03-302-0/+12
| | | | | | | | | | | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure arg10/arg11 in (X ^ Y) == (Z ^ W) are always fold converted to matching arg00/arg01 types. * gcc.c-torture/compile/pr48305.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171723 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48265jason2011-03-302-0/+11
| | | | | | | * pt.c (value_dependent_expression_p) [VAR_DECL]: Make sure the variable is constant before looking at its initializer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171714 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge up to 171704meissner2011-03-292-0/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171707 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-29 Steve Ellcey <sje@cup.hp.com>sje2011-03-292-0/+5
| | | | | | | * gcc.dg/torture/pr47917.c: Use -std=gnu99 on HP-UX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171698 138bc75d-0d04-0410-961f-82ee72b054a4
* Update to current master Go testsuite.ian2011-03-29104-1018/+3036
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171695 138bc75d-0d04-0410-961f-82ee72b054a4
* * go.test/go-test.exp: Handle the test lines used in several newian2011-03-292-13/+108
| | | | | | | | | tests. (errchk): Add opts parameter. Change all callers. Handle parens in regexps. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171694 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-29 Peter Bergner <bergner@vnet.ibm.com>mrs2011-03-292-2/+13
| | | | | | | | | | Dominique d'Humieres <dominiq@lps.ens.fr> * gcc.dg/stack-usage-1.c (SIZE): Provide proper values for __ppc64__ and __APPLE__ && __PPC__ && __ALTIVEC__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171692 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48319jason2011-03-292-0/+27
| | | | | | * pt.c (value_dependent_expression_p): Handle TEMPLATE_ID_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171689 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48089jason2011-03-292-3/+20
| | | | | | | * semantics.c (potential_constant_expression_1): Change error about use of *this in constructor into sorry. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171687 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48296jason2011-03-292-0/+20
| | | | | | | | | * decl.c (cp_finish_decl): Defer validation of constexpr member functions. * class.c (finalize_literal_type_property): Validate them here. * semantics.c (is_valid_constexpr_fn): Don't check completeness. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171661 138bc75d-0d04-0410-961f-82ee72b054a4
* * semantics.c (is_valid_constexpr_fn): Specify input location.jason2011-03-292-5/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171660 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-29 Janus Weil <janus@gcc.gnu.org>janus2011-03-293-1/+44
| | | | | | | | | | | | | | | | | | | PR fortran/48095 * decl.c (match_procedure_decl,match_ppc_decl): Set flavor of interface. * module.c (MOD_VERSION): Bump. (mio_typespec): Read/write 'interface' field. * primary.c (match_string_constant,match_logical_constant): Remove unneeded code. (match_complex_constant): Make sure to clear the typespec. 2011-03-29 Janus Weil <janus@gcc.gnu.org> PR fortran/48095 * gfortran.dg/module_md5_1.f90: Modified MD5 sum. * gfortran.dg/proc_ptr_comp_32.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171654 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-29 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2011-03-292-2/+8
| | | | | | | | | | | | | | * gfortran.dg/function_optimize_1.f90: Add -Warray-temporaries, check for corresponding warning. 2011-03-29 Thomas Koenig <tkoenig@gcc.gnu.org> * frontend-passes.c (create_var): Warn about creating an array temporary if requested. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171653 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48313jason2011-03-292-0/+22
| | | | | | | * pt.c (maybe_adjust_types_for_deduction): Handle T&& deduction from overloaded function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171643 138bc75d-0d04-0410-961f-82ee72b054a4
* Permit copying hidden fields when passing method receiver.ian2011-03-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171641 138bc75d-0d04-0410-961f-82ee72b054a4
* PR debug/48203jakub2011-03-282-0/+56
| | | | | | | | | | | | | | | | | | | | | | | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Only create ENTRY_VALUE if incoming or address of incoming's MEM is a hard REG. * dwarf2out.c (mem_loc_descriptor): Don't emit DW_OP_GNU_entry_value of DW_OP_fbreg. * var-tracking.c (vt_add_function_parameter): Ensure cselib_lookup on ENTRY_VALUE is able to find the canonical parameter VALUE. * cselib.c (rtx_equal_for_cselib_1) <case ENTRY_VALUE>: Use rtx_equal_p instead of rtx_equal_for_cselib_1 to compare ENTRY_VALUE_EXPs. (cselib_hash_rtx) <case ENTRY_VALUE>: If ENTRY_VALUE_EXP is a REG_P or MEM_P with REG_P address, compute hash directly instead of calling cselib_hash_rtx on ENTRY_VALUE_EXP. (preserve_only_constants): Don't clear VALUES forwaring ENTRY_VALUE to some other VALUE. * gcc.dg/pr48203.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171640 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-threadupdate.c (redirect_edges): Calllaw2011-03-282-0/+51
| | | | | | | | | | | | | | | | | | | | create_edge_and_update_destination_phis as needed. (create_edge_and_update_destination_phis): Accept new BB argument. All callers updated. (thread_block): Do not update the profile when threading around intermediate blocks. (thread_single_edge): Likewise. (determine_bb_domination_status): If BB is not a successor of the loop header, return NONDOMINATING. (register_jump_thread): Note when we register a jump thread around an intermediate block. * tree-ssa-threadedge.c (thread_around_empty_block): New function. (thread_across_edge): Use it. * gcc.dg/tree-ssa/ssa-dom-thread-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171622 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/stack-usage-1.c (SIZE): Provide proper values for __PPC64__bergner2011-03-282-1/+12
| | | | | | | and __PPC__ && __ALTIVEC__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171620 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-26 Dominique d'Humieres <dominiq@lps.ens.fr>ro2011-03-285-4/+12
| | | | | | | | | | | PR testsuite/48238 * gcc.dg/debug/dwarf2/pr47939-1.c: Generalize scan-assembler regex. * gcc.dg/debug/dwarf2/pr47939-2.c: Likewise. * gcc.dg/debug/dwarf2/pr47939-3.c: Likewise. * gcc.dg/debug/dwarf2/pr47939-4.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171615 138bc75d-0d04-0410-961f-82ee72b054a4
* Core 1232jason2011-03-282-0/+14
| | | | | | | * call.c (build_array_conv): New. (implicit_conversion): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171614 138bc75d-0d04-0410-961f-82ee72b054a4
* * call.c (reference_binding): Allow direct binding to an arrayjason2011-03-282-0/+7
| | | | | | rvalue. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171613 138bc75d-0d04-0410-961f-82ee72b054a4
* Core 898jason2011-03-282-0/+11
| | | | | | | | | | | | * parser.c (cp_parser_compound_statement): Add function_body parm. Complain about non-body compound-stmt in constexpr fn. (cp_parser_primary_expression, cp_parser_statement): Adjust. (cp_parser_implicitly_scoped_statement): Adjust. (cp_parser_function_body, cp_parser_try_block): Adjust. (cp_parser_handler, cp_parser_objc_synchronized_statement): Adjust. (cp_parser_objc_try_catch_finally_statement): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171612 138bc75d-0d04-0410-961f-82ee72b054a4
* Core 898jason2011-03-282-0/+29
| | | | | | | | * semantics.c (constexpr_fn_retval): New. Allow using-declaration and using-definition. (register_constexpr_fundef): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171611 138bc75d-0d04-0410-961f-82ee72b054a4
* * except.c (build_noexcept_spec): Call cxx_constant_value afterjason2011-03-282-0/+19
| | | | | | converting to bool. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171609 138bc75d-0d04-0410-961f-82ee72b054a4
* Add -fno-pic to gcc.target/i386/pr47502-2.c.hjl2011-03-282-1/+6
| | | | | | | | | | 2011-03-28 H.J. Lu <hongjiu.lu@intel.com> PR testsuite/48276 * gcc.target/i386/pr47502-2.c: Add -fno-pic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171604 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-vectorizer.h (vect_create_data_ref_ptr): Adjust prototype.ebotcazou2011-03-282-0/+19
| | | | | | | | | | | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add GSI parameter. Insert new statements at it in lieu of STMT. (vect_setup_realignment): Adjust call to vect_create_data_ref_ptr. * tree-vect-stmts.c (vectorizable_store): Likewise. (vectorizable_load): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171592 138bc75d-0d04-0410-961f-82ee72b054a4
* Split 32-byte AVX unaligned load/store.hjl2011-03-2715-0/+470
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (flag_opts): Add -mavx256-split-unaligned-load and -mavx256-split-unaligned-store. (ix86_option_override_internal): Split 32-byte AVX unaligned load/store by default. (ix86_avx256_split_vector_move_misalign): New. (ix86_expand_vector_move_misalign): Use it. * config/i386/i386.opt: Add -mavx256-split-unaligned-load and -mavx256-split-unaligned-store. * config/i386/sse.md (*avx_mov<mode>_internal): Verify unaligned 256bit load/store. Generate unaligned store on misaligned memory operand. (*avx_movu<ssemodesuffix><avxmodesuffix>): Verify unaligned 256bit load/store. (*avx_movdqu<avxmodesuffix>): Likewise. * doc/invoke.texi: Document -mavx256-split-unaligned-load and -mavx256-split-unaligned-store. gcc/testsuite/ 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/avx256-unaligned-load-1.c: New. * gcc.target/i386/avx256-unaligned-load-2.c: Likewise. * gcc.target/i386/avx256-unaligned-load-3.c: Likewise. * gcc.target/i386/avx256-unaligned-load-4.c: Likewise. * gcc.target/i386/avx256-unaligned-load-5.c: Likewise. * gcc.target/i386/avx256-unaligned-load-6.c: Likewise. * gcc.target/i386/avx256-unaligned-load-7.c: Likewise. * gcc.target/i386/avx256-unaligned-store-1.c: Likewise. * gcc.target/i386/avx256-unaligned-store-2.c: Likewise. * gcc.target/i386/avx256-unaligned-store-3.c: Likewise. * gcc.target/i386/avx256-unaligned-store-4.c: Likewise. * gcc.target/i386/avx256-unaligned-store-5.c: Likewise. * gcc.target/i386/avx256-unaligned-store-6.c: Likewise. * gcc.target/i386/avx256-unaligned-store-7.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171578 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-27 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2011-03-273-0/+52
| | | | | | | | | | | | | | | | PR fortran/47065 * frontend-passes (optimize_trim): Also follow references, except when they are substring references or array references. 2011-03-27 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/47065 * gfortran.dg/trim_optimize_5.f90: New test. * gfortran.dg/trim_optimize_6.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171575 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typoebotcazou2011-03-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171573 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2011-03-273-4/+8
| | | | | | | | | | | | | | PR target/38598 * config/mips/mips.md (extendsidi2): Add an "l" alternative. Update commentary. gcc/testsuite/ PR target/38598 * gcc.target/mips/madd-7.c: Remove -mlong32. * gcc.target/mips/msub-7.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171572 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/arm.c (arm_autovectorize_vector_sizes): Newirar2011-03-274-8/+15
| | | | | | | | | function. (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171569 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't look up methods for pointer to interface.ian2011-03-261-6/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171562 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-26 Janus Weil <janus@gcc.gnu.org>janus2011-03-262-0/+21
| | | | | | | | | | | | | | PR fortran/48291 * class.c (get_unique_hashed_string): Adjust maximum allowable length for unique type string. 2011-03-26 Janus Weil <janus@gcc.gnu.org> PR fortran/48291 * gfortran.dg/class_42.f03: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171559 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't permit embedded field to be pointer to interface.ian2011-03-261-22/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171558 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/vect/vect-cselim-1.c: Fail on targets that don'tirar2011-03-262-1/+6
| | | | | | | | support strided accesses. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171557 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/48144abel2011-03-262-0/+21
| | | | | | | | | | | | | | | | | * sel-sched-ir.c (merge_history_vect): Factor out from ... (merge_expr_data): ... here. (av_set_intersect): Rename to av_set_code_motion_filter. Update all callers. Call merge_history_vect when an expression is found in both sets. * sel-sched-ir.h (av_set_code_motion_filter): Add prototype. gcc/testsuite PR rtl-optimization/48144 * gcc.dg/pr48144.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171555 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Create TYPE_DECLebotcazou2011-03-263-0/+42
| | | | | | | for the padded type built to support a specified size or alignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171554 138bc75d-0d04-0410-961f-82ee72b054a4