- 16 Sep, 2011 8 commits
-
-
2011-09-16 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/23_containers/array/comparison_operators/ less_or_equal.cc: New. * testsuite/23_containers/array/comparison_operators/ greater_or_equal.cc: Likewise. * testsuite/23_containers/array/comparison_operators/less.cc: Likewise. * testsuite/23_containers/array/comparison_operators/equal.cc: Likewise. * testsuite/23_containers/array/comparison_operators/not_equal.cc: Likewise. * testsuite/23_containers/array/comparison_operators/greater.cc: Likewise. * testsuite/23_containers/array/iterators/end_is_one_past.cc: Likewise. * testsuite/23_containers/array/capacity/empty.cc: Likewise. * testsuite/23_containers/array/capacity/max_size.cc: Likewise. * testsuite/23_containers/array/capacity/size.cc: Likewise. * testsuite/23_containers/array/tuple_interface/tuple_element.cc: Likewise. * testsuite/23_containers/array/tuple_interface/tuple_size.cc: Likewise. * testsuite/23_containers/array/element_access/at_out_of_range.cc: Likewise. * testsuite/23_containers/array/element_access/back.cc: Likewise. * testsuite/23_containers/array/element_access/front.cc: Likewise. * testsuite/23_containers/array/element_access/data.cc: Likewise. * testsuite/23_containers/array/cons/aggregate_initialization.cc: Likewise. * testsuite/23_containers/array/requirements/zero_sized_arrays.cc: Likewise. * testsuite/23_containers/array/requirements/contiguous.cc: Likewise. * testsuite/23_containers/array/requirements/member_swap.cc: Likewise. * testsuite/23_containers/array/specialized_algorithms/swap.cc: Likewise. * testsuite/23_containers/array/constexpr_get.cc: Move... * testsuite/23_containers/array/tuple_interface/constexpr_get.cc: ... here. * testsuite/23_containers/array/requirements/get.cc: Move... * testsuite/23_containers/array/tuple_interface/get: ... here. * testsuite/23_containers/array/at_neg.cc: Move... * testsuite/23_containers/array/element_access: ... here. * testsuite/23_containers/array/requirements/constexpr_functions.cc: Move... * testsuite/23_containers/array/capacity: ... here. * testsuite/23_containers/array/requirements/ constexpr_element_access.cc: Move... * testsuite/23_containers/array/element_access: ... here. * testsuite/20_util/duration/cons/1_neg.cc: Avoid -Wall warnings. * testsuite/20_util/tuple/creation_functions/constexpr.cc: Likewise. * testsuite/20_util/pair/make_pair/constexpr.cc: Likewise. * testsuite/20_util/time_point/nonmember/constexpr.cc: Likewise. * testsuite/23_containers/bitset/operations/constexpr.cc: Likewise. * testsuite/20_util/duration/cons/1_neg.cc: Discard bogus warning. * testsuite/20_util/forward/1_neg.cc: Likewise. From-SVN: r178911
Paolo Carlini committed -
From-SVN: r178910
Ian Lance Taylor committed -
re PR lto/50430 (Constructors of static external vars are throwed away leading to missed optimizations (and ipa-cp ICE).) PR lto/50430 * gimple-fold.c (gimple_get_virt_method_for_binfo): Do not ICE on error_mark_node in the DECL_INITIAL of vtable. From-SVN: r178908
Jan Hubicka committed -
From-SVN: r178907
Uros Bizjak committed -
* gcc.dg/tree-ssa/foldconst-3.c: Don't use short enums. From-SVN: r178906
Terry Guo committed -
From-SVN: r178905
Ian Lance Taylor committed -
2011-09-15 Paolo Carlini <paolo.carlini@oracle.com> * include/std/tuple (make_tuple, forward_as_tuple): Declare constexpr. (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&)): Likewise. * testsuite/20_util/tuple/creation_functions/constexpr.cc: Enable make_tuple test. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning line number. From-SVN: r178904
Paolo Carlini committed -
From-SVN: r178902
GCC Administrator committed
-
- 15 Sep, 2011 13 commits
-
-
* Makefile.in (SYSROOT_CFLAGS_FOR_TARGET): Define from @SYSROOT_CFLAGS_FOR_TARGET@. * configure.ac (SYSROOT_CFLAGS_FOR_TARGET): Set from build-sysroot. * configure: Regenerate. (site.exp): Add definition of TEST_ALWAYS_FLAGS. Remove setting of GCC_UNDER_TEST. testsuite/ChangeLog * lib/g++.exp (g++_init): Add $TEST_ALWAYS_FLAGS to ALWAYS_CXXFLAGS, if defined. * lib/gfortran.exp (gfortran_init): Add $TEST_ALWAYS_FLAGS to ALWAYS_GFORTRANFLAGS, if defined. * lib/go.exp (go_target_compile): Add $TEST_ALWAYS_FLAGS to ALWAYS_GOCFLAGS, if defined. * lib/obj-c++.exp (obj-c++_init): Add $TEST_ALWAYS_FLAGS to ALWAYS_OBJCXXFLAGS, if defined. * lib/gcc.exp (gcc_target_compile): Add $TEST_ALWAYS_FLAGS to additional_flags, if defined. * lib/gnat.exp (gnat_target_compile): Likewise. * lib/objc.exp (objc_target_compile): Likewise. * lib/target-supports-dg.exp (dg-add-options): Handle TEST_ALWAYS_FLAGS. From-SVN: r178897
Diego Novillo committed -
2011-09-15 Tom de Vries <tom@codesourcery.com> PR testsuite/50322 * gcc.dg/tree-ssa/ivopts-lt.c: require stdint_types. include stdint.h. Use uintptr_t in f1. Undo avr xfails. From-SVN: r178895
Tom de Vries committed -
* config/i386/i386.c (output_fp_compare): Return %v prefixed instruction mnemonics for TARGET_AVX. * config/i386/i386.md (*movdf_internal_rex64): use cond RTX in "type" attribute calculation. (*movdf_internal): Ditto. (*movsf_internal): Ditto. From-SVN: r178891
Uros Bizjak committed -
2011-09-15 Janus Weil <janus@gcc.gnu.org> PR fortran/50401 * resolve.c (resolve_transfer): Check if component 'ref' is defined. PR fortran/50403 * symbol.c (gfc_use_derived): Check if argument 'sym' is defined. 2011-09-15 Janus Weil <janus@gcc.gnu.org> PR fortran/50401 PR fortran/50403 * gfortran.dg/function_types_3.f90: New. From-SVN: r178889
Janus Weil committed -
2011-09-15 James Greenhalgh <james.greenhalgh@arm.com> * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): New builtin macro. From-SVN: r178884
James Greenhalgh committed -
PR c++/50365 * parser.c (cp_parser_late_return_type_opt): Check quals parameter for clearing current_class_ptr, too. From-SVN: r178883
Jason Merrill committed -
PR c++/50361 * expr.c (count_type_elements): Handle NULLPTR_TYPE. From-SVN: r178882
Jason Merrill committed -
* ipa-inline-analysis.c (add_condition): Add conditions parameter; simplify obviously true clauses. (and_predicates, or_predicates): Add conditions parameter. (inline_duplication_hoook): Update. (mark_modified): New function. (unmodified_parm): New function. (eliminated_by_inlining_prob, (set_cond_stmt_execution_predicate, set_switch_stmt_execution_predicate, will_be_nonconstant_predicate): Use unmodified_parm. (estimate_function_body_sizes): Update. (remap_predicate): Update. From-SVN: r178881
Jan Hubicka committed -
tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Allow read-after-read dependencies in basic block SLP. * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Allow read-after-read dependencies in basic block SLP. From-SVN: r178880
Ira Rosen committed -
From-SVN: r178879
Arnaud Charlet committed -
2011-09-15 Robert Dewar <dewar@adacore.com> * tree_io.ads: Minor reformatting. * a-intnam.ads: Fix bad header. 2011-09-15 Thomas Quinot <quinot@adacore.com> * a-exexpr-gcc.adb: Minor reformatting. 2011-09-15 Yannick Moy <moy@adacore.com> * sem_ch6.adb: Propagate information that an expression function comes from source (otherwise references to this entity are not stored). From-SVN: r178878
Arnaud Charlet committed -
2011-09-15 Robert Dewar <dewar@adacore.com> * a-cdlili.adb, a-coinve.adb, a-stzunb-shared.ads, a-suezst.adb, a-suenco.adb, a-stwiun-shared.ads, a-cobove.adb, a-convec.adb, a-btgbso.adb, a-cbdlli.adb, a-suewst.adb: Minor reformatting. 2011-09-15 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Analyze_Expression_Function): Code cleanup: if the expression function is not a completion, create a new specification for the generated declaration, and keep the original specification in the generated body. Shorter code also ensures that proper warnings are generated for unused formals in all cases. 2011-09-15 Sergey Rybin <rybin@adacore.com> * tree_io.ads: Update ASIS_Version_Number because of the changes in the tree structures for expression functions. 2011-09-15 Arnaud Charlet <charlet@adacore.com> * s-osinte-aix.ads, s-osinte-darwin.ads, s-osinte-freebsd.ads, s-osinte-hpux.ads, s-osinte-lynxos.ads, s-osinte-solaris-posix.ads, s-taprop-posix.adb (CLOCK_MONOTONIC): New constant. (CLOCK_REALTIME): Fix wrong value on some OSes. * s-taprop-posix.adb (Monotonic_Clock): Use CLOCK_MONOTONIC. From-SVN: r178877
Arnaud Charlet committed -
From-SVN: r178875
GCC Administrator committed
-
- 14 Sep, 2011 19 commits
-
-
From-SVN: r178870
Ian Lance Taylor committed -
gcc/ * config/sparc/sparc.md: Use match_test rather than eq/ne symbol_ref throughout file. From-SVN: r178869
Richard Sandiford committed -
gcc/ * config/sh/sh.md: Use match_test rather than eq/ne symbol_ref throughout file. From-SVN: r178868
Richard Sandiford committed -
gcc/ * config/s390/s390.md: Use match_test rather than eq/ne symbol_ref throughout file. From-SVN: r178867
Richard Sandiford committed -
gcc/ * config/rs6000/rs6000.md: Use match_test rather than eq/ne symbol_ref throughout file. * config/rs6000/constraints.md: Likewise. From-SVN: r178866
Richard Sandiford committed -
gcc/ * config/microblaze/microblaze.md: Use match_test rather than eq/ne symbol_ref throughout file. From-SVN: r178865
Richard Sandiford committed -
gcc/ * config/bfin/bfin.md: Use match_test rather than eq/ne symbol_ref throughout file. From-SVN: r178864
Richard Sandiford committed -
2011-09-14 François Dumont <fdumont@gcc.gnu.org> Paolo Carlini <paolo.carlini@oracle.com> * include/bits/hashtable.h (_Hashtable<>::_M_rehash): Take and restore hash policy _M_prev_resize on exception. (_Hashtable<>::_M_insert_bucket): Capture hash policy next resize before using it and use latter method to have it restored on exception. (_Hashtable<>::_M_insert(_Arg&& __v, std::false_type): Likewise. (_Hashtable<>::insert(_InputIterator, _InputIterator): Likewise. (_Hashtable<>::rehash): Likewise. * testsuite/23_containers/unordered_set/insert/hash_policy.cc: New. * testsuite/23_containers/unordered_multiset/insert/hash_policy.cc: Likewise. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r178861
François Dumont committed -
* name-lookup.c (lookup_arg_dependent): Use conditional timevars. * decl.c (xref_tag): Likewise. From-SVN: r178860
Diego Novillo committed -
From-SVN: r178859
Ian Lance Taylor committed -
/cp 2011-09-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/50391 * pt.c (regenerate_decl_from_template): Don't pass an error_mark_node to build_exception_variant. /testsuite 2011-09-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/50391 * g++.dg/cpp0x/noexcept15.C: New. From-SVN: r178857
Paolo Carlini committed -
2011-09-14 Tom de Vries <tom@codesourcery.com> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r178856
Tom de Vries committed -
2011-09-14 Tom de Vries <tom@codesourcery.com> PR middle-end/50251 * gcc.dg/pr50251.c: New test. From-SVN: r178854
Tom de Vries committed -
2011-09-14 Tom de Vries <tom@codesourcery.com> PR middle-end/50251 * explow.c (emit_stack_restore): Set crtl->need_drap if stack_restore is emitted. From-SVN: r178853
Tom de Vries committed -
gcc/ * config/arm/arm.c (arm_override_options): Add unaligned_access support. (arm_file_start): Emit attribute for unaligned access as appropriate. * config/arm/arm.md (UNSPEC_UNALIGNED_LOAD) (UNSPEC_UNALIGNED_STORE): Add constants for unspecs. (insv, extzv): Add unaligned-access support. (extv): Change to expander. Likewise. (extzv_t1, extv_regsi): Add helpers. (unaligned_loadsi, unaligned_loadhis, unaligned_loadhiu) (unaligned_storesi, unaligned_storehi): New. (*extv_reg): New (previous extv implementation). * config/arm/arm.opt (munaligned_access): Add option. * config/arm/constraints.md (Uw): New constraint. * expmed.c (store_bit_field_1): Adjust bitfield numbering according to size of access, not size of unit, when BITS_BIG_ENDIAN != BYTES_BIG_ENDIAN. Don't use bitfield accesses for volatile accesses when -fstrict-volatile-bitfields is in effect. (extract_bit_field_1): Likewise. From-SVN: r178852
Julian Brown committed -
simplify-rtx.c (simplify_subreg): Check that the inner mode is a scalar integer before applying integer-only... gcc/ * simplify-rtx.c (simplify_subreg): Check that the inner mode is a scalar integer before applying integer-only optimisations to inner arithmetic. From-SVN: r178848
Richard Sandiford committed -
* config/mips/mips.c (mips_expand_epilogue): Generate a simple_return only if the return address is in r31. From-SVN: r178847
Bernd Schmidt committed -
2011-09-14 Tobias Burnus <burnus@net-b.de> PR fortran/34547 PR fortran/50375 * gfortran.dg/null_5.f90: New. * gfortran.dg/null_6.f90: New. From-SVN: r178842
Tobias Burnus committed -
2011-09-14 Tobias Burnus <burnus@net-b.de> PR fortran/34547 PR fortran/50375 * check.c (gfc_check_null): Allow allocatables as MOLD to NULL. * resolve.c (resolve_transfer): Reject NULL without MOLD. * interface.c (gfc_procedure_use): Reject NULL without MOLD if no explicit interface is known. (gfc_search_interface): Reject NULL without MOLD if it would lead to ambiguity. 2011-09-14 Tobias Burnus <burnus@net-b.de> PR fortran/34547 PR fortran/50375 * gfortran.dg/null_5.f90: New. * gfortran.dg/null_6.f90: New. From-SVN: r178841
Tobias Burnus committed
-