- 15 Dec, 2009 13 commits
-
-
2009-12-15 Richard Guenther <rguenther@suse.de> * tree.c (free_lang_data_in_binfo): Do not free BINFO_OFFSET and BINFO_VPTR_FIELD. (free_lang_data_in_type): Do not free TYPE_STUB_DECL if we generate debug information. (free_lang_data_in_decl): Do not free DECL_SIZE_UNIT, DECL_SIZE, DECL_FIELD_OFFSET and DECL_FCONTEXT. (free_lang_data): Do not disable debuginfo. * lto-streamer-out.c (write_symbol_vec): Deal with non-constant DECL_SIZE. (pack_ts_base_value_fields): Write types with false TREE_ASM_WRITTEN. (lto_output_ts_type_tree_pointers): Stream TYPE_STUB_DECL. * lto-streamer-in.c (lto_input_ts_type_tree_pointers): Stream TYPE_STUB_DECL. * dwarf2out.c (add_pure_or_virtual_attribute): Check for DECL_CONTEXT. (gen_type_die_for_member): Test for TYPE_STUB_DECL. * opts.c (decode_options): Do not disable var-tracking for lto. * doc/invoke.texi (-flto): Document -flto vs. -g experimental status. (-fwhopr): Document experimental status. lto/ * lto.c (lto_fixup_field_decl): Fixup DECL_FIELD_OFFSET. (lto_post_options): Do not disable debuginfo. From-SVN: r155259
Richard Guenther committed -
2009-12-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42379 * testsuite/23_containers/set/operators/1_neg.cc: Fix dg-error strings. * testsuite/23_containers/map/operators/1_neg.cc: Likewise. From-SVN: r155258
Paolo Carlini committed -
From-SVN: r155257
Rainer Orth committed -
re PR tree-optimization/42185 ([graphite] expected gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at gimple.h:1820) PR graphite/42185 * graphite-sese-to-poly.c (is_reduction_operation_p): Assert that we are a GIMPLE_ASSIGN. Do not calculate rhs code twice. (follow_ssa_with_commutative_ops): Return NULL on non assignment. From-SVN: r155256
Aldy Hernandez committed -
PR c++/41183 * cp-tree.h (current_class_ptr): Give NULL even when cfun has NULL cfun->language. * g++.dg/torture/pr41183.C: New test. From-SVN: r155254
Jakub Jelinek committed -
From-SVN: r155251
Eric Botcazou committed -
2009-12-15 Richard Guenther <rguenther@suse.de> * gimple.h (compare_field_offset): Declare. * gimple.c (compare_field_offset): Export. * lto-streamer-in.c (input_gimple_stmt): Use compare_field_offset. From-SVN: r155250
Richard Guenther committed -
2009-12-15 Richard Guenther <rguenther@suse.de> * lto-cgraph.c (lto_output_node): Also stream the alias for regular aliases. (input_node): Likewise. From-SVN: r155249
Richard Guenther committed -
2009-12-15 Tobias Burnus <burnus@net-b.de> Daniel Franke <franke.daniel@gmail.com> PR fortran/41235 * resolve.c (resolve_global_procedure): Add check for presence of an explicit interface for nonconstant, nonassumed character-length functions. (resolve_fl_procedure): Remove check for nonconstant character-length functions. 2009-12-15 Tobias Burnus <burnus@net-b.de> PR fortran/41235 * auto_char_len_1.f90: New test. * auto_char_len_2.f90: New test. * auto_char_len_4.f90: Correct test. From-SVN: r155247
Tobias Burnus committed -
PR c++/42364 * pt.c (function_parameter_expanded_from_pack_p): Don't require a pack to have a name. (tsubst_decl): Do typedef magic after applying attributes. From-SVN: r155246
Jason Merrill committed -
2009-12-15 Paolo Bonzini <bonzini@gnu.org> Shujing Zhao <pearly.zhao@oracle.com> * intl.c (get_spaces): New. * intl.h (get_spaces): New. cp: 2009-12-15 Paolo Bonzini <bonzini@gnu.org> Shujing Zhao <pearly.zhao@oracle.com> * Makefile.in (cp/pt.o): Depend on intl.h * call.c (print_z_candidates): Make loop more compact, choose head string depending on number of candidates, extract creation of spaces string to intl.c. * pt.c (print_overloaded_functions): Replace with... (print_candidates_1): ... this rewrite. (print_candidates): Rewrite to call print_candidates_1. (most_specialized_class): Make loop more compact, choose head string depending on number of candidates, and size indents depending on translations. testsuite: 2009-12-15 Shujing Zhao <pearly.zhao@oracle.com> * g++.dg/other/error20.C: Adjust dg-message strings. * g++.dg/other/error31.C: Likewise. * g++.dg/rtti/typeid6.C: Likewise. * g++.dg/ext/ms-1.C: Likewise. * g++.dg/parse/error19.C: Likewise. * g++.dg/parse/crash5.C: Likewise. * g++.dg/cpp0x/explicit4.C: Likewise. * g++.dg/template/ptrmem4.C: Likewise. * g++.dg/template/crash37.C: Likewise. * g++.dg/template/qualttp5.C: Likewise. * g++.dg/template/local6.C: Likewise. * g++.dg/template/instantiate5.C: Likewise. * g++.old-deja/g++.brendan/overload1.C: Likewise. * g++.old-deja/g++.brendan/cvt3.C: Likewise. * g++.old-deja/g++.brendan/overload4.C: Likewise. * g++.old-deja/g++.jason/conversion11.C: Likewise. * g++.old-deja/g++.jason/scoping10.C: Likewise. * g++.old-deja/g++.other/expr1.C: Likewise. * g++.old-deja/g++.other/pmf3.C: Likewise. * g++.old-deja/g++.other/crash24.C: Likewise. * g++.old-deja/g++.niklas/t120.C: Likewise. * g++.old-deja/g++.niklas/t121.C: Likewise. * g++.old-deja/g++.law/operators9.C: Likewise. * g++.old-deja/g++.law/arm9.C: Likewise. * g++.old-deja/g++.law/enum4.C: Likewise. * g++.old-deja/g++.law/arg11.C: Likewise. * g++.old-deja/g++.benjamin/15800-1.C: Likewise. * g++.old-deja/g++.mike/p2431.C: Likewise. * g++.old-deja/g++.mike/p438.C: Likewise. * g++.old-deja/g++.mike/p9068.C: Likewise. * g++.old-deja/g++.mike/p11110.C: Likewise. * g++.old-deja/g++.bugs/900330_02.C: Likewise. From-SVN: r155245
Paolo Bonzini committed -
From-SVN: r155244
GCC Administrator committed -
2009-12-14 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/25304, DR 865 [Ready] * include/bits/stl_algobase.h (fill_n): Add comment about DR 865. * include/bits/stl_algo.h (generate_n): Likewise. * include/bits/algorithmfwd.h: Remove obsolete comment. * doc/xml/manual/intro.xml: Add an entry for DR 865. From-SVN: r155241
Paolo Carlini committed
-
- 14 Dec, 2009 24 commits
-
-
libjava/: * configure.ac: Remove code to un-precious-ize CC, CXX, CXXFLAGS, CFLAGS, LDFLAGS. * configure: Regenerate. libstdc++-v3/: * configure.ac: Remove code to un-precious-ize CC, CXX, CXXFLAGS, CFLAGS, LDFLAGS. * configure: Regenerate. From-SVN: r155240
Ralf Wildenhues committed -
* g++.dg/other/i386-2.C: Add -mpopcnt -mabm -mlwp to dg-options. * g++.dg/other/i386-3.C: Ditto. * g++.dg/other/i386-5.C: Remove duplicated test. * g++.dg/other/i386-6.C: Ditto. From-SVN: r155238
Uros Bizjak committed -
PR bootstrap/42369 * config/i386/i386.c (ix86_expand_special_args_builtin): Avoid using switch with CODE_FOR_lwp_lwp* cases. From-SVN: r155237
Jakub Jelinek committed -
i386-builtin-types.def (PVOID_FTYPE_VOID): Use DEF_FUNCTION_TYPE (PVOID) instead of DEF_FUNCTION_TYPE (PVOID, VOID). * config/i386/i386-builtin-types.def (PVOID_FTYPE_VOID): Use DEF_FUNCTION_TYPE (PVOID) instead of DEF_FUNCTION_TYPE (PVOID, VOID). From-SVN: r155236
Jakub Jelinek committed -
gcc/fortran/: 2009-12-14 Daniel Franke <franke.daniel@gmail.com> PR fortran/42354 * expr.c (check_init_expr): Do not check for specification functions. gcc/testsuite/: 2009-12-14 Daniel Franke <franke.daniel@gmail.com> PR fortran/42354 * gfortran.dg/iso_c_binding_init_expr.f03: New. * gfortran.dg/intrinsic_std_1.f90: Fixed expected error message. * gfortran.dg/function_kinds_5.f90: Likewise. * gfortran.dg/selected_char_kind_3.f90: Likewise. From-SVN: r155234
Daniel Franke committed -
* cfgexpand.c (expand_debug_expr) <INDIRECT_REF>: Remove overzealous assertion and useless code. <TARGET_MEM_REF>: Likewise. From-SVN: r155229
Eric Botcazou committed -
* gfortran.dg/boz_15.f90: Fix typos. From-SVN: r155225
Dominique d'Humieres committed -
From-SVN: r155223
Jakub Jelinek committed -
PR debug/41473 * dwarf2out.c (AT_loc_list_ptr): New. (resolve_addr): Remove unresolved attributes and loc_list entries. From-SVN: r155222
Alexandre Oliva committed -
PR debug/41473 * dwarf2out.c (add_var_loc_to_decl): Don't drop initial empty locations. (new_loc_list): Drop gensym arg. Move generation of ll_symbol... (gen_llsym): ... here. New function. (add_loc_descr_to_loc_list): Removed. (loc_descriptor): Infer mode from CONST_DOUBLEs and CONST_VECTORs. (single_element_loc_list): Removed. (dw_loc_list): Don't create entries without a location. Don't special-case the first node of the list, only single nodes. (single_element_loc_list_p): Simplify. (loc_list_from_tree): Don't use DECL_RTL if loc_list is nonempty. (add_location_or_const_value_attribute): Test var loc for NULL. (convert_cfa_to_fb_loc_list): Adjust calls to new new_loc_list, call gen_llsym if needed. From-SVN: r155221
Alexandre Oliva committed -
* cgraph.h (cgraph_set_nothrow_flag, cgraph_set_readonly_flag, cgraph_set_pure_flag, cgraph_set_looping_const_or_pure_flag): New prototypes. * cgraph.c (cgraph_set_nothrow_flag, cgraph_set_readonly_flag, cgraph_set_pure_flag, cgraph_set_looping_const_or_pure_flag): New functions. * except.h (set_nothrow_function_flags): Remove prototype. * except.c (set_nothrow_function_flags): Use cgraph_set_nothrow_flag. Make static. * ipa-pure-const.c (propagate): Use cgraph_set_nothrow_flag, cgraph_set_readonly_flag, cgraph_set_pure_flag and cgraph_set_looping_const_or_pure_flag. (local_pure_const): Likewise. From-SVN: r155220
Jakub Jelinek committed -
PR middle-end/42284 * testsuite/gcc.dg/graphite/pr42284.c: New. From-SVN: r155219
Sebastian Pop committed -
Fix PR42284. 2009-12-12 Sebastian Pop <sebpop@gmail.com> PR middle-end/42284 * graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Call insert_out_of_ssa_copy_on_edge for anything else than SSA_NAMEs. (detect_commutative_reduction_arg): Simplified. (detect_commutative_reduction): Early return when the argument of the close phi is not of an SSA_NAME. * testsuite/gcc.dg/graphite/pr42284.c: New. From-SVN: r155218
Sebastian Pop committed -
2009-12-14 Jakub Jelinek <jakub@redhat.com> Sebastian Pop <sebastian.pop@amd.com> * config/i386/i386-builtin-types.def (PVOID): Declared. (VOID_FTYPE_PVOID): Declared. (PVOID_FTYPE_VOID): Declared. (UCHAR_FTYPE_USHORT_UINT_USHORT): Removed. (VOID_FTYPE_USHORT_UINT_USHORT): Removed. * config/i386/i386.c (IX86_BUILTIN_LLWPCB16, IX86_BUILTIN_LLWPCB32, IX86_BUILTIN_LLWPCB64, IX86_BUILTIN_SLWPCB16, IX86_BUILTIN_SLWPCB32, IX86_BUILTIN_SLWPCB64, IX86_BUILTIN_LWPVAL16, IX86_BUILTIN_LWPINS16): Removed. (IX86_BUILTIN_LLWPCB, IX86_BUILTIN_SLWPCB): New. (bdesc_special_args): Adjust declaration of __builtin_ia32_llwpcb, __builtin_ia32_slwpcb, __builtin_ia32_lwpval32, __builtin_ia32_lwpval64, __builtin_ia32_lwpins32, and __builtin_ia32_lwpins64. (ix86_expand_special_args_builtin): Handle VOID_FTYPE_PVOID. Do not handle VOID_FTYPE_USHORT_UINT_USHORT and UCHAR_FTYPE_USHORT_UINT_USHORT. Warn when the third operand is not an immediate. Also handle builtin functions with 3 arguments. (ix86_expand_builtin): Handle IX86_BUILTIN_LLWPCB and IX86_BUILTIN_SLWPCB. * config/i386/i386.md (UNSPEC_LLWP_INTRINSIC, UNSPEC_SLWP_INTRINSIC): Renamed UNSPECV_LLWP_INTRINSIC and UNSPECV_SLWP_INTRINSIC. (memory attribute): Handle lwp. (lwp*): Rewrite all the insn patterns for LWP. * config/i386/lwpintrin.h (__llwpcb16, __llwpcb32, __llwpcb64, __slwpcb16, __slwpcb32, __slwpcb64, __lwpval16, __lwpins16): Removed. (__llwpcb, __slwpcb): New. testsuite/ * gcc.target/i386/sse-12.c: Add -mpopcnt and -mlwp. * gcc.target/i386/sse-13.c: Same. (__builtin_ia32_lwpval32, __builtin_ia32_lwpval64, __builtin_ia32_lwpins32, __builtin_ia32_lwpins64): Added testcases. * gcc.target/i386/sse-14.c: Add -mpopcnt -mabm -mlwp. Added tests for __lwpval32, __lwpins32, __lwpval64, and __lwpins64. * gcc.target/i386/sse-22.c: Added tests for popcnt, abm, and lwp. * gcc.target/i386/sse-23.c: Same. Co-Authored-By: Sebastian Pop <sebastian.pop@amd.com> From-SVN: r155217
Jakub Jelinek committed -
2009-12-14 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/23_containers/queue/requirements/ explicit_instantiation/1_c++0x.cc: New. * testsuite/23_containers/priority_queue/requirements/ explicit_instantiation/1_c++0x.cc: Likewise. * testsuite/23_containers/multimap/requirements/ explicit_instantiation/1_c++0x.cc: Likewise. * testsuite/23_containers/bitset/requirements/ explicit_instantiation/1_c++0x.cc: Likewise. * testsuite/23_containers/set/requirements/ explicit_instantiation/1_c++0x.cc: Likewise. * testsuite/23_containers/vector/requirements/ explicit_instantiation/1_c++0x.cc: Likewise. * testsuite/23_containers/deque/requirements/ explicit_instantiation/1_c++0x.cc: Likewise. * testsuite/23_containers/stack/requirements/ explicit_instantiation/1_c++0x.cc: Likewise. * testsuite/23_containers/multiset/requirements/ explicit_instantiation/1_c++0x.cc: Likewise. * testsuite/23_containers/list/requirements/ explicit_instantiation/1_c++0x.cc: Likewise. * testsuite/23_containers/map/requirements/ explicit_instantiation/1_c++0x.cc: Likewise. From-SVN: r155215
Paolo Carlini committed -
From-SVN: r155213
Joseph Myers committed -
2009-12-14 Dmitry Gorbachev <d.g.gorbachev@gmail.com> * Make-lang.in ($(LTO_EXE)): Use $(LINKER). From-SVN: r155212
Dmitry Gorbachev committed -
2009-12-14 Dmitry Gorbachev <d.g.gorbachev@gmail.com> * dominance.c (set_immediate_dominator): Don't mark as inline. From-SVN: r155211
Dmitry Gorbachev committed -
stl_list.h (splice(iterator, list&), [...]): Re-add in C++0x mode for backward compatibility (see DR 1133). 2009-12-14 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_list.h (splice(iterator, list&), splice(iterator, list&, iterator), splice(iterator, list&, iterator, iterator), merge(list&), merge(list&, _StrictWeakOrdering)): Re-add in C++0x mode for backward compatibility (see DR 1133). (insert(iterator, size_type, const value_type&), insert(iterator, _InputIterator, _InputIterator)): Adjust. * include/bits/list.tcc (sort): Likewise. * testsuite/23_containers/list/modifiers/1_c++0x.cc: Add. * testsuite/23_containers/list/operations/2_c++0x.cc: Likewise. * testsuite/23_containers/list/operations/3_c++0x.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ assign_neg.cc: Adjust dg-error line numbers. * testsuite/23_containers/list/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Likewise. From-SVN: r155210
Paolo Carlini committed -
* doc/tm.texi (STACK_CHECK_PROTECT): Document alternate default. * doc/md.texi (check_stack): Clarify. (probe_stack): Likewise. * config/rs6000/rs6000.md (UNSPEC_PROBE_STACK): New constant. (probe_stack): New insn. From-SVN: r155209
Eric Botcazou committed -
* configure.ac (--with-specs): New option. * configure: Regenerated. * gcc.c (driver_self_specs): Include CONFIGURE_SPECS. * Makefile.in (DRIVER_DEFINES): Add -DCONFIGURE_SPECS. From-SVN: r155208
Nathan Sidwell committed -
* lto-streamer-in.c (lto_get_builtin_tree): fclass can only be a BUILT_IN_NORMAL or BUILT_IN_MD. From-SVN: r155206
Ben Elliston committed -
* src/pa/ffi.c (ffi_closure_inner_pa32): Handle FFI_TYPE_LONGDOUBLE type on HP-UX. From-SVN: r155205
John David Anglin committed -
From-SVN: r155203
GCC Administrator committed
-
- 13 Dec, 2009 3 commits
-
-
re PR libstdc++/40133 (exception propagation support not enabled in libstdc++ 4.4 on {armeabi,hppa}-linux) 2009-12-11 Paolo Carlini <paolo.carlini@oracle.com> Matthias Klose <doko@ubuntu.com> PR libstdc++/40133 * acinclude.m4 ([GLIBCXX_ENABLE_ATOMIC_BUILTINS]): On *-*-linux*, *-*-uclinux*, *-*-kfreebsd*-gnu | *-*-gnu* targets do link tests when possible. * configure: Regenerate. Co-Authored-By: Matthias Klose <doko@ubuntu.com> From-SVN: r155200
Paolo Carlini committed -
* doc/tm.texi (STACK_CHECK_PROBE_LOAD): Delete. * expr.h (STACK_CHECK_PROBE_LOAD): Likewise. * explow.c (emit_stack_probe): Do not test STACK_CHECK_PROBE_LOAD. * system.h (STACK_CHECK_PROBE_LOAD): Poison. From-SVN: r155199
Eric Botcazou committed -
2009-12-09 Matthias Klose <doko@ubuntu.com> * include/private/gc_locks.h: For __ARM_EABI__ define GC_test_and_set GC_clear to use the atomic builtins. From-SVN: r155198
Matthias Klose committed
-