- 29 Nov, 2012 10 commits
-
-
PR rtl-optimization/55512 * gcc.target/i386/pr55512-2.c: Remove unnecessary define. * gcc.target/i386/pr55512-4.c: Likewise. From-SVN: r193923
Jakub Jelinek committed -
From-SVN: r193922
Marek Polacek committed -
* config/epiphany/epiphany.h (FIXED_REGISTERS, CALL_USED_REGISTERS): Make r40..r43 call-used. (REG_ALLOC_ORDER): Sort r40..r43 into the call-used registers. From-SVN: r193921
Oleg Raikhman committed -
* config/epiphany/epiphany.c (epiphany_adjust_cost): Use reg_overlap_mentioned_p. From-SVN: r193920
Joern Rennecke committed -
From-SVN: r193919
Joern Rennecke committed -
gcc/c-family/ 2012-11-29 Ed Smith-Rowland <3dw4rd@verizon.net> PR c++/52654 * c-common.h (overflow_type): New enum. (build_userdef_literal): Add overflow_type argument. (tree_userdef_literal): Add overflow_type. (USERDEF_LITERAL_OVERFLOW): New access macro. * c-common.c (build_userdef_literal): Add overflow_type argument. * c-lex.c (c_lex_with_flags): Add overflow_type to build_userdef_literal calls. (interpret_integer, interpret_float): Add overflow_type argument. gcc/cp/ 2012-11-29 Ed Smith-Rowland <3dw4rd@verizon.net> PR c++/52654 * parser.c (cp_parser_string_literal): Add overflow_type arg. (cp_parser_userdef_numeric_literal): Warn on numeric overflow. gcc/testsuite/ 2012-11-29 Ed Smith-Rowland <3dw4rd@verizon.net> PR c++/52654 * g++.dg/cpp0x/udlit-overflow.C: New. * g++.dg/cpp0x/udlit-overflow-neg.C: New. From-SVN: r193918
Ed Smith-Rowland committed -
* config/epiphany/epiphany.h (EPIPHANY_LIBRARY_EXTRA_SPEC): Define. (EXTRA_SPECS, DRIVER_SELF_SPECS): Likewise. * config/epiphany/t-epiphany (SPECS): Set. (specs): New rule. From-SVN: r193917
Joern Rennecke committed -
Shift get_attr_sched_use_fpu declaration from last change from config/epiphany/epiphany.h to config/epiphany/epiphany-protos.h . From-SVN: r193916
Joern Rennecke committed -
* config/epiphany/predicates.md (addsub_operator): New predicate. * config/epiphany/epiphany-sched.md (sched_use_fpu): New attribute. * config/epiphany/epiphany.md (isub_i+1): New peephole2. * config/epiphany/epiphany.h (get_attr_sched_use_fpu): Declare. From-SVN: r193915
Joern Rennecke committed -
From-SVN: r193914
GCC Administrator committed
-
- 28 Nov, 2012 30 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
-