- 06 Oct, 2008 6 commits
-
-
gcc/ * config/rs6000/rs6000-protos.h (rs6000_output_addr_const_extra): Declare. * config/rs6000/rs6000.h (OUTPUT_ADDR_CONST_EXTRA): New macro. * config/rs6000/rs6000.md (UNSPEC_TOCREL): New constant. * config/rs6000/rs6000.c (constant_pool_expr_1): Delete. (constant_pool_expr_p): Use split_const and check the base. (toc_relative_expr_p): Likewise, checking for an UNSPEC_TOCREL instead of a MINUS. (legitimate_constant_pool_address_p): Check toc_relative_p instead of constant_pool_expr_p. (print_operand_address): Always use output_addr_const for constant pool addresses. (rs6000_output_addr_const_extra): New function. (create_TOC_reference): Create an UNSPEC_TOCREL instead of a MINUS. From-SVN: r140910
Richard Sandiford committed -
2008-10-06 Vladimir Makarov <vmakarov@redhat.com> PR middle-end/37535 * ira-lives.c (mark_reg_live, mark_reg_dead): New functions. (mark_ref_live, mark_ref_dead): Use them. (def_conflicts_with_inputs_p): Remove. (mark_early_clobbers): New function. (process_bb_node_lives): Call preprocess_constraints and mark_early_clobbers. * doc/rtx.texi (clobber): Change how RA deals with clobbers. From-SVN: r140906
Vladimir Makarov committed -
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Minor tweaks. * gcc-interface/trans.c (Pragma_to_gnu): Likewise. From-SVN: r140904
Eric Botcazou committed -
2008-10-06 Eric Botcazou <ebotcazou@adacore.com> * gcc-interface/utils.c (can_fold_for_view_convert_p): New predicate. (unchecked_convert): Use it to disable problematic folding with VIEW_CONVERT_EXPR in the general case. Always disable it for the special VIEW_CONVERT_EXPR built for integral types and cope with its addressability issues by preserving the first conversion. From-SVN: r140902
Eric Botcazou committed -
* config/i386/mingw32.h (REAL_LIBGCC_SPEC): Add thread cleanup lib with -mthread switch. From-SVN: r140900
Danny Smith committed -
From-SVN: r140898
GCC Administrator committed
-
- 05 Oct, 2008 8 commits
-
-
2008-09-30 Dodji Seketeli <dodji@redhat.com> gcc/ChangeLog: PR c++/37410 * dwarf2out.c (dwarf2out_imported_module_or_decl): Split this function in two, making it call a new and reusable dwarf2out_imported_module_or_decl() that takes the containing BLOCK of the declaration in argument. (dwarf2out_imported_module_or_decl_real): New function. (decls_for_scope, gen_decl_die, dwarf2out_decl): Take IMPORTED_DECL in account. * tree.def: Added IMPORTED_DECL node type. * tree.h: Added accessors for IMPORTED_DECL nodes. * tree.c (init_ttree): Initialise IMPORTED_DECL node type. gcc/cp/ChangeLog: PR c++/37410 * cp-gimplify.c (cp_gimplify_expr): For each USING_STMT make sure an IMPORTED_DECL node is added to the BLOCK_VARS list of the innermost containing BLOCK. gcc/testsuite/ChangeLog: PR c++/37410 * g++.dg/debug/dwarf2/imported-module.C: New test. From-SVN: r140895
Dodji Seketeli committed -
2008-10-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/35680 * gfortran.h : Add 'error' bit field to gfc_expr structure. * expr.c (check_inquiry): When checking a restricted expression check that arguments are either variables or restricted. (check_restricted): Do not emit error if the expression has 'error' set. Clean up detection of host-associated variable. 2008-10-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/35680 * gfortran.dg/transfer_array_intrinsic_5.f90: New test. From-SVN: r140892
Paul Thomas committed -
gcc/ * doc/gimple.texi: Fix some typos, wrap some long lines, fix some broken wraps with continuations. * tree-ssa-reassoc.c: Fix comment typos. From-SVN: r140887
Ralf Wildenhues committed -
2008-10-05 Matthew Gingell <gingell@adacore.com> Arnaud Charlet <charlet@adacore.com> * include/cpplib.h (cpp_comments, cpp_comment_table): New structs. (cpp_get_comments): New function. * internal.h (struct cpp_reader): Add comments field. * init.c (cpp_destroy): Free comments. * lex.c (store_comment, cpp_get_comments): New functions. (comments): New struct. (save_comment): Store comments in comments struct. Co-Authored-By: Arnaud Charlet <charlet@adacore.com> From-SVN: r140883
Matthew Gingell committed -
2008-10-05 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/20_util/reference_wrapper/invoke.cc: New. * testsuite/20_util/reference_wrapper/24803.cc: Likewise. * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise. From-SVN: r140882
Paolo Carlini committed -
2008-10-05 Daniel Kraft <d@domob.eu> PR fortran/37638 * gfortran.h (struct gfc_typebound_proc): New flag `error'. * resolve.c (update_arglist_pass): Added assertion. (update_compcall_arglist): Fail early for erraneous procedures to avoid confusion later. (resolve_typebound_generic_call): Ignore erraneous specific targets and added assertions. (resolve_typebound_procedure): Set new `error' flag. 2008-10-05 Daniel Kraft <d@domob.eu> PR fortran/37638 * gfortran.dg/typebound_call_9.f03: New test. From-SVN: r140880
Daniel Kraft committed -
2008-10-04 Paul Thomas <pault@gcc.gnu.org> PR fortran/37706 * module.c (load_equiv): Check the module before negating the unused flag. 2008-10-04 Paul Thomas <pault@gcc.gnu.org> PR fortran/37706 * gfortran.dg/module_equivalence_4.f90: New test. From-SVN: r140879
Paul Thomas committed -
From-SVN: r140877
GCC Administrator committed
-
- 04 Oct, 2008 5 commits
-
-
PR target/37603 * pa.c (legitimize_pic_address): Force function labels to memory in word mode. From-SVN: r140870
John David Anglin committed -
2008-10-04 Anton Blanchard <anton@samba.org> * config/rs6000/rs6000.c (rs6000_emit_sync): Use gen_lwsync(). (rs6000_split_atomic_op): Same. (rs6000_split_compare_and_swap): Same. (rs6000_split_compare_and_swapqhi): Same. From-SVN: r140869
Anton Blanchard committed -
2008-10-04 Richard Guenther <rguenther@suse.de> * tree-ssa-sccvn.c (vn_reference_op_eq): Use types_compatible_p instead of pointer equality. (vn_nary_op_eq): Likewise. * gcc.dg/tree-ssa/ssa-pre-21.c: New testcase. From-SVN: r140868
Richard Guenther committed -
From-SVN: r140867
Gerald Pfeifer committed -
From-SVN: r140865
GCC Administrator committed
-
- 03 Oct, 2008 9 commits
-
-
2008-10-03 Andrew Pinski <andrew_pinski@playstation.sony.com> * config/rs6000/rs6000.md (fseldfsf4): Add TARGET_SINGLE_FLOAT condition. (fselsfdf4): Make condition on "TARGET_HARD_FLOAT && TARGET_FPRS && TARGET_DOUBLE_FLOAT && TARGET_SINGLE_FLOAT". From-SVN: r140862
Andrew Pinski committed -
* config/i386/winnt.c (i386_pe_strip_name_encoding_full): Add a null terminator to the stripped name. and revert it: * config/i386/winnt.c (i386_pe_strip_name_encoding_full): Revert previous change. From-SVN: r140860
Danny Smith committed -
From-SVN: r140859
Tom Tromey committed -
gimplify.c (gimplify_function_tree): For -finstrument-functions use gimple_bind_{,set_}block instead of... * gimplify.c (gimplify_function_tree): For -finstrument-functions use gimple_bind_{,set_}block instead of gimple_{,set_}block. * gimple.h (gimple_bind_set_block): Allow second argument to be NULL. From-SVN: r140858
Jakub Jelinek committed -
PR debug/37726 * gimplify.c (declare_vars): Use gimple_bind_block instead of gimple_block. * gcc.dg/debug/dwarf2/pr37726.c: New test. From-SVN: r140857
Jakub Jelinek committed -
/cp 2008-10-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/37719 * error.c (dump_function_decl): Save the exceptions in case of error about incompatible specifications in a specialization. /testsuite 2008-10-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/37719 * g++.dg/template/error36.C: New. From-SVN: r140855
Paolo Carlini committed -
* gcov.c (create_file_names): Properly handle UNIX and DOS directory separators. (make_gcov_file_name): Likewise + convert the ':' DOS drive separator to '~' to ensure clean filenames on Windows. From-SVN: r140854
Pascal Obry committed -
* config/i386/winnt.c (i386_pe_strip_name_encoding_full): Add a null terminator to the stripped name. From-SVN: r140849
Danny Smith committed -
From-SVN: r140847
GCC Administrator committed
-
- 02 Oct, 2008 9 commits
-
-
* config/rs6000/rs6000.c (USE_FP_FOR_ARG_P): Revert TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. (function_arg_advance): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. Revert SCALAR_FLOAT_MODE_P condition. (function_arg): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. (rs6000_function_value): Revert TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. From-SVN: r140838
David Edelsohn committed -
testsuite * gfortran.fortran-torture/execute/intrinsic_leadz.f90: New test. * gfortran.fortran-torture/execute/intrinsic_trailz.f90: New test. fortran/ PR fortran/37635 * intrinsic.c (add_functions): Add LEADZ and TRAILZ as generics. * intrinsic.h (gfc_simplify_leadz, gfc_simplify_trailz): New protos. * gfortran.h <enum gfc_isym_id>: (GFC_ISYM_LEADZ, GFC_ISYM_TRAILZ): New. * f95-lang (gfc_init_builtin_functions): Add BUILT_IN_CLZ, BUILT_IN_CLZL, BUILT_IN_CLZLL, BUILT_IN_CTZ, BUILT_IN_CTZL, and BUILT_IN_CTZLL. * trans-intrinsic.c (gfc_conv_intrinsic_leadz, gfc_conv_intrinsic_trails): New code-generation functions for LEADZ and TRAILZ intrinsics. (gfc_conv_intrinsic_function): Use them * intrinsic.texi: Add documentation for LEADZ and TRAILZ. * simplify.c (gfc_simplify_leadz, gfc_simplify_trailz): New functions. From-SVN: r140837
Steven Bosscher committed -
From-SVN: r140836
Janis Johnson committed -
* gcc.target/powerpc/ppc64-abi-3.c: Initialize variables to suppress warning. From-SVN: r140835
Janis Johnson committed -
From-SVN: r140833
Daniel Jacobowitz committed -
2008-10-02 Richard Guenther <rguenther@suse.de> PR middle-end/37713 * tree-ssa.c (useless_type_conversion_p_1): For COMPLEX_TYPE and VECTOR_TYPE recurse with useless_type_conversion_p which properly handles void pointer conversion. * gcc.c-torture/compile/pr37713.c: New testcase. From-SVN: r140832
Richard Guenther committed -
PR target/37528 * config/i386/mingw32.h (LIBGCC_SPEC) : Replace with .. (REAL_LIBGCC_SPEC): New. Always include -lgcc. From-SVN: r140830
Danny Smith committed -
* ChangeLog: Fix whitespace. * testsuite/ChangeLog: Ditto. From-SVN: r140829
Uros Bizjak committed -
From-SVN: r140826
GCC Administrator committed
-
- 01 Oct, 2008 3 commits
-
-
2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com> * config/locale/generic/c_locale.cc (__convert_to_v): Fix !__FLT_HAS_INFINITY__ case. From-SVN: r140823
Andrew Pinski committed -
2008-09-30 Chris Fairles <cfairles@gcc.gnu.org> * include/std/tuple (tuple<>::swap): Implement swap for tuple as per DR 522 [Ready]. * testsuite/20_util/tuple/swap.cc: New. From-SVN: r140822
Chris Fairles committed -
2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com> * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Handle ALTIVEC_BUILTIN_VEC_SPLATS, ALTIVEC_BUILTIN_VEC_PROMOTE, ALTIVEC_BUILTIN_VEC_EXTRACT, and ALTIVEC_BUILTIN_VEC_INSERT specially, they translate to non builtins. * config/rs6000/rs6000.c (altivec_init_builtins): Add new variable opaque_ftype_opaque. Define builtins __builtin_vec_splats, __builtin_vec_promote, __builtin_vec_extract, and __builtin_vec_insert. * config/rs6000/rs6000.h (enum rs6000_builtins): Add ALTIVEC_BUILTIN_VEC_EXTRACT, ALTIVEC_BUILTIN_VEC_PROMOTE, ALTIVEC_BUILTIN_VEC_INSERT, and ALTIVEC_BUILTIN_VEC_SPLATS. * config/rs6000/altivec.h (vec_extract): Define (vec_insert): Define. (vec_splats): Define. (vec_promote): Define. 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com> * gcc.target/powerpc/altivec-cell-1.c: New test. * gcc.target/powerpc/altivec-cell-2.c: New test. * gcc.target/powerpc/altivec-cell-3.c: New test. * gcc.target/powerpc/altivec-cell-4.c: New test. * gcc.target/powerpc/altivec-cell-5.c: New test. * g++.dg/ext/altivec-cell-1.C: New test. * g++.dg/ext/altivec-cell-2.C: New test. * g++.dg/ext/altivec-cell-3.C: New test. * g++.dg/ext/altivec-cell-4.C: New test. * g++.dg/ext/altivec-cell-5.C: New test. 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com> * tree.c (lvalue_p_1): COMPOUND_LITERAL_EXPR is also an lvalue. From-SVN: r140821
Andrew Pinski committed
-