summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2013-12-15 Janus Weil <janus@gcc.gnu.org>janus2013-12-154-1/+28
| | | | | | | | | | | | | | PR fortran/59493 * class.c (gfc_find_intrinsic_vtab): Handle BT_CLASS. 2013-12-15 Janus Weil <janus@gcc.gnu.org> PR fortran/59493 * gfortran.dg/unlimited_polymorphic_15.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205997 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2013-12-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205996 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/58477hubicka2013-12-144-0/+44
| | | | | | | | * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers. * g++.dg/ipa/devirt-19.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205993 138bc75d-0d04-0410-961f-82ee72b054a4
* More overflow-negate-* testing.mpolacek2013-12-143-3/+73
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205992 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/58477hubicka2013-12-142-1/+9
| | | | | | | * cgraphclones.c (cgraph_clone_edge): Do not resolve speculative edges. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205991 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-14 Janus Weil <janus@gcc.gnu.org>janus2013-12-144-3/+36
| | | | | | | | | | | | | | PR fortran/59502 * primary.c (gfc_match_varspec): Check for 'class_ok'. 2013-12-14 Janus Weil <janus@gcc.gnu.org> PR fortran/59502 * gfortran.dg/class_57.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205990 138bc75d-0d04-0410-961f-82ee72b054a4
* Restore flag_pic in ix86_function_specific_restorehjl2013-12-144-0/+32
| | | | | | | | | | | | | | | | gcc/ PR target/59492 * config/i386/i386.c (ix86_function_specific_restore): Don't change -fPIC. 2013-12-14 H.J. Lu <hongjiu.lu@intel.com> PR target/59492 * g++.dg/other/pr59492.C: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205989 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix the ChangeLog entrieshjl2013-12-142-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205988 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/cilk-plus/cilk-plus.exp: Fix last change.schwab2013-12-142-10/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205987 138bc75d-0d04-0410-961f-82ee72b054a4
* * var-tracking.c (add_stores): Fix oversight in latest commit.ebotcazou2013-12-144-0/+91
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205986 138bc75d-0d04-0410-961f-82ee72b054a4
* More tests for ubsan.mpolacek2013-12-143-0/+276
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205985 138bc75d-0d04-0410-961f-82ee72b054a4
* PR sanitizer/59503mpolacek2013-12-144-3/+28
| | | | | | | | | | | * internal-fn.c (ubsan_expand_si_overflow_addsub_check): Call expand_binop with correct optab depending on code. testsuite/ * c-c++-common/ubsan/pr59503.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205984 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-14 Janus Weil <janus@gcc.gnu.org>janus2013-12-144-8/+63
| | | | | | | | | | | | | | PR fortran/59450 * module.c (mio_expr): Handle type-bound function expressions. 2013-12-14 Janus Weil <janus@gcc.gnu.org> PR fortran/59450 * gfortran.dg/typebound_proc_31.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205983 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix REG_PARM_STACK_SPACE usage in expand_callvries2013-12-142-1/+5
| | | | | | | | 2013-12-14 Tom de Vries <tom@codesourcery.com> * calls.c (expand_call): Fix REG_PARM_STACK_SPACE comparison. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205982 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rl78/rl78-expand.md (one_cmplqi2): Make constant signed.dj2013-12-142-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205981 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2013-12-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205980 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/msp430/msp430.md (movqi): replace general_operand withdj2013-12-132-35/+54
| | | | | | | | | | | | | | | | | | | | | msp_general_operand and nonimmediate_operand with msp_nonimmediate_operand to allow volatile operands. (movhi): Likewise. (movpsi): Likewise. (addpsi3): Likewise. (addhi3): Likewise. (addhi3_cy): Likewise. (addchi4_cy): Likewise. (xor<mode>3): Likewise. (ome_cmpl<mode>2): Likewise. (extendqihi2): Likewise. (zero_extendqihi2): Likewise. (zero_extendhipsi2): Likewise. (truncpsihi2): Likewise. (srai_1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205977 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix g++.dg/cilk-plus/cilk-plus.expro2013-12-132-16/+22
| | | | | | | * g++.dg/cilk-plus/cilk-plus.exp: Properly set ld_library_path. Use TEST_EXTRA_LIBS instead of ALWAYS_CFLAGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205976 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Add user-friendly check for native x86_64-linuxfxcoudert2013-12-133-0/+46
| | | | | | | | multilibs. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205975 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-13 Vladimir Makarov <vmakarov@redhat.com>vmakarov2013-12-136-10/+65
| | | | | | | | | | | | | | | * ira.h (struct ira_reg_equiv): Rename to ira_reg_equiv_s. * ira.c: Ditto. * lra-int.h (lra_init_equiv): New prototype. * lra-constraints.c (lra_init_equiv, update_equiv): New functions. (loc_equivalence_callback): Use the 3rd arg. (lra_constraints): Update equivalences. Pass curr_insn to simplify_replace_fn_rtx. * lra.c (lra): Call lra_init_equiv. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205974 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-13 Kenneth Zadeck <zadeck@naturalbridge.com>zadeck2013-12-132-2/+6
| | | | | | | | * genmodes.c (emit_max_int): Fixed missing parens. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205970 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59149aldyh2013-12-133-1/+11
| | | | | | | | * calls.c (flags_from_decl_or_type): Fail on non decl or type. * trans-mem.c (diagnose_tm_1): Do not call flags_from_decl_or_type if no type or decl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205967 138bc75d-0d04-0410-961f-82ee72b054a4
* Enabled Usage of _Cilk_spawn and _Cilk_sync in Cilk Runtime (libcilkrts).bviyer2013-12-134-3/+10
| | | | | | | | | | | | | +2013-12-13 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * Makefile.am (GENERAL_FLAGS): Removed undefining of Cilk keywords. + * Makefile.in: Reconfigure. + * runtime/symbol_test.c: Added a #define to clear out _Cilk_for. + git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205965 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-13 Kenneth Zadeck <zadeck@naturalbridge.com>zadeck2013-12-1315-40/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | * config/arc/arc.h (BITS_PER_UNIT): Removed. * config/bfin/bfin.h (BITS_PER_UNIT): Removed. * config/lm32/lm32.h (BITS_PER_UNIT): Removed. * config/m32c/m32c.h (BITS_PER_UNIT): Removed. * config/microblaze/microblaze.h (BITS_PER_UNIT): Removed. * config/picochip/picochip.h (BITS_PER_UNIT): Removed. * config/spu/spu.h (BITS_PER_UNIT): Removed. * defaults.h (BITS_PER_UNIT): Removed. * config/i386/i386-modes.def (MAX_BITSIZE_MODE_ANY_INT): New. * doc/rtl (BITS_PER_UNIT): Moved from tm.texi. (MAX_BITSIZE_MODE_ANY_INT): Updated. * doc/tm.texi (BITS_PER_UNIT): Removed. * doc/tm.texi.in (BITS_PER_UNIT): Removed. * genmodes.c (bits_per_unit, max_bitsize_mode_any_int): New. (create_modes): Added code to set bits_per_unit and max_bitsize_mode_any_int. (emit_max_int): Changed code generation. * mkconfig.sh: Added insn-modes.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205964 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/45685law2013-12-134-0/+211
| | | | | | | | | | * tree-ssa-phiopt.c (neg_replacement): New function. (tree_ssa_phiopt_worker): Call it. PR tree-optimization/45685 * gcc.dg/tree-ssa/pr45685.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205963 138bc75d-0d04-0410-961f-82ee72b054a4
* Update HImode imul cost for Silvermonthjl2013-12-132-1/+5
| | | | | | | | | 2013-12-13 Yuri Rumyantsev <ysrumyan@gmail.com> * config/i386/i386.c (slm_cost): Fix imul cost for HI. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205962 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/58296amker2013-12-138-7/+245
| | | | | | | | | | | | | | | | | | | | | PR tree-optimization/41488 * tree-scalar-evolution.c: Include necessary header files. (simplify_peeled_chrec): New function. (analyze_evolution_in_loop): New static variable. Call simplify_peeled_chrec. * tree-ssa-loop-ivopts.c (mark_bivs): Don't mark peeled IV as biv. (add_old_iv_candidates): Don't add candidate for peeled IV. * tree-affine.h (aff_combination_zero_p): New function. PR tree-optimization/58296 PR tree-optimization/41488 * gcc.dg/tree-ssa/scev-7.c: New test. * gcc.dg/pr41488.c: New test. * g++.dg/pr59445.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205959 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/msp430/msp430.c (is_wakeup_func): New function. Returnsnickc2013-12-134-6/+42
| | | | | | | | | | | | | | true if the current function has the wakeup attribute. (msp430_start_function): Note if the function has the wakeup attribute. (msp430_attribute_table): Add wakeup attribute. (msp430_expand_epilogue): Add support for wakeup functions. * config/msp430/msp430.md (disable_interrupts): Emit a NOP after the DINT instruction. * doc/extend.texi: Document the wakeup attribute. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205958 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/57897ktietz2013-12-132-0/+11
| | | | | | | | | * config/i386/i386.c (ix86_option_override_internal): Set for x64 target flag_unwind_tables, if flag_asynchronous_unwind_tables was explicit set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205957 138bc75d-0d04-0410-961f-82ee72b054a4
* Update to copy of current master Go testsuite.ian2013-12-1395-135/+3096
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205955 138bc75d-0d04-0410-961f-82ee72b054a4
* commentjason2013-12-131-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205953 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/58954jason2013-12-133-1/+45
| | | | | | * pt.c (resolve_overloaded_unification): Use instantiate_template. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205952 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2013-12-131-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205951 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/Makefile.in (ARM linux, GNU eabi): Tweak regexp.ebotcazou2013-12-122-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205948 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix dateebotcazou2013-12-122-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205946 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ada/55946ebotcazou2013-12-125-14/+49
| | | | | | | | | | | | | | | | | | | | | gnattools/ * Makefile.in (host): Define. (host_alias): Likewise. (TOOLS_FLAGS_TO_PASS_RE): Add LDFLAGS. (GNATMAKE_FOR_HOST): Define. (GNATLINK_FOR_HOST): Likewise. (GNATBIND_FOR_HOST): Likewise. (GNATLS_FOR_HOST): Likewise. (RTS_DIR): Move around and use GNATLS_FOR_HOST. (TOOLS_FLAGS_TO_PASS_CROSS): Use the other *_HOST variables. gcc/ada/ * gcc-interface/Make-lang.in (ada/doctools/xgnatugn): Use gnatmake. * gcc-interface/Makefile.in (GCC_LINK): Add LDFLAGS. (../../gnatmake): Remove LDFLAGS. (../../gnatlink): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205945 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Better error messages for { on line after if/for/switch.ian2013-12-121-3/+22
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205944 138bc75d-0d04-0410-961f-82ee72b054a4
* * i386.md (simple LEA peephole2): Add missing mode to zero_extendlaw2013-12-122-1/+6
| | | | | | for zero-extended MULT simple LEA pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205943 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Check for nil when slicing pointer to array.ian2013-12-121-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205942 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Tweak untyped nil error message.ian2013-12-121-2/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205941 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Fix defer of unlock thread at program startup.ian2013-12-126-5/+19
| | | | | | | | Don't free stack allocated defer block. Also ensure we have a Go context in a few more places before freeing the block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205940 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-12 Tobias Burnus <burnus@net-b.de>burnus2013-12-125-0/+57
| | | | | | | | | | | | | | | | PR fortran/59440 * trans-decl.c (generate_namelist_decl): Ensure debug DIE is created by setting DECL_IGNORED_P to 0. 2013-12-12 Tobias Burnus <burnus@net-b.de> PR fortran/59440 * gfortran.dg/namelist_83.f90: New. * gfortran.dg/namelist_83_2.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205939 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Don't permit importing a package as "init".ian2013-12-121-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205938 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Don't compare structs with blank non-comparable fields.ian2013-12-123-7/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205937 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/59470jakub2013-12-122-1/+194
| | | | | | | * g++.dg/opt/pr59470.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205934 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Fix MakeFunc returning float32 or float64 on 386.ian2013-12-122-15/+26
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205932 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-12 Vladimir Makarov <vmakarov@redhat.com>vmakarov2013-12-122-0/+37
| | | | | | | | | | PR middle-end/59470 * lra-coalesce.c (lra_coalesce): Invalidate inheritance pseudo values if necessary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205930 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/58627jakub2013-12-122-2/+5
| | | | | | | * call.c (add_template_candidate_real): Don't call ggc_free on targs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205927 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-12 Max Ostapenko <m.ostapenko@partner.samsung.com>chefmax2013-12-1216-1/+492
| | | | | | | | | | | | | | | | | | | | | * c-c++-common/tsan/free_race2.c: New file. * c-c++-common/tsan/race_on_barrier2.c: Likewise. * c-c++-common/tsan/race_on_mutex.c: Likewise. * c-c++-common/tsan/race_on_mutex2.c: Likewise. * c-c++-common/tsan/simple_race.c: Likewise. * c-c++-common/tsan/simple_stack.c: Likewise. * g++.dg/tsan/aligned_vs_unaligned_race.C: Likewise. Test applies only on x86_64-linux targets. * g++.dg/tsan/atomic_free.C: Likewise. * g++.dg/tsan/atomic_free2.C: Likewise. * g++.dg/tsan/benign_race.C: Likewise. * g++.dg/tsan/cond_race.C: Likewise. * g++.dg/tsan/default_options.C: Likewise. * g++.dg/tsan/fd_close_norace.C: Likewise. * g++.dg/tsan/fd_close_norace2.C: Likewise. * g++-dg/tsan/tsan.exp: Modified to run additional C++ tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205925 138bc75d-0d04-0410-961f-82ee72b054a4
* Minor fixesebotcazou2013-12-121-3/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205924 138bc75d-0d04-0410-961f-82ee72b054a4