aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2007-06-06fold-const.c (merge_ranges): If range_successor or range_predecessor fail, ↵Ian Lance Taylor2-0/+14
just return 0. ./: * fold-const.c (merge_ranges): If range_successor or range_predecessor fail, just return 0. testsuite/: * g++.dg/conversion/enum1.C: New test. From-SVN: r125486
2007-06-06re PR tree-optimization/32216 (ICE: verify_stmts failed (invalid reference ↵Uros Bizjak2-0/+19
prefix) with -ftree-vectorize) PR tree-optimization/32216 * tree-vectorizer.c (supportable_widening_operation): Determine signedness of FIX_TRUNC_EXPR from output operand. (supportable_narrowing_operation): Ditto. * tree-vect-generic.c (expand_vector_operations_1): Determine signedness of VEC_UNPACK_FLOAT_HI_EXPR and VEC_UNPACK_FLOAT_LO_EXPR from input operand. testsuite/ChangeLog: PR tree-optimization/32216 * gcc.dg/vect/pr32216.c: New test. From-SVN: r125482
2007-06-06Add new testsArnaud Charlet21-0/+379
From-SVN: r125480
2007-06-06lambda.h (build_linear_expr): New.Jan Sjodin1-0/+21
* lambda.h (build_linear_expr): New. * lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression): Use build_linear_expr, call fold and force_gimple_operand. (lambda_loopnest_to_gcc_loopnest): Check that there is something to insert. * testsuite/gcc.dg/tree-ssa/ltrans-6.c: New. Co-Authored-By: Sebastian Pop <sebpop@gmail.com> From-SVN: r125355
2007-06-06re PR fortran/18923 (segfault after subroutine name confusion)Jerry DeLisle3-0/+23
2007-06-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR testsuite/18923 * gfortran.dg/invalid_contains_1.f90: New test. * gfortran.dg/invalid_contains_2.f90: New test. From-SVN: r125353
2007-06-06re PR testsuite/32057 (Random failure on gfortran.dg/secnds.f)Jerry DeLisle2-8/+21
2007-06-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR testsuite/32057 * gfortran.dg/secnds.f: Update test to avoid roundoff errors and midnight issues. From-SVN: r125352
2007-06-05re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and ↵Manuel López-Ibáñez7-8/+22
warnings) 2007-06-05 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR testsuite/25241 testsuite/ * gcc.dg/invalid-call-1.c: Use dg-warning to match the warning and dg-message to match de note. * gcc.dg/pr26570.c: Use dg-message for a note. * gcc.dg/pr29254.c: Use dg-message for generic output and use dg-error instead of dg-warning because of -Werror. * gcc.dg/glibc-uclibc-1.c: Use dg-message for output that is neither an error, nor a warning. * gcc.dg/glibc-uclibc-2.c: Likewise * gcc.dg/cpp/19940712-1.c: Likewise. From-SVN: r125347
2007-06-05re PR preprocessor/23479 (Implement binary constants with a "0b" prefix)Joerg Wunsch5-0/+371
2007-06-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de> PR preprocessor/23479 gcc/ * doc/extend.texi: Document the 0b-prefixed binary integer constant extension. libcpp/ * expr.c (cpp_classify_number): Implement 0b-prefixed binary integer constants. (append_digit): Likewise. * include/cpplib.h: Add CPP_N_BINARY, to be used for 0b-prefixed binary integer constants. testsuite/ * testsuite/gcc.dg/binary-constants-1.c: Add test suites for the 0b-prefixed binary integer constants. * testsuite/gcc.dg/binary-constants-2.c: Ditto. * testsuite/gcc.dg/binary-constants-3.c: Ditto. * testsuite/gcc.dg/binary-constants-4.c: Ditto. From-SVN: r125346
2007-06-05tree-vrp.c (compare_values_warnv): Check TREE_NO_WARNING on a PLUS_EXPR or ↵Ian Lance Taylor2-0/+19
MINUS_EXPR node before setting... ./: * tree-vrp.c (compare_values_warnv): Check TREE_NO_WARNING on a PLUS_EXPR or MINUS_EXPR node before setting *strict_overflow_p. (extract_range_from_assert): Set TREE_NO_WARNING when creating an expression. (test_for_singularity): Likewise. testsuite/: * gcc.dg/Wstrict-overflow-19.c: New test. From-SVN: r125334
2007-06-05constraints.md ("z"): Replaced by ...H.J. Lu1-0/+4
2007-06-05 H.J. Lu <hongjiu.lu@intel.com> * config/i386/constraints.md ("z"): Replaced by ... ("Y0"): This. * config/i386/sse.md (sse4_1_blendvpd): Likewise. (sse4_1_blendvps): Likewise. (sse4_1_pblendvb): Likewise. (sse4_2_pcmpestr): Likewise. (sse4_2_pcmpestrm): Likewise. (sse4_2_pcmpestr_cconly): Likewise. (sse4_2_pcmpistr): Likewise. (sse4_2_pcmpistrm): Likewise. (sse4_2_pcmpistr_cconly): Likewise. Move testsuite ChangeLog to testsuite/ChangeLog. From-SVN: r125332
2007-06-05matrix-reorg.c (transform_access_sites): Fix computation.Razya Ladelsky1-1/+1
2007-06-05 Razya Ladelsky <razya@il.ibm.com> * matrix-reorg.c (transform_access_sites): Fix computation. (transform_allocation_sites): Same. * testsuite/gcc.dg/matrix/matrix-6.c: Remove conversion. From-SVN: r125331
2007-06-04tree-vrp.c (adjust_range_with_scev): When loop is not expected to overflow, ↵Ian Lance Taylor2-0/+26
reduce overflow infinity to regular infinity. ./: * tree-vrp.c (adjust_range_with_scev): When loop is not expected to overflow, reduce overflow infinity to regular infinity. (vrp_var_may_overflow): New static function. (vrp_visit_phi_node): Check vrp_var_may_overflow. testsuite/: * gcc.dg/Wstrict-overflow-18.c: New test. From-SVN: r125319
2007-06-04re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and ↵Manuel López-Ibáñez4-3/+10
warnings) 2007-06-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR testsuite/25241 testsuite/ * gcc.dg/cpp/mi1.c: Use dg-message for output that is not an error. * gcc.dg/cpp/mi5.c: Likewise. * gcc.dg/cpp/mi7.c: Likewise. From-SVN: r125317
2007-06-04re PR c/32191 (ICE with complex __float128)Uros Bizjak2-0/+14
PR c/32191 * gcc/c-common.c (c_define_builtins): Call targetm.init_builtins () before build_common_builtin_nodes (). testsuite/ChangeLog: PR c/32191 * gcc.dg/pr32191.c: New test. From-SVN: r125314
2007-06-03re PR fortran/32124 (Execution stops with stat= in ALLOCATE)Tobias Burnus2-18/+6
2007-05-28 Tobias Burnus <burnus@net-b.de> PR fortran/32124 * gfortran.dg/allocate_stat_1.f90: Remove. From-SVN: r125293
2007-06-02sse4_2-check.h: New.H.J. Lu20-0/+1500
2007-06-02 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/sse4_2-check.h: New. * gcc.target/i386/sse4_2-crc32b.c: Likewise. * gcc.target/i386/sse4_2-crc32.h: Likewise. * gcc.target/i386/sse4_2-crc32l.c: Likewise. * gcc.target/i386/sse4_2-crc32q.c: Likewise. * gcc.target/i386/sse4_2-crc32w.c: Likewise. * gcc.target/i386/sse4_2-pcmpestri-1.c: Likewise. * gcc.target/i386/sse4_2-pcmpestri-2.c: Likewise. * gcc.target/i386/sse4_2-pcmpestrm-1.c: Likewise. * gcc.target/i386/sse4_2-pcmpestrm-2.c: Likewise. * gcc.target/i386/sse4_2-pcmpgtq.c: Likewise. * gcc.target/i386/sse4_2-pcmpistri-1.c: Likewise. * gcc.target/i386/sse4_2-pcmpistri-2.c: Likewise. * gcc.target/i386/sse4_2-pcmpistrm-1.c: Likewise. * gcc.target/i386/sse4_2-pcmpistrm-2.c: Likewise. * gcc.target/i386/sse4_2-pcmpstr.h: Likewise. * gcc.target/i386/sse4_2-popcnt.h: Likewise. * gcc.target/i386/sse4_2-popcntl.c: Likewise. * gcc.target/i386/sse4_2-popcntq.c: Likewise. From-SVN: r125281
2007-06-01darwin.h (LINK_SPEC): Pass -fpie through to the linker.Geoffrey Keating2-0/+11
2007-06-01 Geoffrey Keating <geoffk@apple.com> * config/darwin.h (LINK_SPEC): Pass -fpie through to the linker. Index: testsuite/ChangeLog 2007-06-01 Geoffrey Keating <geoffk@apple.com> * gcc.dg/pie-link.c: New test. From-SVN: r125270
2007-06-01tree-vrp.c (compare_name_with_value): Always set used_strict_overflow if we ↵Ian Lance Taylor2-0/+24
get a result from the variable itself. ./: * tree-vrp.c (compare_name_with_value): Always set used_strict_overflow if we get a result from the variable itself. testsuite/: * gcc.dg/Wstrict-overflow-17.c: New test. From-SVN: r125269
2007-06-01builtin-return-1.c (g): New.Kazu Hirata2-0/+13
* gcc.dg/builtin-return-1.c (g): New. (main): Allocate at least 64 bytes on the stack. From-SVN: r125268
2007-06-01decl.c (get_atexit_fn_ptr_type): New function.Mark Mitchell2-0/+26
* decl.c (get_atexit_fn_ptr_type): New function. (get_atexit_node): Use it. (start_cleanup_fn): Likewise. (register_dtor_fn): Use the object's destructor, instead of a separate cleanup function, where possible. * cp-tree.h (CPTI_ATEXIT_FN_PTR_TYPE): New enumerator. (atexit_fn_ptr_type_node): New macro. * decl2.c (build_cleanup): Use build_address. * g++.dg/init/cleanup3.C: New test. From-SVN: r125253
2007-05-31limits-caselabels.c: Fix for targets where int is 16 bits.Rask Ingemann Lambertsen2-1/+6
2007-05-31 Rask Ingemann Lambertsen <rask@sygehus.dk> * gcc.c-torture/compile/limits-caselabels.c: Fix for targets where int is 16 bits. From-SVN: r125243
2007-05-31re PR fortran/32156 (ICE with characters)Paul Thomas2-0/+13
2007-05-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/32156 * trans-array.c (gfc_trans_array_constructor): Treat the case where the ss expression charlen is missing. 2007-05-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/32156 * gfortran.dg/char_array_constructor_3.f90: New test. From-SVN: r125240
2007-05-31re PR tree-optimization/32160 (ICE with -O3 in verify_ssa)Zdenek Dvorak2-0/+21
PR tree-optimization/32160 * tree-predcom.c (predcom_tmp_var): New function. Mark created variable as gimple reg. (initialize_root_vars, initialize_root_vars_lm): Use predcom_tmp_var. * gfortran.dg/predcom-1.f: New test. From-SVN: r125228
2007-05-31str_empty.C: Move...Richard Guenther4-3/+7
2007-05-31 Richard Guenther <rguenther@suse.de> * g++.dg/other/str_empty.C: Move... * g++.dg/other/pr30567.C: Move... * g++.dg/tree-ssa/pr27218.C: Move... * g++.dg/torture: ...here and remove dg-options. From-SVN: r125220
2007-05-31re PR c++/32158 (uninitialized_fill compile failure if no default assignment ↵Paolo Carlini2-1/+14
operator) gcc/cp 2007-05-31 Paolo Carlini <pcarlini@suse.de> PR c++/32158 * semantics.c (finish_trait_expr): Complete the types. gcc/testsuite 2007-05-31 Paolo Carlini <pcarlini@suse.de> PR c++/32158 * g++.dg/ext/is_pod_incomplete.C: New. From-SVN: r125217
2007-05-31re PR fortran/32103 (Module with equivalence draws "unsatisfied reference")Paul Thomas2-1/+39
2007-05-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/32103 * module.c (mio_symtree_ref): If an equivalence group member is not used, give it a hidden symbol and set the pointer_info. (load_equiv): Only free the equivalence if none of the members are used. 2007-05-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/32103 * gfortran.dg/module_equivalence_3.f90: New test. From-SVN: r125216
2007-05-31re PR c++/7412 ([DR 106] References to references)Russell Yanofsky42-0/+9986
2007-05-30 Russell Yanofsky <russ@yanofsky.org> Douglas Gregor <doug.gregor@gmail.com> Pedro Lamarao <pedro.lamarao@mndfck.org> Howard Hinnant <howard.hinnant@gmail.com> PR c++/7412 PR c++/29939 * g++.dg/cpp0x/rv8p.C: New. * g++.dg/cpp0x/temp-constructor-bug.C: New. * g++.dg/cpp0x/cast-bug.C: New. * g++.dg/cpp0x/elision_weak.C: New. * g++.dg/cpp0x/collapse-bug.C: New. * g++.dg/cpp0x/rv3p.C: New. * g++.dg/cpp0x/rv7n.C: New. * g++.dg/cpp0x/overload-conv-1.C: New. * g++.dg/cpp0x/rv2n.C: New. * g++.dg/cpp0x/deduce.C: New. * g++.dg/cpp0x/temp-va-arg-bug.C: New. * g++.dg/cpp0x/rv6p.C: New. * g++.dg/cpp0x/template_deduction.C: New. * g++.dg/cpp0x/implicit-copy.C: New. * g++.dg/cpp0x/rv1p.C: New. * g++.dg/cpp0x/cast.C: New. * g++.dg/cpp0x/rv5n.C: New. * g++.dg/cpp0x/collapse.C: New. * g++.dg/cpp0x/overload-conv-2.C: New. * g++.dg/cpp0x/rv4p.C: New. * g++.dg/cpp0x/rvo.C: New. * g++.dg/cpp0x/iop.C: New. * g++.dg/cpp0x/rv3n.C: New. * g++.dg/cpp0x/rv7p.C: New. * g++.dg/cpp0x/reference_collapsing.C: New. * g++.dg/cpp0x/overload.C: New. * g++.dg/cpp0x/named.C: New. * g++.dg/cpp0x/rv2p.C: New. * g++.dg/cpp0x/rv6n.C: New. * g++.dg/cpp0x/not_special.C: New. * g++.dg/cpp0x/bind.C: New. * g++.dg/cpp0x/rv1n.C: New. * g++.dg/cpp0x/rv5p.C: New. * g++.dg/cpp0x/elision.C: New. * g++.dg/cpp0x/named_refs.C: New. * g++.dg/cpp0x/unnamed_refs.C: New. * g++.dg/cpp0x/rv4n.C: New. * g++.dg/cpp0x/elision_neg.C: New. * g++.dg/init/copy7.C: Run in C++98 mode. * g++.dg/overload/arg1.C: Ditto. * g++.dg/overload/arg4.C: Ditto. 2007-05-30 Russell Yanofsky <russ@yanofsky.org> Douglas Gregor <doug.gregor@gmail.com> Pedro Lamarao <pedro.lamarao@mndfck.org> Howard Hinnant <howard.hinnant@gmail.com> PR c++/7412 PR c++/29939 * typeck.c (comptypes): Don't consider rvalue and lvalue reference types to be equivalent. (check_return_expr): Move from certain lvalues when returning them. * decl.c (grokdeclarator): Implement reference collapsing. (copy_fn_p): Don't consider constructors taking rvalue references to be copy constructors. (move_fn_p): New. * call.c (conversion): New "rvaluedness_matches_p" member. (convert_class_to_reference): Require reference type as first parameter instead of base type. (reference_binding): Add logic to handle rvalue references. (implicit_conversion): Update inaccurate comment. (convert_like_real): Disable creation of temporaries that are impossible to initialize for types with move constructors. (build_over_call): Elide move constructors when possible. (maybe_handle_implicit_object): Set "rvaluedness_matches_p". (maybe_handle_ref_bind): Return conversion instead of type node. (compare_ics): Add logic to use "rvaluedness_matches_p" values to determine preferred conversion sequences. * cp-tree.h (TYPE_REF_IS_RVALUE): New. (LOOKUP_PREFER_RVALUE): New. (DECL_MOVE_CONSTRUCTOR_P): New. (struct cp_declarator): Add "reference" member for reference types, with new "rvalue_ref" flag. (cp_build_reference_type): Declare. (move_fn_p): Declare. * error.c (dump_type_prefix): Format rvalue reference types correctly in error messages. * except.c (build_throw): Move from certain lvalues when throwing. * mangle.c (write_type): Mangle rvalue references differently than regular references. * parser.c (make_reference_declarator): Add boolean parameter for rvalue references. (cp_parser_make_indirect_declarator): New. (cp_parser_new_declarator_opt): Call cp_parser_make_indirect_declarator. (cp_parser_conversion_declarator_opt): Ditto. (cp_parser_declarator): Ditto. (cp_parser_ptr_operator): Parse "&&" tokens into rvalue reference declarators. * pt.c (tsubst): Implement reference collapsing. (maybe_adjust_types_for_deduction): Implement special template parameter deduction rule for rvalue references. (type_unification_real): Update calls to maybe_adjust_types_for_deduction. (try_one_overload): Ditto. (unify_pack_expansion): Ditto. * tree.c (lvalue_p_1): Handle rvalue reference types. (cp_build_reference_type): New. From-SVN: r125211
2007-05-30re PR c++/31809 (sometimes TREE_READONLY is still set for non read only ↵Jakub Jelinek2-0/+34
variables causing wrong code) PR c++/31809 * decl.c (cp_finish_decl): Clear TREE_READONLY flag on TREE_STATIC variables that need runtime initialization. * g++.dg/opt/static5.C: New test. From-SVN: r125201
2007-05-30dg.exp: Prune torture/.Richard Guenther3-0/+13
2007-05-30 Richard Guenther <rguenther@suse.de> * g++.dg/dg.exp: Prune torture/. * g++.dg/torture/dg-torture.exp: New testsuite. From-SVN: r125200
2007-05-30pr27387.C: Move and rename to ...Kazu Hirata2-0/+5
* gcc.target/arm/pr27387.C: Move and rename to ... * g++.dg/inherit/thunk8.C: ... here. From-SVN: r125197
2007-05-30re PR tree-optimization/31769 (ICE with OpenMP and exceptions)Jakub Jelinek2-0/+66
PR tree-optimization/31769 * except.c (duplicate_eh_regions): Clear prev_try if ERT_MUST_NOT_THROW region is inside of ERT_TRY region. * g++.dg/gomp/pr31769.C: New test. From-SVN: r125183
2007-05-30matrix: New directory.Razya Ladelsky1-0/+4
2007-05-28 Razya Ladelsky <razya@il.ibm.com> * gcc.dg/matrix: New directory. From-SVN: r125179
2007-05-29i386.c (ix86_function_regparm): Added checking of ↵Hui-May Chang2-0/+20
ix86_force_align_arg_pointer to determine the number of... * config/i386/i386.c (ix86_function_regparm): Added checking of ix86_force_align_arg_pointer to determine the number of register parameters. * gcc.target/i386/stack-realign.c: New. From-SVN: r125173
2007-05-29tree-vectorizer.h (DR_MISALIGNMENT): Cast aux to integer.Zdenek Dvorak2-0/+58
* tree-vectorizer.h (DR_MISALIGNMENT): Cast aux to integer. (SET_DR_MISALIGNMENT): New. * tree-vect-analyze.c (vect_compute_data_ref_alignment, vect_update_misalignment_for_peel, vect_enhance_data_refs_alignment): Use SET_DR_MISALIGNMENT. * tree-predcom.c (split_data_refs_to_components): Cast dr->aux from pointer. * tree-data-ref.c (create_data_ref, compute_all_dependences, find_loop_nest): Export. * tree-data-ref.h (struct data_reference): Change aux field to pointer. (create_data_ref, compute_all_dependences, find_loop_nest): Declare. * tree-ssa-loop-prefetch.c: Include tree-data-ref.h. (L1_CACHE_SIZE_BYTES, L2_CACHE_SIZE_BYTES, NONTEMPORAL_FRACTION): New macros. (struct mem_ref): Add field reuse_distance. (find_or_create_group, record_ref): Use XNEW instead of xcalloc. Initialize reuse_distance field. (issue_prefetch_ref): Select temporality of prefetch according to reuse_distance. (volume_of_references, volume_of_dist_vector, add_subscript_strides, self_reuse_distance, determine_loop_nest_reuse): New functions. (loop_prefetch_arrays): Call determine_loop_nest_reuse. (tree_ssa_prefetch_arrays): Dump L2 cache size. * Makefile.in (tree-ssa-loop-prefetch.o): Add TREE_DATA_REF_H dependency. * gcc.dg/tree-ssa/prefetch-6.c: New test. From-SVN: r125172
2007-05-29gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SIZEOF.Tobias Schlüter2-0/+86
2007-05-28 Tobias Schlter <tobi@gcc.gnu.org> fortran/ * gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SIZEOF. * intrinsic.c (add_functions): Add stuff for SIZEOF intrinsic. * intrinsic.h (gfc_check_sizeof): Add prototype of ... * check.c (gfc_check_sizeof): .. new function. * trans-intrinsic.c (gfc_conv_intrinsic_sizeof): New function. (gfc_conv_intrinsic_strcmp): Whitespace fix. (gfc_conv_intrinsic_array_transfer): Remove double initialization, use fold_build. where appropriate. (gfc_conv_intrinsic_function): Add case for SIZEOF. * intrinsic.texi: Add documentation for SIZEOF. testsuite/ * gfortran.dg/sizeof.f90: New. From-SVN: r125161
2007-05-28[multiple changes]Andrew Pinski3-0/+14
2007-05-28 Andrew Pinski <Andrew_pinski@playstation.sony.com> PR c/31339 * c-typeck.c (build_unary_op <case PREINCREMENT_EXPR, case POSTINCREMENT_EXPR, case PREDECREMENT_EXPR, case POSTDECREMENT_EXPR>): Return the error_mark_node if either the real or imaginary parts would an error_mark_node. 2007-05-28 Andrew Pinski <Andrew_pinski@playstation.sony.com> PR c++/31339 * typeck.c (build_unary_op <case PREINCREMENT_EXPR, case POSTINCREMENT_EXPR, case PREDECREMENT_EXPR, case POSTDECREMENT_EXPR>): Return the error_mark_node if either the real or imaginary parts would an error_mark_node. 2007-05-28 Andrew Pinski <andrew_pinski@playstation.sony.com> PR c/31339 * gcc.dg/boolcomplex-1.c: New test. PR c++/31339 * g++.dg/ext/boolcomplex-1.c: New test From-SVN: r125156
2007-05-29re PR fortran/32124 (Execution stops with stat= in ALLOCATE)Tobias Burnus2-0/+22
2007-05-28 Tobias Burnus <burnus@net-b.de> PR fortran/32124 * gfortran.dg/allocate_stat_1.f90: New. From-SVN: r125148
2007-05-28re PR fortran/31972 (Internal Error occurs when TRANSFER contains hollerith ↵Brooks Moses2-0/+19
argument) PR fortran/31972 * transfer_hollerith_1.f90: New test. From-SVN: r125142
2007-05-28re PR tree-optimization/32100 (vrp bitfield miscompilation)Andrew Pinski2-0/+25
2007-05-28 Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-opt/32100 * fold-const.c (tree_expr_nonnegative_warnv_p): Don't return true when truth_value_p is true and the type is of signed:1. 2007-05-28 Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-opt/32100 * gcc.c-torture/execute/vrp-7.c: New test. From-SVN: r125139
2007-05-28Corrected changelog; I forgot to update the test filename.Brooks Moses1-1/+1
From-SVN: r125137
2007-05-28* gfortran.dg/transfer_simplify_4.f90: New test.Brooks Moses2-0/+34
From-SVN: r125136
2007-05-28matrix: New directory.Razya Ladelsky13-0/+1252
2007-05-28 Razya Ladelsky <razya@il.ibm.com> * gcc.dg/matrix: New directory. From-SVN: r125128
2007-05-27re PR fortran/32088 (ICE (doesn't occur if given function standalone instead ↵Tobias Burnus2-0/+30
on internal)) fortran/ 2007-05-27 Paul Thomas <pault@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR fortran/32088 * symbol.c (gfc_check_function_type): Copy dimensions of result variable. * resolve.c (resolve_contained_fntype): Improve symbol output in the error message. testsuite/ 2007-05-27 Tobias Burnus <burnus@net-b.de> PR fortran/32088 * gfortran.dg/func_result_3.f90: New. -- Diese und die falgenden Zeilen werden ignoriert -- M gcc/testsuite/ChangeLog A gcc/testsuite/gfortran.dg/func_result_3.f90 M gcc/fortran/symbol.c M gcc/fortran/ChangeLog M gcc/fortran/resolve.c From-SVN: r125118
2007-05-27(svn add was forgotten)Tobias Burnus1-0/+53
2007-05-27 Tobias Burnus <burnus@net-b.de> PR middle-end/32083 * gfortran.dg/transfer_simplify_3.f90: New. From-SVN: r125110
2007-05-27re PR middle-end/32083 (bug in transfer integer->real->integer)Tobias Burnus1-0/+5
2007-05-26 Tobias Burnus <burnus@net-b.de> PR fortran/32083 * real.c (mpfr_from_real): Fix sign of -Inf. 2007-05-26 Tobias Burnus <burnus@net-b.de> PR fortran/32083 * gfortran.dg/transfer_simplify_3.f90: New. From-SVN: r125108
2007-05-26re PR target/32065 (Many dfp testsuite failures for -msse targets)Uros Bizjak3-2/+22
PR target/32065 * config/i386/i386.md (movti): Handle push operands via ix86_expand_push(). testsuite/ChangeLog: PR target/32065 * gcc.target/i386/pr32065-1.c: Rename from pr32065.c. Add -std=gnu99 to compile options. * gcc.target/i386/pr32065-2.c: New test. From-SVN: r125102
2007-05-26re PR fortran/31813 (Warn about deleted feature: H edit descriptor)Jerry DeLisle2-1/+6
2007-05-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/31813 * gfortran.dg/io_constraints_2.f90: Update. From-SVN: r125098
2007-05-26re PR fortran/31219 (ICE on array of character function results)Paul Thomas2-0/+45
2007-05-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/31219 * trans.h : Add no_function_call bitfield to gfc_se structure. Add stmtblock_t argument to prototype of get_array_ctor_strlen. * trans-array.c (get_array_ctor_all_strlen): New function. (get_array_ctor_strlen): Add new stmtblock_t argument and call new function for character elements that are not constants, arrays or variables. (gfc_conv_array_parameter): Call get_array_ctor_strlen to get good string length. * trans-intrinsic (gfc_conv_intrinsic_len): Add new argument to call of get_array_ctor_strlen. 2007-05-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/31219 * gfortran.dg/array_constructor_17.f90: New test. From-SVN: r125088
2007-05-25re PR tree-optimization/32090 (ICE in forwprop with zero sized array)Andrew Pinski2-0/+16
2007-05-25 Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-opt/32090 * tree-ssa-forwprop.c (forward_propagate_addr_into_variable_array_index): Remove the lhs argument. Use the type of def_rhs instead of lhs. (forward_propagate_addr_expr_1): Update use of forward_propagate_addr_into_variable_array_index. 2007-05-25 Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-opt/32090 * g++.dg/opt/array2.C: New testcase. From-SVN: r125087
2007-05-25mips.c (mips_attribute_table): Add "near" and "far" function attributes, ↵Sandra Loosemore4-0/+78
"far" being an alias for "long_call". 2007-05-25 Sandra Loosemore <sandra@codesourcery.com> Nigel Stephens <nigel@mips.com> gcc/ * config/mips/mips.c (mips_attribute_table): Add "near" and "far" function attributes, "far" being an alias for "long_call". (TARGET_COMP_TYPE_ATTRIBUTES): Define as mips_comp_type_attributes. (mips_near_type_p, mips_far_type_p): New. (mips_comp_type_attributes): New function to check that attributes attached to a function type are compatible. (mips_output_mi_thunk): Test SYMBOL_REF_LONG_CALL_P() rather than TARGET_LONG_CALLS when deciding whether we can do a direct sibcall to the target function of the thunk. (mips_encode_section_info): Check for "near" and "far" function attributes, and always set the SYMBOL_FLAG_LONG_CALL bit explicitly. * config/mips/predicates.md (const_call_insn_operand): Test only SYMBOL_REF_LONG_CALL_P() and not TARGET_LONG_CALLS. * doc/extend.texi (Function Attributes): Document MIPS "near" and "far" attributes. * testsuite/gcc.target/mips/near-far-1.c: New test case. * testsuite/gcc.target/mips/near-far-2.c: New test case. * testsuite/gcc.target/mips/near-far-3.c: New test case. * testsuite/gcc.target/mips/near-far-4.c: New test case. Co-Authored-By: Nigel Stephens <nigel@mips.com> From-SVN: r125086