- 28 Nov, 2012 33 commits
-
-
PR debug/36728 PR debug/55467 PR middle-end/55507 PR bootstrap/55511 * cselib.c (cselib_process_insn): If cselib_preserve_constants, don't reset table and exit early on volatile insns and setjmp. Reset table afterwards on setjmp. * gcc.dg/guality/pr36728-1.c: Include "../nop.h", make sure the asm are non-empty and add dependency between the first and second asm. * gcc.dg/guality/pr36728-2.c: Likewise. * gcc.dg/guality/pr36728-3.c: New test. * gcc.dg/guality/pr36728-4.c: New test. From-SVN: r193911
Jakub Jelinek committed -
2012-11-28 Andrew Pinski <apinski@cavium.com> PR bootstrap/54279 * configure.ac (CXX_FOR_TARGET): Change over to use xg++. * configure: Regenerate. * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): Change over to use xg++. * Makefile.in: Regenerate. 2012-11-28 Andrew Pinski <apinski@cavium.com> PR bootstrap/54279 * Makefile.in (${QMTEST_DIR}/context): Use xg++ instead of g++. 2012-11-28 Andrew Pinski <apinski@cavium.com> PR bootstrap/54279 * Make-lang.in (g++$(exeext)): Rename to (xg++$(exeext)): This. (g++-cross$(exeext)): Use xg++$(exeext) instead of g++$(exeext). (c++.start.encap): Likewise. (c++.install-common): Likewise. 2012-11-28 Andrew Pinski <apinski@cavium.com> PR bootstrap/54279 * lib/g++.exp (g++_init): Search for xg++ instead of g++ in the build directories. * lib/obj-c++.exp (obj-c++_init): Likewise. 2012-11-28 Andrew Pinski <apinski@cavium.com> PR bootstrap/54279 * scripts/testsuite_flags.in (--build-cxx): Use xg++ instead of g++. * testsuite/lib/libstdc++.exp (libstdc++_init): Likewise. From-SVN: r193910
Andrew Pinski committed -
gcc/ PR rtl-optimization/55052 * simplify-rtx.c (simplify_subreg): Restore SCALAR_INT_MODE_P check. From-SVN: r193909
Richard Sandiford committed -
2012-11-28 Tobias Burnus <burnus@net-b.de> PR fortran/52161 * trans-stmt.c (gfc_trans_sync): Fix bound checking. 2012-11-28 Tobias Burnus <burnus@net-b.de> PR fortran/52161 * coarray/sync_3.f90: New. From-SVN: r193908
Tobias Burnus committed -
PR libgcc/48076 * emutls.c (__emutls_get_address): Avoid race condition between obj->loc.offset read and emutls_key initialization. From-SVN: r193907
Richard Henderson committed -
* target.def (use_blocks_for_decl_p): New hook. * varasm.c (use_blocks_for_decl_p): Apply hook as final condition. * doc/tm.texi.in (USE_BLOCKS_FOR_DECL_P): New description. * doc/tm.texi: Regenerated. From-SVN: r193906
David Edelsohn committed -
re PR middle-end/55438 (tmpdir-gcc.dg-struct-layout-1/t001 - t028, gcc.c-torture/execute/991118-1.c, gcc.c-torture/execute/bf64-1.c, ICE) gcc/ PR middle-end/55438 * expmed.c (simple_mem_bitfield_p): New function, extracted from store_bit_field_1 and extract_bit_field_1. Use GET_MODE_ALIGNMENT rather than bitsize when checking the alignment. (store_bit_field_1, extract_bit_field_1): Call it. * stor-layout.c (bit_field_mode_iterator::bit_field_mode_iterator): Don't limit ALIGN_. Assume that memory is mapped in chunks of at least word size, regardless of BIGGEST_ALIGNMENT. (bit_field_mode_iterator::get_mode): Use GET_MODE_ALIGNMENT rather than unit when checking the alignment. (get_best_mode): Use GET_MODE_ALIGNMENT. From-SVN: r193905
Richard Sandiford committed -
* testsuite-management/validate_failures.py: Use <target_alias> instead of <target>. Minor whitespace changes. From-SVN: r193904
Doug Evans committed -
* testsuite-management/validate_failures.py: Record ordinal with TestResult. From-SVN: r193903
Doug Evans committed -
* gcc.target/i386/pr55458.c: Require ia32 target instead of ilp32. From-SVN: r193902
Uros Bizjak committed -
2012-11-28 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/55512 * lra-assigns.c (assign_by_spills): Assigned arbitrary hard regs to failed reload pseudos instead of changing asm pattern. * lra-constraints.c (MAX_CONSTRAINT_ITERATION_NUMBER): Increase value. 2012-11-28 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/55512 * gcc.target/i386/pr55512-[1234].c: New tests. From-SVN: r193901
Vladimir Makarov committed -
PR other/55358 * dse.c (rest_of_handle_dse): Remove superfluous clearing. From-SVN: r193900
Markus Trippelsdorf committed -
PR testsuite/55505 * gcc.c-torture/execute/921202-1.c: Increase size of dx and dy arrays. From-SVN: r193899
Jakub Jelinek committed -
re PR testsuite/55504 (gcc.c-torture/execute/20071018-1.c execution failures with -fsanitize=address) PR testsuite/55504 * gcc.c-torture/execute/20071018-1.c (foo): Add noinline/noclone attributes. Avoid clobbering memory before malloced chunk. (main): Pass 1 instead of 0 as argument. From-SVN: r193898
Jakub Jelinek committed -
From-SVN: r193897
Joern Rennecke committed -
* config/epiphany/epiphany.opt (mfp-iarith): New option. * config/epiphany/epiphgany.md (addsi3): Check for TARGET_FP_IARITH. (subsi3, iadd, isub): Rename to .. (subsi3_i, iadd_i, isub_i): .. This. (subsi3, iadd, isub): New define_expands. * config/epiphany/epiphgany.md (attribute type): Add v2fp. (attribute fp_mode): Test for v2fp. (<float_operation:insn_opname>v2sf3_i): Change type to v2fp. * config/epiphany/epiphgany-sched.md (fp_arith_nearest, fp_arith_trunc): Combine to .. (fp_arith): .. this. (v2fp_arith): New insn reservation. From-SVN: r193896
Joern Rennecke committed -
From-SVN: r193895
Joern Rennecke committed -
* config/epiphany/predicates.md (move_double_src_operand): Check that misaligned addresses are offsettable. (move_dest_operand): Likewise. * config/epiphany/epiphany.c (REG_OK_FOR_BASE_P): Don't force a misaligned stack address to reg+index. From-SVN: r193894
Joern Rennecke committed -
2012-11-28 Oleg Raikhman <oleg@adapteva.com> * config/epiphany/epiphany.h (ASM_OUTPUT_ALIGN_WITH_NOP): Define. From-SVN: r193892
Oleg Raikhman committed -
* config/epiphany/epiphany.opt (-may-round-for-trunc): New option. * config/epiphany/epiphany.md (*fix_truncsfsi2_i): Take it into account. From-SVN: r193891
Joern Rennecke committed -
* config/epiphany/epiphany.md (mov<mode>, *mov<mode>_insn): Check for misaligned memory operands. * config/epiphany/predicates.md (misaligned_operand): New predicate. From-SVN: r193890
Joern Rennecke committed -
* config/epiphany/epiphany.h (HARD_REGNO_RENAME_OK): Define. * config/epiphany/epiphany-protos.h (epiphany_regno_rename_ok): Declare. * config/epiphany/epiphany.c (epiphany_regno_rename_ok): New function. From-SVN: r193889
Joern Rennecke committed -
re PR tree-optimization/54547 (FAIL: gcc.dg/tree-ssa/pr37508.c scan-tree-dump-times vrp1 "Folding" 3) 2012-11-28 Richard Biener <rguenther@suse.de> PR tree-optimization/54547 * tree-vrp.c (set_and_canonicalize_value_range): Handle 1-bit anti-ranges explicitely. (extract_range_from_assert): Properly canonicalize all built anti-ranges. From-SVN: r193888
Richard Biener committed -
From-SVN: r193887
Eric Botcazou committed -
stor-layout.c (layout_type): Do not clear TREE_OVERFLOW on overflowed zeroes, except in one specific case. * stor-layout.c (layout_type) <ARRAY_TYPE>: Do not clear TREE_OVERFLOW on overflowed zeroes, except in one specific case. ada/ * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Use valid_constant_size_p to detect too large objects. <E_Subprogram_Type>: Likewise for too large return types. (allocatable_size_p): Call valid_constant_size_p in the fixed case. (annotate_value) <INTEGER_CST>: Simplify. <BIT_AND_EXPR>: Deal with negative values here. * gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Use valid_constant_size_p to detect too large objects on the LHS. * gcc-interface/misc.c (default_pass_by_ref): Likewise for large types. And use TYPE_SIZE_UNIT throughout. (must_pass_by_ref): Likewise. * gcc-interface/utils.c (max_size) <tcc_unary>: Split from common case. <tcc_binary>: Likewise. Call size_binop instead of fold_build2. <tcc_expression>: Simplify. * gcc-interface/utils2.c (build_allocator): Use valid_constant_size_p to detect too large allocations. From-SVN: r193886
Eric Botcazou committed -
re PR c++/55497 (Local array (char[]) initialized with a size taken from a static variable creates an ICE) 2012-11-28 Paolo Carlini <paolo.carlini@oracle.com> PR c++/55497 * g++.dg/init/pr55497.C: New. From-SVN: r193885
Paolo Carlini committed -
2012-11-28 Marc Glisse <marc.glisse@inria.fr> PR middle-end/55266 * fold-const.c (fold_ternary_loc) [BIT_FIELD_REF]: Handle CONSTRUCTOR with vector elements. * tree-ssa-propagate.c (valid_gimple_rhs_p): Handle CONSTRUCTOR and BIT_FIELD_REF. From-SVN: r193884
Marc Glisse committed -
re PR testsuite/55327 (FAIL: gcc.dg/vect/slp-perm-8.c scan-tree-dump-times vect "vectorized 1 loops" 2) 2012-11-28 Richard Biener <rguenther@suse.de> PR testsuite/55327 * gcc.dg/vect/slp-perm-8.c: Mark worker as noinline. * gcc.dg/vect/slp-perm-9.c: Likewise. From-SVN: r193883
Richard Biener committed -
2012-11-28 Richard Biener <rguenther@suse.de> PR c/35634 * gimple.h (gimplify_self_mod_expr): Declare. * gimplify.c (gimplify_self_mod_expr): Export. Take a different type for performing the arithmetic in. (gimplify_expr): Adjust. * tree-vect-loop-manip.c (vect_can_advance_ivs_p): Strip sign conversions we can re-apply after adjusting the IV. c-family/ * c-gimplify.c (c_gimplify_expr): Gimplify self-modify expressions here and use a type with proper overflow behavior for types that would need to be promoted for the arithmetic. * gcc.dg/torture/pr35634.c: New testcase. * g++.dg/torture/pr35634.C: Likewise. * gcc.dg/vect/pr18536.c: Mark worker function noinline. From-SVN: r193882
Richard Biener committed -
* include/std/functional (_Mem_fn): Constrain function call operators to avoid ambiguities. Use perfect forwarding. * testsuite/20_util/function_objects/mem_fn/55463.cc: Additional tests. * testsuite/20_util/function_objects/mem_fn/forward.cc: New. * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers. From-SVN: r193879
Jonathan Wakely committed -
From-SVN: r193878
GCC Administrator committed -
re PR rtl-optimization/55006 (aermod.f90 is miscompiled with '-m64 -O2 -funroll-loops' after revision 192526) PR rtl-optimization/55006 * loop-unroll.c (struct iv_to_split): Add new 'orig_var' member. (analyze_iv_to_split_insn): Record it. (maybe_strip_eq_note_for_split_iv): New function to remove REG_EQUAL notes that refer to IVs that are being split. (apply_opt_in_copies): Use maybe_strip_eq_note_for_split_iv. Twice. Use FOR_BB_INSNS_SAFE. From-SVN: r193876
Steven Bosscher committed -
From-SVN: r193874
Ian Lance Taylor committed
-
- 27 Nov, 2012 7 commits
-
-
* rtl.h (debug_bb_n_slim, debug_bb_slim, debug_insn_slim): Remove prototypes. (debug_rtl_slim): Rename to dump_rtl_slim. (print_value_slim): Rename to dump_value_slim. * ira.c (ira_update_equiv_info_by_shuffle_insn): Update print_value_slim user. * lra.c (lra_process_new_insns): Use dump_insn_slim to dump single insns. Use dump_rtl_slim for insn chains. * lra-constraints.c (get_reload_reg): Update print_value_slim user. (process_addr_reg): Likewise. (equiv_address_substitution): Likewise. (inherit_reload_reg): Likewise. Use dump_insn_slim to dump single insns. (check_and_process_move): Likewise. (lra_constraints): Likewise. (split_reg): Likewise. (update_ebb_live_info): Likewise. (remove_inheritance_pseudos): Likewise. * sched-vis.c: Don't include sched-int.h. Remove #ifdef INSN_SCHEDULING tests. (print_value_slim): Rename to dump_value_slim. Simplify a few cases using GET_RTX_NAME. (print_pattern): Do not handle UNSPEC and UNSPECV here, explain why. (print_insn): Reorganize code to be independent of INSN_SCHEDULING. Always print CALL_INSN patterns. Harmonize INSN_UID dumping template. Handle NOTE_INSN_CALL_ARG_LOCATION. (dump_rtl_slim): Copied from debug_rtl_slim. (debug_rtl_slim): Wrapper around dump_rtl_slim to stderr. * haifa-sched.c (schedule_insn): Update print_insn user. From-SVN: r193873
Steven Bosscher committed -
2012-11-27 Tobias Burnus <burnus@net-b.de> PR fortran/55476 * expr.c (gfc_check_pointer_assign): Fix check pointer-might-outlive-target check for host_assoc. 2012-11-27 Tobias Burnus <burnus@net-b.de> PR fortran/55476 * gfortran.dg/warn_target_lifetime_3.f90: New. From-SVN: r193872
Tobias Burnus committed -
re PR rtl-optimization/55458 (ICE: in assign_by_spills, at lra-assigns.c:1212 with -fPIC -m32 and simple asm volatile) 2012-11-27 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/55458 * lra-assigns.c: Include rtl-error.h. (assign_by_spills): Report about asm inpossible constraints. * Makefile.in (lra-assigns.c): Add $(RTL_ERROR_H). 2012-11-27 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/55458 * gcc.target/i386/pr55458.c: New test. From-SVN: r193871
Vladimir Makarov committed -
Format is @headername{hdr1,hdr2} not @headername{hdr1 or hdr2}. 2012-11-27 Ollie Wild <aaw@google.com> * include/bits/stl_tree.h (@headername): Fix incorrect Doxygen macro invocation. From-SVN: r193869
Ollie Wild committed -
2012-11-27 Paolo Bonzini <pbonzini@redhat.com> PR rtl-optimization/55489 * gcse.c (compute_transp): Precompute a canonical version of XEXP (x, 0), and pass it to canon_true_dependence. * alias.c (init_alias_analysis): Fix allocation of reg_known_value. From-SVN: r193868
Paolo Bonzini committed -
This patch restores bootstrap when detailed memory stats are enabled. No functional changes. Tested on x86_64. Committed to trunk. 2012-11-27 Diego Novillo <dnovillo@google.com> * vec.h: Replace 'class vec' with 'struct vec' everywhere. (ggc_internal_cleared_alloc_stat): Remove. (va_gc::reserve): Add PASS_MEM_STAT to ggc_realloc_stat call. (va_stack::reserve): Add PASS_MEM_STAT to va_heap::reserve call. (vec<T, A, vl_embed>::copy): Replace ALONE_MEM_STAT_DECL with ALONE_CXX_MEM_STAT_INFO. (vec_safe_reserve): Replace MEM_STAT_DECL with CXX_MEM_STAT_INFO. (vec_safe_reserve_exact): Likewise. (vec_alloc): Likewise. (vec_safe_grow): Likewise. (vec_safe_grow_cleared): Likewise. (vec_safe_push): Likewise. (vec_safe_insert): Likewise. (vec_safe_splice): Likewise. (vec_alloc): Likewise. (vec_check_alloc): Likewise. From-SVN: r193864
Diego Novillo committed -
2012-11-27 Marc Glisse <marc.glisse@inria.fr> * tree-cfg.c (verify_gimple_comparison): Verify that vector comparison returns a vector. From-SVN: r193862
Marc Glisse committed
-