aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2012-12-18[AArch64] Fix warning in aarch64.mdJames Greenhalgh2-2/+7
gcc/ * config/aarch64/aarch64.md (insv_imm<mode>): Add modes for source operands. From-SVN: r194589
2012-12-18[AArch64] Fix some warnings about unused variables.James Greenhalgh2-4/+6
gcc/ * config/aarch64/aarch64.c (aarch64_simd_attr_length_move): Remove unused variables. (aarch64_split_compare_and_swap): Likewise. From-SVN: r194588
2012-12-18driver-arm.c (arm_cpu_table): Add Cortex-A7.Kyrylo Tkachov2-0/+6
2012-12-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/driver-arm.c (arm_cpu_table): Add Cortex-A7. From-SVN: r194587
2012-12-18re PR other/54324 (GCC install document does not list minimum required g++ ↵Aldy Hernandez2-0/+11
version) PR other/54324 * doc/install.texi (Tools/packages necessary for building GCC): Suggest --disable-stage1-checking for older GCC's. From-SVN: r194586
2012-12-18re PR other/54324 (GCC install document does not list minimum required g++ ↵Aldy Hernandez2-1/+7
version) PR other/54324 * tree-ssa-coalesce.c (struct ssa_name_var_hash): Remove "union" from template parameter. From-SVN: r194584
2012-12-18re PR middle-end/54838 (ICE: in merge_latch_edges, at cfgloop.c:678 with ↵Richard Biener5-24/+159
-ftracer) 2012-12-18 Richard Biener <rguenther@suse.de> PR middle-end/54838 * cfgloopmanip.c (fix_loop_structure): Re-discover latch edges first and mark loops for removal if no latch edges remain. Properly re-create LOOPS_HAVE_FALLTHRU_PREHEADERS. * loop-init.c (loop_optimizer_finalize): Set LOOPS_MAY_HAVE_MULTIPLE_LATCHES. * g++.dg/torture/pr54838.C: New testcase. From-SVN: r194582
2012-12-18libgo: Link against libatomic.Andreas Schwab4-0/+25
./: PR go/55201 * Makefile.def (all-target-libgo): Depend on all-target-libatomic. * Makefile.in: Regenerate. gcc/go: PR go/55201 * gospec.c (LIBATOMIC): Define. (LIBATOMIC_PROFILE): Define. (lang_specific_driver): Add LIBATOMIC[_PROFILE] option. gcc/testsuite: * lib/go.exp (go_link_flags): Add libatomic location to flags and ld_library_path. From-SVN: r194581
2012-12-18reassoc-19.c: Adjust.Richard Biener2-7/+12
2012-12-18 Richard Biener <rguenther@suse.de> * gcc.dg/tree-ssa/reassoc-19.c: Adjust. From-SVN: r194579
2012-12-18re PR middle-end/55555 (miscompilation at -O2 (number_of_iterations))Richard Biener6-53/+142
2012-12-18 Richard Biener <rguenther@suse.de> PR tree-optimization/55555 * tree-ssa-loop-niter.c (idx_infer_loop_bounds): Properly analyze evolution of the index for the loop it is used in. * tree-scalar-evolution.c (instantiate_scev_name): Take inner loop we will be creating a chrec for. Generalize fix for PR40281 and prune invalid SCEVs. (instantiate_scev_poly): Likewise - pass down inner loop we will be creating a chrec for. (instantiate_scev_binary): Take and pass through inner loop. (instantiate_array_ref): Likewise. (instantiate_scev_convert): Likewise. (instantiate_scev_not): Likewise. (instantiate_scev_3): Likewise. (instantiate_scev_2): Likewise. (instantiate_scev_1): Likewise. (instantiate_scev_r): Likewise. (resolve_mixers): Adjust. (instantiate_scev): Likewise. * gcc.dg/torture/pr55555.c: New testcase. * gcc.dg/vect/vect-iv-11.c: Adjust. From-SVN: r194578
2012-12-18re PR rtl-optimization/55717 (ICE in form_sum, at reload.c:5400)Jakub Jelinek7-41/+195
PR debug/55717 * rtlhooks-def.h (RTL_HOOKS_GEN_LOWPART_NO_EMIT): Define to gen_lowpart_if_possible. (gen_lowpart_no_emit_general): Remove prototype. * rtlhooks.c (gen_lowpart_no_emit_general): Removed. * simplify-rtx.c (simplify_unary_operation_1, simplify_binary_operation_1): Continue simplifying if rtl_hooks.gen_lowpart_no_emit returns NULL_RTX. * dwarf2out.c (mem_loc_descriptor) <case TRUNCATE>: Handle truncation like lowpart SUBREG. * testsuite/g++.dg/opt/pr55717.C: New test. From-SVN: r194575
2012-12-18contrib.texi (Contributors): Update Kaveh Ghazi's entry; remove broken link ↵Gerald Pfeifer2-4/+8
to Rutgers University. * doc/contrib.texi (Contributors): Update Kaveh Ghazi's entry; remove broken link to Rutgers University. From-SVN: r194572
2012-12-18Daily bump.GCC Administrator1-1/+1
From-SVN: r194571
2012-12-17Fix whitespace in gcc/ChangeLog.Jan-Benedict Glaw1-26/+26
From-SVN: r194560
2012-12-17varasm.c (pending_assemble_externals_processed): Guard with ASM_OUTPUT_EXTERNAL.Jan-Benedict Glaw2-1/+6
* varasm.c (pending_assemble_externals_processed): Guard with ASM_OUTPUT_EXTERNAL. From-SVN: r194559
2012-12-17arm.md (zero_extend<mode>di2): Add extra alternatives for NEON registers.Andrew Stubbs7-9/+121
2012-12-17 Andrew Stubbs <ams@codesourcery.com> Ulrich Weigand <ulrich.weigand@linaro.org> gcc/ * config/arm/arm.md (zero_extend<mode>di2): Add extra alternatives for NEON registers. Add alternative for one-instruction extend-in-place. (extend<mode>di2): Likewise. Add constraints for Thumb-mode memory loads. Prevent extend splitters doing NEON alternatives. * config/arm/iterators.md (qhs_extenddi_cstr, qhs_zextenddi_cstr): Adjust constraints to add new alternatives. * config/arm/neon.md: Add splitters for zero- and sign-extend. gcc/testsuite/ * gcc.target/arm/neon-extend-1.c: New file. * gcc.target/arm/neon-extend-2.c: New file. Co-Authored-By: Ulrich Weigand <ulrich.weigand@linaro.org> From-SVN: r194558
2012-12-17arm.md (type): Add "simple_alu_shift" to attribute "type".Greta Yorsh18-74/+60
gcc/ 2012-12-17 Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/arm.md (type): Add "simple_alu_shift" to attribute "type". (core_cycles): Update for simple_alu_shift. (thumb1_zero_extendhisi2,arm_zero_extendhisi2_v6): Use simple_alu_shift instead of a CPU-speicific condition for "type" attribute. (thumb1_zero_extendqisi2_v6,arm_zero_extendqisi2_v6): Likewise. (thumb1_extendhisi2,arm_extendhisi2_v6,arm_extendqisi_v6): Likewise. (thumb1_extendqisi2): Likewise. * config/arm/thumb2.md (thumb2_extendqisi_v6): Likewise. (thumb2_zero_extendhisi2_v6,thumb2_zero_extendqisi2_v6) Likewise. * config/arm/arm1020e.md (alu_shift_op): Use simple_alu_shift. * config/arm/arm1026ejs.md (alu_shift_op): Likewise. * config/arm/arm1136jfs.md (11_alu_shift_op): Likewise. * config/arm/arm926ejs.md (9_alu_op): Likewise. * config/arm/cortex-a15.md (cortex_a15_alu_shift): Likewise. * config/arm/cortex-a5.md (cortex_a5_alu_shift): Likewise. * config/arm/cortex-a8.md (cortex_a8_alu_shift,cortex_a8_mov): Likewise. * config/arm/cortex-a9.md (cortex_a9_dp,cortex_a9_dp_shift): Likewise. * config/arm/cortex-m4.md (cortex_m4_alu): Likewise. * config/arm/cortex-r4.md (cortex_r4_alu_shift): Likewise. * config/arm/fa526.md (526_alu_shift_op): Likewise. * config/arm/fa606te.md (fa606te_core): Likewise. * config/arm/fa626te.md (626te_alu_shift_op): Likewise. * config/arm/fa726te.md (726te_alu_shift_op): Likewise. * config/arm/fmp626.md (mp626_alu_shift_op): Likewise. From-SVN: r194557
2012-12-17target-supports.exp (add_options_for_arm_v8_neon): Add -march=armv8-a.Kyrylo Tkachov2-1/+6
2012-12-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * lib/target-supports.exp (add_options_for_arm_v8_neon): Add -march=armv8-a. From-SVN: r194556
2012-12-17re PR target/54781 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c:1124)Richard Biener2-28/+15
2012-12-17 Richard Biener <rguenther@suse.de> PR middle-end/54781 * alias.c (ao_ref_from_mem): More appropriately constrain the base object we feed to the tree oracle. Remove dead code. From-SVN: r194554
2012-12-17[AARCH64] Enable support for TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES.James Greenhalgh4-1/+27
gcc/ * config/aarch64/aarch64.c (aarch64_autovectorize_vector_sizes): New. (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define. gcc/testsuite/ * lib/target-supports.exp (check_effective_target_vect_multiple_sizes): Enable for AArch64. Co-Authored-By: Tejas Belagod <tejas.belagod@arm.com> From-SVN: r194552
2012-12-17Daily bump.GCC Administrator1-1/+1
From-SVN: r194546
2012-12-16re PR middle-end/55709 (Infinite loop in pointer_set_insert compiling cp/pt.c)John David Anglin2-0/+24
PR middle-end/55709 Forward port from 4.7 branch: 2012-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR middle-end/52894 * varasm.c (process_pending_assemble_externals): Set pending_assemble_externals_processed true. (assemble_external): Call assemble_external_real if the pending assemble externals have been processed. From-SVN: r194538
2012-12-16re PR fortran/55197 (Use statement for omp_lib causes ICE)Tobias Burnus4-2/+26
2012-12-16 Tobias Burnus <burnus@net-b.de> PR fortran/55197 * module.c (gfc_use_module): Free rename list only for internally generated intrinsic modules. 2012-12-16 Tobias Burnus <burnus@net-b.de> PR fortran/55197 * gfortran.dg/gomp/use_intrinsic_1.f90: New. From-SVN: r194537
2012-12-16trans-intrinsic.c (conv_intrinsic_move_alloc): Set dynamic type of the FROM ↵Tobias Burnus4-10/+62
variable to the declared type. 2012-12-16 Tobias Burnus <burnus@net-b.de> * trans-intrinsic.c (conv_intrinsic_move_alloc): Set dynamic type of the FROM variable to the declared type. 2012-12-16 Tobias Burnus <burnus@net-b.de> * gfortran.dg/move_alloc_14.f90: New. From-SVN: r194536
2012-12-16AdjustEric Botcazou1-2/+3
From-SVN: r194533
2012-12-16re PR target/55673 (Reversed before/after handling in ↵Eric Botcazou3-13/+20
sparc_emit_membar_for_model) PR target/55673 * config/sparc/sparc.c (sparc_emit_membar_for_model): Fix reversed handling of before and after cases. * config/sparc/sync.md (atomic_store): Fix pasto. Co-Authored-By: Tomash Brechko <tomash.brechko@gmail.com> From-SVN: r194531
2012-12-16re PR rtl-optimization/55630 (FAIL: g++.dg/pr48660.C -std=c++98 (internal ↵Eric Botcazou2-1/+12
compiler error)) PR rtl-optimization/55630 * expr.c (expand_assignment): Do not call copy_blkmode_to_reg to move BLKmode return values to the return register. From-SVN: r194530
2012-12-16Daily bump.GCC Administrator1-1/+1
From-SVN: r194528
2012-12-16re PR fortran/55638 (Wrongly accepts INTENT + VALUE - and wrongly requires ↵Tobias Burnus5-5/+45
it for PURE) 2012-12-16 Tobias Burnus <burnus@net-b.de> PR fortran/55638 * resolve.c (resolve_formal_arglist): Allow VALUE without INTENT for ELEMENTAL procedures. 2012-12-16 Tobias Burnus <burnus@net-b.de> PR fortran/55638 * gfortran.dg/elemental_args_check_3.f90: Update dg-error. * gfortran.dg/elemental_args_check_7.f90: New. From-SVN: r194525
2012-12-15* lib/scanasm.exp (get_ada_spec_filename): Use procedural form.Eric Botcazou2-1/+5
From-SVN: r194524
2012-12-15re PR ada/52735 (ICE in gnat_to_gnu_entity at gcc-interface/decl.c:4156)Eric Botcazou4-0/+37
PR ada/52735 * gnat.dg/nested_generic1.adb: New test. * gnat.dg/nested_generic1_pkg.ad[sb]: New helper. From-SVN: r194523
2012-12-15re PR ada/53766 (ICE in build_binary_op on Max_Size_In_Storage_Elements with ↵Eric Botcazou3-0/+30
-gnatp) PR ada/53766 * gnat.dg/controlled7.ad[sb]: New test. From-SVN: r194521
2012-12-15re PR ada/53996 (format string issue in gcc-interface/utils.c)Eric Botcazou2-1/+7
PR ada/53996 * gcc-interface/utils.c (gnat_type_for_size): Use %u in lieu of %d. Co-Authored-By: Martin Ettl <ettl.martin@gmx.de> From-SVN: r194520
2012-12-15re PR libmudflap/53952 (FAIL: libmudflap.c++/pass55-frag.cxx ( -O[123]) ↵Alexandre Oliva4-9/+57
execution test) PR libmudflap/53952 * expr.c (mem_ref_refers_to_non_mem_p): Factor out implementation into... (addr_expr_of_non_mem_decl_p_1): ... this new function. (addr_expr_of_non_mem_decl_p): New. * tree.h (addr_expr_of_non_mem_decl_p): Declare. * tree-mudflap.c (mf_xform_derefs_1): Don't change MEM_REFs and TARGET_MEM_REFs that have an ADDR_EXPR of a non-mem DECL as base operand. From-SVN: r194519
2012-12-14re PR c++/55685 (ICE: canonical types differ for identical types)Jason Merrill3-1/+18
PR c++/55685 * pt.c (tsubst_copy_and_build): Don't use SIZEOF_EXPR_TYPE_P in templates. From-SVN: r194517
2012-12-15Daily bump.GCC Administrator1-1/+1
From-SVN: r194515
2012-12-14re PR regression/55688 (FAIL: g++.dg/other/pr55650.C)Steve Ellcey2-0/+6
2012-12-14 Steve Ellcey <sellcey@mips.com> PR regression/55688 * g++.dg/other/pr55650.C: Add dg-require-profiling. From-SVN: r194512
2012-12-14re PR c++/42315 (ICE with invalid array initializer)Jason Merrill5-5/+15
PR c++/42315 * decl.c (maybe_deduce_size_from_array_init): Don't change the variable type. From-SVN: r194509
2012-12-14* optabs.c (expand_atomic_store): Elide redundant model test.Yvan Roux2-2/+5
From-SVN: r194504
2012-12-14re PR gcov-profile/55674 (>20% size increase of lto/pgo binaries since r193747)Teresa Johnson2-1/+9
2012-12-14 Teresa Johnson <tejohnson@google.com> PR gcov-profile/55674 * lto-cgraph.c (merge_profile_summaries): Set min correctly the first time we merge into a histogram entry. From-SVN: r194502
2012-12-14compiler: Better error message for invalid shift operations.Ian Lance Taylor1-6/+3
From-SVN: r194501
2012-12-14re PR tree-optimization/55684 (ICE in remove_redundant_iv_tests, at ↵Richard Biener4-3/+47
tree-ssa-loop-ivcanon.c:559) 2012-12-14 Richard Biener <rguenther@suse.de> PR tree-optimization/55684 * tree-ssa-loop-ivcanon.c (remove_redundant_iv_tests): Handle gracefully the case where we cannot compute the number of iterations at an exit. * gcc.dg/torture/pr55684.c: New testcase. From-SVN: r194499
2012-12-14re PR tree-optimization/55687 (ICE in ↵Richard Biener4-1/+41
hide_evolution_in_other_loops_than_loop, at tree-chrec.c:716) 2012-12-14 Richard Biener <rguenther@suse.de> PR tree-optimization/55687 * tree-chrec.h (no_evolution_in_loop_p): Properly use tree_contains_chrecs. * gcc.dg/torture/pr55687.c: New testcase. From-SVN: r194498
2012-12-14Daily bump.GCC Administrator1-1/+1
From-SVN: r194495
2012-12-13compiler: Accept trailing comma after varargs parameter.Ian Lance Taylor6-21/+88
Also fix handling of interfaces seen only in a function or method declaration. From-SVN: r194492
2012-12-13re PR middle-end/55492 (__atomic_load doesn't match ACQUIRE memory model)Richard Henderson2-7/+12
PR middle-end/55492 * optabs.c (expand_atomic_load): Emit acquire barrier after the load. From-SVN: r194490
2012-12-13alpha: Consider barriers when placing nops after sibcallsRichard Henderson2-9/+17
* config/alpha/alpha.c (alpha_pad_function_end): Consider barriers when looking for NOTE_INSN_CALL_ARG_LOCATION. From-SVN: r194484
2012-12-13re PR middle-end/53476 (FAIL: gcc.dg/attr-weakref-1.c)Richard Biener2-2/+7
2012-12-13 Richard Biener <rguenther@suse.de> PR middle-end/53476 * varpool.c (varpool_remove_unreferenced_decls): Revert to 4.7 behavior. From-SVN: r194481
2012-12-13re PR c++/55652 (ICE (segfault) with templates and structs)Jakub Jelinek4-1/+41
PR c++/55652 * typeck2.c (merge_exception_specifiers): Don't call operand_equal_p if noex is NULL. * g++.dg/cpp0x/noexcept19.C: New test. From-SVN: r194479
2012-12-13unspecs.md: Add copyright notice.Kyrylo Tkachov2-0/+24
2012-12-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/unspecs.md: Add copyright notice. From-SVN: r194478
2012-12-13tree-ssa-threadedge.c (propagate_threaded_block_debug_into): Avoid ↵Jakub Jelinek2-1/+6
-Wsign-compare warning. * tree-ssa-threadedge.c (propagate_threaded_block_debug_into): Avoid -Wsign-compare warning. From-SVN: r194476