- 18 Feb, 2015 9 commits
-
-
PR ipa/65087 * cgraphclones.c (cgraph_node::create_virtual_clone): Only copy section if !implicit_section. (cgraph_node::create_version_clone_with_body): Likewise. * trans-mem.c (ipa_tm_create_version): Likewise. From-SVN: r220786
Jakub Jelinek committed -
2015-02-18 Richard Biener <rguenther@suse.de> PR tree-optimization/62217 * tree-ssa-dom.c (cprop_operand): Avoid propagating copies into BIVs. * gcc.dg/tree-ssa/cunroll-11.c: New testcase. From-SVN: r220785
Richard Biener committed -
PR sanitizer/65081 * ubsan.c (OBJSZ_MAX_OFFSET): Define. (ubsan_expand_objsize_ifn): Don't emit run-time check if the offset is in range [-16K, -1]. Don't issue run-time error if (ptr > ptr + offset). * c-c++-common/ubsan/pr65081.c: New test. From-SVN: r220784
Marek Polacek committed -
gcc/ * doc/install.texi (nvptx-*-none): New section. * doc/invoke.texi (Nvidia PTX Options): Likewise. * config/nvptx/nvptx.opt: Update. From-SVN: r220783
Thomas Schwinge committed -
gcc/ * config/nvptx/mkoffload.c (parse_env_var, free_array_of_ptrs) (access_check): New functions, copied from config/i386/intelmic-mkoffload.c. (main): For non-installed testing, look in all COMPILER_PATHs for GCC_INSTALL_NAME. From-SVN: r220782
Thomas Schwinge committed -
config/ * elf.m4 (ACX_ELF_TARGET_IFELSE): nvptx-*-none isn't ELF. / * configure: Regenerate. From-SVN: r220781
Thomas Schwinge committed -
Otherwise, offloading with -fopenacc or -fopenmp active will run into: x86_64-unknown-linux-gnu-accel-nvptx-none-gcc: error: unrecognized command line option '-pthread' gcc/ * config/nvptx/nvptx.h (GOMP_SELF_SPECS): Define macro. From-SVN: r220780
Thomas Schwinge committed -
aarch64.c (*aarch64_load_symref_appropriately): Check whether the destination of SYMBOL_SMALL_TPREL is Pmode. * config/aarch64/aarch64.c (*aarch64_load_symref_appropriately): Check whether the destination of SYMBOL_SMALL_TPREL is Pmode. Co-Authored-By: Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> From-SVN: r220779
Andrew Pinski committed -
From-SVN: r220778
GCC Administrator committed
-
- 17 Feb, 2015 20 commits
-
-
ipa-visibility.c (function_and_variable_visibility): Only check locality if node is not already local. * ipa-visibility.c (function_and_variable_visibility): Only check locality if node is not already local. * ipa-inline.c (want_inline_function_to_all_callers_p): Use call_for_symbol_and_aliases instead of call_for_symbol_thunks_and_aliases. (ipa_inline): Likewise. * cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases): first walk aliases. * ipa.c (symbol_table::remove_unreachable_nodes): Use call_for_symbol_and_aliases. * ipa-profile.c (ipa_propagate_frequency_data): Add function_symbol. (ipa_propagate_frequency_1): Use it; use opt_for_fn (ipa_propagate_frequency): Update. (ipa_profile): Add opt_for_fn gueards. From-SVN: r220775
Jan Hubicka committed -
gcc/ * config/sh/sh.opt (mcbranch-force-delay-slot): New option. * doc/invoke.texi (SH options): Document it. * config/sh/sh.c (sh_insn_length_adjustment): Check TARGET_CBRANCH_FORCE_DELAY_SLOT instead of sh_cpu_attr == CPU_SH2E. gcc/testsuite/ * gcc.target/sh/sh.exp (check_effective_target_sh1): New. * gcc.target/sh/force-cbranch-delay-slot.c: New. From-SVN: r220774
Oleg Endo committed -
This patch adds -fipa-cp-alignment to provide a way to enable/disable alignment discovery and propagation in IPA-CP. gcc/ * common.opt (fipa-cp-alignment): New. * ipa-cp.c (ipcp_store_alignment_results): Check flag_ipa_cp_alignment. * opts.c (default_options_table): Enable -fipa-cp-alignment for -O2. (enable_fdo_optimizations): Set x_flag_ipa_cp_alignment. * doc/invoke.texi: Document -fipa-cp-alignment. gcc/testsuite/ * gcc.dg/ipa/propalign-3.c: New test. From-SVN: r220773
H.J. Lu committed -
gcc/ PR target/64793 * config/sh/sh.md (cbranch define_delay): Set annulled true branch insn to nil. Adjust comments. gcc/testsuite/ PR target/64793 * gcc.target/sh/pr64793.c: New. * gcc.target/sh/pr51244-20-sh2a.c: Adjust expected cmp/gt insn count. From-SVN: r220772
Oleg Endo committed -
ipa-visibility.c (function_and_variable_visibility): Only check locality if node is not already local. * ipa-visibility.c (function_and_variable_visibility): Only check locality if node is not already local. * ipa-inline.c (want_inline_function_to_all_callers_p): Use call_for_symbol_and_aliases instead of call_for_symbol_thunks_and_aliases. (ipa_inline): Likewise. * cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases): first walk aliases. * ipa.c (symbol_table::remove_unreachable_nodes): Use call_for_symbol_and_aliases. * ipa-profile.c (ipa_propagate_frequency_data): Add function_symbol. (ipa_propagate_frequency_1): Use it; use opt_for_fn (ipa_propagate_frequency): Update. (ipa_profile): Add opt_for_fn guards. From-SVN: r220771
Jan Hubicka committed -
libgomp/ * libgomp-plugin.c (GOMP_PLUGIN_debug): Fix typo. From-SVN: r220770
Thomas Schwinge committed -
gcc/ * config/nvptx/mkoffload.c (parse_file): Fix logic error in skipping of "strange" tokens. From-SVN: r220769
Thomas Schwinge committed -
libgomp/ * oacc-ptx.h (GOACC_INTERNAL_PTX): Add GOACC_tid, GOACC_ntid, GOACC_ctaid, and GOACC_nctaid routines. Co-Authored-By: Cesar Philippidis <cesar@codesourcery.com> From-SVN: r220768
Thomas Schwinge committed -
2015-02-17 Sandra Loosemore <sandra@codesourcery.com> libgcc/ * config/arm/bpabi.S (test_div_by_zero): Make label names consistent between thumb2 and arm mode cases. Separate the signed comparison on the high word of the numerator from the unsigned comparison on the low word. * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate signed comparison. gcc/testsuite/ * gcc.target/arm/divzero.c: New test case. From-SVN: r220765
Sandra Loosemore committed -
* config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h> and <string.h>. (__nvptx_realloc): Call __builtin_memcpy instead of memcpy. From-SVN: r220764
Joseph Myers committed -
* tree-vrp.c (identify_jump_threads): Use last_stmt. Remove obsolete comment. From-SVN: r220763
Jeff Law committed -
From-SVN: r220761
Daniel Richard G committed -
2015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de> Jonathan Wakely <jwakely@redhat.com> * testsuite/22_locale/codecvt/char32_t.cc: New. Co-Authored-By: Jonathan Wakely <jwakely@redhat.com> From-SVN: r220760
Rüdiger Sonderfeld committed -
From-SVN: r220759
Alan Lawrence committed -
PR libstdc++/65085 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure empty string gets null-terminated. * testsuite/21_strings/basic_string/cons/char/65085.cc: New. From-SVN: r220758
Jonathan Wakely committed -
2015-02-17 Tom de Vries <tom@codesourcery.com> * gcc.target/x86_64/abi/callabi/vaarg-6.c: New test. From-SVN: r220757
Tom de Vries committed -
gcc/ * haifa-sched.c (recompute_todo_spec): Treat SCHED_GROUP_P as forcing a HARD_DEP between instructions, thereby disallowing rewriting to break dependencies. From-SVN: r220751
James Greenhalgh committed -
* symtab.c (symtab_node::verify_base): Verify body_removed->!definiton * lto-cgraph.c (lto_output_varpool_node): Do not keep definition of variables in boundary that have no inlitalizer encoded and are not aliases. * varasm.c (default_binds_local_p_2): External definitions do not count as definitions here. From-SVN: r220749
Jan Hubicka committed -
PR c++/65075 * constexpr.c (check_constexpr_bind_expr_vars): Allow implicit typedefs for lambda types. * g++.dg/cpp0x/pr65075.C: New test. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r220748
Paolo Carlini committed -
From-SVN: r220747
GCC Administrator committed
-
- 16 Feb, 2015 11 commits
-
-
PR target/65058 * gcc.target/powerpc/pr65058.c: New test. From-SVN: r220744
David Edelsohn committed -
PR tree-optimization/64823 * tree-vrp.c (identify_jump_threads): Handle blocks with no real statements. * tree-ssa-threadedge.c (potentially_threadable_block): Allow threading through blocks with PHIs, but no statements. (thread_through_normal_block): Distinguish between blocks where we did not process all the statements and blocks with no statements. PR tree-optimization/64823 * gcc.dg/uninit-20.c: New test. From-SVN: r220743
Jeff Law committed -
re PR ipa/64963 (IPA Cloning/Splitting does not copy function section attributes resulting in kernel miscompilation) PR ipa/64963 * cgraphclones.c (cgraph_node::create_virtual_clone): Copy section if not linkonce. Fix up formatting. (cgraph_node::create_version_clone_with_body): Copy section. * trans-mem.c (ipa_tm_create_version): Likewise. * gcc.dg/ipa/ipa-clone-1.c: New test. Co-Authored-By: James Greenhalgh <james.greenhalgh@arm.com> From-SVN: r220742
Jakub Jelinek committed -
2015-02-16 Richard Biener <rguenther@suse.de> PR tree-optimization/65077 * tree-ssa-structalias.c (get_constraint_for_1): Handle IMAGPART_EXPR, REALPART_EXPR and BIT_FIELD_REF. (find_func_aliases): Allow float values to carry pointers again. * gcc.dg/torture/pr65077.c: New testcase. From-SVN: r220741
Richard Biener committed -
gcc/testsuite/ * gcc.target/aarch64/atomic-op-consume.c (scan-assember-times): Directive adjusted to scan for ldaxr. * gcc.target/arm/atomic-op-consume.c (scan-assember-times): Directive adjusted to scan for ldaex. From-SVN: r220740
Alex Velenko committed -
2015-02-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/65080 * g++.dg/cpp0x/constexpr-65080.C: New. From-SVN: r220739
Paolo Carlini committed -
gcc/ * doc/install.texi (Specific): Reorder targets list to put aarch64 in alphabetical order. Add a link to aarch64*-*-* from the top menu. From-SVN: r220738
James Greenhalgh committed -
2015-02-16 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> David Edelsohn <dje.gcc@gmail.com> PR target/65058 * config/rs6000/rs6000.c (rs6000_output_symbol_ref): Append storage mapping class to external variable or function reference. * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Do not append storage mapping class. 2015-02-16 David Eelsohn <dje.gcc@gmail.com> PR target/53348 * config/rs6000/rs6000.c (rs6000_declare_alias): Only use ASM_WEAKEN_DECL if defined. From-SVN: r220737
David Edelsohn committed -
Daniel Richard G. <skunk@iskunk.org> PR bootstrap/48009 PR bootstrap/53348 * inclhack.def (aix_strtof_const): New fix. * fixincl.x: Regenerate. * tests/base/inttypes.h: New test. From-SVN: r220736
Daniel Richard G committed -
2015-02-16 Richard Biener <rguenther@suse.de> PR lto/65015 * varasm.c (default_file_start): For LTO produced units emit <artificial> as file directive. From-SVN: r220735
Richard Biener committed -
re PR tree-optimization/63593 (ICE: verify_gimple failed: incompatible types in PHI argument 0 with -O3 -fno-tree-vectorize) 2015-02-16 Richard Biener <rguenther@suse.de> PR tree-optimization/63593 * tree-predcom.c (execute_pred_commoning_chain): Delay removing stmts and releasing SSA names until... (execute_pred_commoning): ... after processing all chains. * gcc.dg/pr63593.c: New testcase. From-SVN: r220734
Richard Biener committed
-