aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2013-01-21i386.md (enabled): Do not disable fma4 for TARGET_FMA.Uros Bizjak2-14/+9
* config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA. From-SVN: r195331
2013-01-21Daily bump.GCC Administrator1-1/+1
From-SVN: r195329
2013-01-20re PR debug/53235 (20120504 broke -fdebug-types-section)Jack Howarth2-1/+6
2013-01-20 Jack Howarth <howarth@bromo.med.uc.edu> PR debug/53235 * g++.dg/debug/dwarf2/nested-4.C: XFAIL on darwin. From-SVN: r195326
2013-01-20Check in missing file for:Yi-Hsiu Hsu1-0/+205
Add support for Marvell's PJ4 CPU 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com> Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/marvell-pj4.md: New file. From-SVN: r195325
2013-01-20* gfortran.dg/inquire_10.f90: Run only for non-newlib targets.Hans-Peter Nilsson2-1/+5
From-SVN: r195324
2013-01-20re PR target/55433 ([LRA] ICE on excessive reloads)Vladimir Makarov2-6/+24
2013-01-20 Vladimir Makarov <vmakarov@redhat.com> PR target/55433 * lra-constraints.c (curr_insn_transform): Don't reuse original insn for secondary memory move when memory mode should be different. From-SVN: r195322
2013-01-20pa.md (atomic_loaddi, [...]): New patterns.John David Anglin2-0/+66
* config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi, atomic_storedi_1): New patterns. From-SVN: r195320
2013-01-20Add AMD btver2 pipeline descriptionsVenkataramanan Kumar5-9/+1467
From-SVN: r195319
2013-01-19re PR tree-optimization/52631 (VN does not use simplified expression for lookup)Jeff Law5-1/+49
PR tree-optimization/52631 * tree-ssa-sccvn (visit_use): Before looking up the original statement, try looking up the simplified expression. PR tree-optimization/52631 * tree-ssa/pr52631.c: New test. * tree-ssa/ssa-fre-9: Update expected output. From-SVN: r195318
2013-01-20Daily bump.GCC Administrator1-1/+1
From-SVN: r195317
2013-01-19correct dg-require-alias use in TLS testsJason Merrill12-12/+2
From-SVN: r195313
2013-01-19Fix test case for moxieAnthony Green2-0/+9
From-SVN: r195312
2013-01-19Set current_function_static_stack_size for moxie.Anthony Green2-0/+8
From-SVN: r195311
2013-01-19re PR target/54908 (misc regressions on emutls targets remain from dynamic ↵Jason Merrill8-25/+112
initialization of non-function-local TLS variables) PR target/54908 c-family/ * c.opt (-fextern-tls-init): New. * c-opts.c (c_common_post_options): Handle it. cp/ * decl2.c (get_local_tls_init_fn): New. (get_tls_init_fn): Handle flag_extern_tls_init. Don't bother with aliases for internal variables. Don't use weakrefs if the variable needs destruction. (generate_tls_wrapper): Mark the wrapper as const if no initialization is needed. (handle_tls_init): Don't require aliases. From-SVN: r195310
2013-01-19Daily bump.GCC Administrator1-1/+1
From-SVN: r195309
2013-01-18re PR tree-optimization/56029 (ICE: verify_gimple failed, location ↵Jakub Jelinek4-0/+138
references block not in block tree) PR tree-optimization/56029 * tree-phinodes.c (reserve_phi_args_for_new_edge): Set gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION. * g++.dg/torture/pr56029.C: New test. From-SVN: r195304
2013-01-18re PR tree-optimization/55995 (vect increase_alignment notes missing from ↵Sharad Singhai5-6/+19
dump file) 2013-01-18 Sharad Singhai <singhai@google.com> PR tree-optimization/55995 * dumpfile.c (dump_loc): Print location only if available. * tree-vectorizer.c (increase_alignment): Intialize vect_location. testsuite/ChangeLog PR tree-optimization/55995 * gcc.dg/vect/vect.exp: Use "details" flags for dump info. From-SVN: r195303
2013-01-18re PR target/55433 ([LRA] ICE on excessive reloads)Vladimir Makarov4-18/+55
2013-01-18 Vladimir Makarov <vmakarov@redhat.com> PR target/55433 * lra-constraints.c (curr_insn_transform): Reuse original insn for secondary memory move. (inherit_reload_reg): Use rclass instead of cl for check_secondary_memory_needed_p. 2013-01-18 Vladimir Makarov <vmakarov@redhat.com> PR target/55433 * gcc.target/i386/pr55433.c: New. From-SVN: r195302
2013-01-18re PR middle-end/56015 (expand expands p[9] = COMPLEX_EXPR <-IMAGPART_EXPR ↵Jakub Jelinek4-1/+76
<p[9]>, REALPART_EXPR <p[9]>>; incorrectly.) PR middle-end/56015 * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle the case where writing real complex part of target modifies op1. * gfortran.dg/pr56015.f90: New test. From-SVN: r195301
2013-01-18* gcc.dg/vect/vect-multitypes-12.c: Refactor dg-final directive.Janis Johnson2-1/+7
From-SVN: r195299
2013-01-18[AArch64] Fix unordered comparisons to floating-point vcond.James Greenhalgh10-21/+134
gcc/ * config/aarch64/aarch64-simd.md (aarch64_vcond_internal<mode>): Handle unordered cases. * config/aarch64/iterators.md (v_cmp_result): New. gcc/testsuite/ * gcc.target/aarch64/vect-fcm-gt-f.c: Change expected output. * gcc.target/aarch64/vect-fcm-gt-d.c: Likewise. * gcc.target/aarch64/vect-fcm-ge-f.c: Likewise. * gcc.target/aarch64/vect-fcm-ge-d.c: Likewise. * gcc.target/aarch64/vect-fcm-eq-f.c: Likewise. From-SVN: r195297
2013-01-18pr52573.c: Move to...Jeff Law2-1/+4
* gcc.dg/pr52573.c: Move to... * gcc.target/m68k/pr52573.c: Here. Eliminate target selector. From-SVN: r195296
2013-01-18Add support for Marvell's PJ4 CPUYi-Hsiu Hsu8-3/+25
2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com> Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/marvell-pj4.md: New file. * config/arm/arm.c (arm_issue_rate): Add marvell_pj4. * config/arm/arm.md (generic_sched): Add marvell_pj4. (generic_vfp): Likewise. * config/arm/arm-cores.def: Add marvell-pj4. * config/arm/arm-tune.md: Regenerate. * config/arm/arm-tables.opt: Regenerate. * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4. * doc/invoke.texi: Document marvell-pj4. Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> From-SVN: r195295
2013-01-18arm_neon.h: Map scalar types to standard types.Tejas Belagod2-9/+13
2013-01-18 Tejas Belagod <tejas.belagod@arm.com> gcc/ * config/aarch64/arm_neon.h: Map scalar types to standard types. From-SVN: r195293
2013-01-18Mention PR debug/56006 in earlier commit for PR rtl-optimization/55547.Alexandre Oliva1-0/+1
From-SVN: r195292
2013-01-18re PR debug/54114 (VTA compile-time performance could be improved)Alexandre Oliva3-66/+255
PR debug/54114 PR debug/54402 PR debug/49888 * var-tracking.c (negative_power_of_two_p): New. (global_get_addr_cache, local_get_addr_cache): New. (get_addr_from_global_cache, get_addr_from_local_cache): New. (vt_canonicalize_addr): Rewrite using the above. Adjust the heading comment. (vt_stack_offset_p): Remove. (vt_canon_true_dep): Always canonicalize loc's address. (clobber_overlapping_mems): Make sure we have a MEM. (local_get_addr_clear_given_value): New. (val_reset): Clear local cached entries. (compute_bb_dataflow): Create and release the local cache. Disable duplicate MEMs clobbering. (emit_notes_in_bb): Clobber MEMs likewise. (vt_emit_notes): Create and release the local cache. (vt_initialize, vt_finalize): Create and release the global cache, respectively. * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs. From-SVN: r195291
2013-01-18re PR libmudflap/53359 (undefined reference to ↵Alexandre Oliva2-0/+16
`__gnu_cxx::__numeric_traits_integer<int>::__min') PR libmudflap/53359 * tree-mudflap.c (mudflap_finish_file): Skip deferred decls not found in the symtab. From-SVN: r195290
2013-01-18re PR rtl-optimization/55547 (Alias analysis does not handle AND addresses ↵Alexandre Oliva2-18/+39
correctly) PR rtl-optimization/55547 PR rtl-optimization/53827 PR debug/53671 PR debug/49888 * alias.c (offset_overlap_p): New, factored out of... (memrefs_conflict_p): ... this. Use absolute sizes. Retain the conservative special case for symbolic constants. Don't adjust zero sizes on alignment. From-SVN: r195289
2013-01-18re PR rtl-optimization/52573 (regrename creates overlapping register ↵Jeff Law4-2/+178
allocations for output operands) PR rtl-optimization/52573 * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a REG_UNUSED for the same register. * gcc.dg/pr52573.c: New test. From-SVN: r195288
2013-01-18Daily bump.GCC Administrator1-1/+1
From-SVN: r195286
2013-01-17re PR sanitizer/55679 (new asan tests from r194458 fail on ↵Jack Howarth3-1/+22
x86_64-apple-darwin10) PR sanitizer/55679 * g++.dg/asan/interception-test-1.C: Skip on darwin. * lib/target-supports.exp (check_effective_target_swapcontext): Use check_no_compiler_messages to test support in ucontext.h. (check_effective_target_setrlimit): Return 0 for Darwin's non-posix compliant RLIMIT_AS. From-SVN: r195281
2013-01-17Fix PR55833.Marek Polacek5-11/+63
From-SVN: r195280
2013-01-17builtins.def (DEF_BUILTIN): Factor out "__builtin_avr_" from NAME, turn NAME ↵Georg-Johann Lay4-49/+75
to an uppercase identifier. * config/avr/builtins.def (DEF_BUILTIN): Factor out "__builtin_avr_" from NAME, turn NAME to an uppercase identifier. Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'. Remove ID. Adjust comments. * config/avr/avr-c.c (avr_builtin_name): Remove. (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop. * config/avr/avr.c (avr_tolower): New static function. (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'. Stringify NAME, prefix it with "__builtin_avr_" and lowercase it. (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for default expansion. From-SVN: r195276
2013-01-17re PR rtl-optimization/55273 (ICE in iv_number_of_iterations, at loop-iv.c:2819)Jakub Jelinek3-3/+3
PR tree-optimizatoin/55273 * gcc.c-torture/compile/pr55273.c: New testcase. * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. From-SVN: r195275
2013-01-17re PR rtl-optimization/55273 (ICE in iv_number_of_iterations, at loop-iv.c:2819)Jan Hubicka4-1/+30
PR tree-optimizatoin/51083 * gcc.c-torture/compile/pr51083.c: New testcase. * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. From-SVN: r195274
2013-01-17re PR target/55981 (std::atomic store is split in two smaller stores)Uros Bizjak4-11/+73
PR target/55981 * config/i386/sync.md (atomic_store<mode>): Always generate SWImode store through atomic_store<mode>_1. (atomic_store<mode>_1): Macroize insn using SWI mode iterator. testsuite/ChangeLog: PR target/55981 * gcc.target/pr55981.c: New test. From-SVN: r195273
2013-01-17pr40887.c: Require at least armv5.Janis Johnson6-2/+17
* gcc.target/arm/pr40887.c: Require at least armv5. * gcc.target/arm/pr51835.c: Avoid conflicts with multilib flags. * gcc.target/arm/pr51915.c: Likewise. * gcc.target/arm/pr52006.c: Likewise. * gcc.target/arm/pr53187.c: Likewise. From-SVN: r195271
2013-01-17ftest-support.h: Replace for compile-only tests.Janis Johnson28-347/+739
* gcc.target/arm/ftest-support.h: Replace for compile-only tests. * gcc.target/arm/ftest-support-arm.h: Delete. * gcc.target/arm/ftest-support-thumb.h: Delete. * gcc.target/arm/ftest-armv4-arm.c: Replace with compile-only test. * gcc.target/arm/ftest-armv4t-arm.c: Likewise. * gcc.target/arm/ftest-armv4t-thumb.c: Likewise. * gcc.target/arm/ftest-armv5t-arm.c: Likewise. * gcc.target/arm/ftest-armv5t-thumb.c: Likewise. * gcc.target/arm/ftest-armv5te-arm.c: Likewise. * gcc.target/arm/ftest-armv5te-thumb.c: Likewise. * gcc.target/arm/ftest-armv6-arm.c: Likewise. * gcc.target/arm/ftest-armv6-thumb.c: Likewise. * gcc.target/arm/ftest-armv6k-arm.c: Likewise. * gcc.target/arm/ftest-armv6k-thumb.c: Likewise. * gcc.target/arm/ftest-armv6m-thumb.c: Likewise. * gcc.target/arm/ftest-armv6t2-arm.c: Likewise. * gcc.target/arm/ftest-armv6t2-thumb.c: Likewise. * gcc.target/arm/ftest-armv6z-arm.c: Likewise. * gcc.target/arm/ftest-armv6z-thumb.c: Likewise. * gcc.target/arm/ftest-armv7a-arm.c: Likewise. * gcc.target/arm/ftest-armv7a-thumb.c: Likewise. * gcc.target/arm/ftest-armv7em-thumb.c: Likewise. * gcc.target/arm/ftest-armv7m-thumb.c: Likewise. * gcc.target/arm/ftest-armv7r-arm.c: Likewise. * gcc.target/arm/ftest-armv7r-thumb.c: Likewise. * gcc.target/arm/ftest-armv8a-arm.c: Likewise. * gcc.target/arm/ftest-armv8a-thumb.c: Likewise. From-SVN: r195270
2013-01-17re PR tree-optimization/55264 (ICE: in ipa_make_edge_direct_to_target, at ↵Martin Jambor7-5/+38
ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak) 2013-01-17 Martin Jambor <mjambor@suse.cz> PR tree-optimizations/55264 * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true for virtual methods. * ipa.c (symtab_remove_unreachable_nodes): Never return true for virtual methods before inlining is over. * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for virtual functions. * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as non-virtual. testsuite/ * g++.dg/ipa/pr55264.C: New test. From-SVN: r195262
2013-01-17trans-stmt.c (gfc_trans_do): Conditionally compute countm1 dependent on sign ↵Richard Biener2-34/+42
of step... 2013-01-17 Richard Biener <rguenther@suse.de> fortran/ * trans-stmt.c (gfc_trans_do): Conditionally compute countm1 dependent on sign of step, avoids repeated evaluation of step sign test. Avoid undefined overflow issues by using unsigned arithmetic. From-SVN: r195260
2013-01-17compiler: Provide location for initialization function.Ian Lance Taylor1-5/+7
From-SVN: r195259
2013-01-17Daily bump.GCC Administrator1-1/+1
From-SVN: r195256
2013-01-16re PR fortran/55983 (ICE in find_typebound_proc_uop, at fortran/class.c:2711)Janus Weil4-5/+30
2013-01-16 Janus Weil <janus@gcc.gnu.org> PR fortran/55983 * class.c (find_typebound_proc_uop): Check for f2k_derived instead of asserting it. 2013-01-16 Janus Weil <janus@gcc.gnu.org> PR fortran/55983 * gfortran.dg/class_55.f90: New. From-SVN: r195251
2013-01-16re PR testsuite/55994 (multiple definition or memset or strlen for builtins ↵Janis Johnson2-0/+8
tests with LTO options) PR testsuite/55994 * gcc.c-torture/execute/builtins/builtins.exp: Add -Wl,--allow-multiple-definition for eabi and elf targets. From-SVN: r195250
2013-01-16re PR testsuite/54622 (gcc.dg/vect test failures for arm big-endian)Janis Johnson2-5/+21
PR testsuite/54622 * lib/target-supports.exp (check_effective_target_vect_perm_byte, check_effective_target_vect_perm_short, check_effective_target_vect_widen_mult_qi_to_hi_pattern, check_effective_target_vect64): Return 0 for big-endian ARM. (check_effective_target_vect_widen_sum_qi_to_hi): Return 1 for ARM. From-SVN: r195249
2013-01-16neon-vld1_dupQ.c: Use types that match function prototypes.Janis Johnson2-2/+7
* gcc.target/arm/neon-vld1_dupQ.c: Use types that match function prototypes. From-SVN: r195248
2013-01-16re PR rtl-optimization/56005 (FAIL: gcc.target/i386/pr45352.c (internal ↵Vladimir Makarov2-2/+9
compiler error)) 2013-01-16 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/56005 * sched-deps.c (sched_analyze_2): Check deps->readonly for adding pending reads for prefetch. From-SVN: r195247
2013-01-16* gospec.c: pass -u pthread_create to linker when static linking.Shenghou Ma2-1/+19
From-SVN: r195244
2013-01-16Make zero_extends explicit for some more SImode patterns (AArch64)Ian Bolton2-0/+104
From-SVN: r195243
2013-01-16re PR driver/55884 (FAIL: libgomp.fortran/omp_parse3.f90 -O0 (test for ↵Jakub Jelinek3-1/+17
excess errors)) gcc/fortran/ 2013-01-16 Jakub Jelinek <jakub@redhat.com> Tobias Burnus <burnus@net-b.de> PR driver/55884 * lang.opt (fintrinsic-modules-path): Don't accept Joined. (fintrinsic-modules-path=): New. * options.c (gfc_handle_option, gfc_get_option_string, gfc_get_option_string): Handle the latter. libgomp/ 2013-01-16 Jakub Jelinek <jakub@redhat.com> Tobias Burnus <burnus@net-b.de> PR driver/55884 * testsuite/libgomp.fortran/fortran.exp: Use -fintrinsic-modules-path= instead of -fintrinsic-modules-path. Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r195242