- 27 Mar, 2015 4 commits
-
-
PR lto/65536 * lto-streamer.h (class lto_location_cache): New. (struct data_in): Add location_cache. (lto_input_location): Update prototype. (stream_input_location_now): New. * streamer-hooks.h (struct streamer_hooks): Make input_location to take pointer to location. (stream_input_location): Update. * ipa-devirt.c: Include streamer-hooks.h and lto-streamer.h (warn_odr): Apply location cache before warning. (lto_input_location): Update prototype. * gimple-streamer-in.c (input_phi, input_gimple_stmt): Use stream_input_location_now. * lto/lto.c (unify_scc): Revert location cache when unification suceeded. (lto_read_decls): Accept location cache after sucess; apply location cache before calling debug hooks. * lto-streamer-in.c (lto_location_cache::current_cache): New static variable. (lto_location_cache::cmp_loc): New function. (lto_location_cache::apply_location_cache): New function. (lto_location_cache::accept_location_cache): New function. (lto_location_cache::revert_location_cache): New function. (lto_location_cache::input_location): New function. (lto_input_location): Do location caching. (stream_input_location_now): New function. (input_eh_region, input_struct_function_base): Use stream_input_location_now. (lto_data_in_create): use new. (lto_data_in_delete): Use delete. * tree-streamer-in.c (unpack_ts_block_value_fields, unpack_ts_omp_clause_value_fields, streamer_read_tree_bitfields, lto_input_ts_exp_tree_pointers): Update for cached location api. From-SVN: r221720
Jan Hubicka committed -
PR ipa/65076 * passes.def: Add pass_nothrow. * ipa-pure-const.c: (pass_data_nothrow): New. (pass_nothrow): New. (pass_nothrow::execute): New. (make_pass_nothrow): New. * tree-pass.h (make_pass_nothrow): Declare. From-SVN: r221719
Jan Hubicka committed -
ipa-inline-analysis.c (redirect_to_unreachable): Be prepared for edge to change by speculation resolution or redirection. * ipa-inline-analysis.c (redirect_to_unreachable): Be prepared for edge to change by speculation resolution or redirection. (edge_set_predicate): Likewise. (inline_summary_t::duplicate): Likewise. (remap_edge_summaries): Likewise. * gcc.c-torture/compile/20150327.c: New testcase. From-SVN: r221718
Jan Hubicka committed -
From-SVN: r221717
GCC Administrator committed
-
- 26 Mar, 2015 23 commits
-
-
* ipa-inline.c (check_maybe_up, check_maybe_down, check_match): New macros. (can_inline_edge_p): Relax option matching for always inline functions. From-SVN: r221714
Jan Hubicka committed -
From-SVN: r221711
Eric Botcazou committed -
From-SVN: r221710
Jan Hubicka committed -
re PR target/65561 (avx512fintrin.h:5344:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3494) PR target/65561 * config/i386/sse.md (avx512dq_vextract<shuffletype>64x2_1_maskm): Check operand 4 and operand 0 for equality. (avx512f_vextract<shuffletype>32x4_1_maskm): Check operand 6 and operand 0 for equality. (vec_extract_lo_<mode>_maskm): Check operand 2 and operand 0 for equality. (vec_extract_hi_<mode>_maskm): Ditto. From-SVN: r221709
Uros Bizjak committed -
PR libstdc++/58038 PR libstdc++/60421 * include/std/thread (this_thread::sleep_for): Check for negative durations. (this_thread::sleep_until): Check for times in the past. * testsuite/30_threads/this_thread/58038.cc: New. * testsuite/30_threads/this_thread/60421.cc: New. From-SVN: r221708
Jonathan Wakely committed -
* cgraph.c (cgraph_update_edges_for_call_stmt_node): Do not bring dead calls back to live. (cgraph_edge::verify_count_and_frequency): Move cgraph/cfg frequency cross check to ... (cgraph_node::verify_node): ... here; verify only callee edges, not caller. From-SVN: r221707
Jan Hubicka committed -
* ipa-inline-analysis.c (redirect_to_unreachable): New function. (edge_set_predicate): Use it to mark unreachable edges. (inline_summary_t::duplicate): Remove unnecesary code. (remap_edge_summaries): Likewise. (dump_inline_summary): Report contains_cilk_spawn. (compute_inline_parameters): Compute contains_cilk_spawn. (inline_read_section, inline_write_summary): Stream contains_cilk_spawn. * ipa-inline.c (can_inline_edge_p): Do not tuch DECL_STRUCT_FUNCTION that may not be available; use CIF_CILK_SPAWN for cilk; fix optimization attribute checks; remove check for callee_fun->can_throw_non_call_exceptions and replace it by optimization attribute check; check for flag_exceptions. * ipa-inline-transform.c (inline_call): Maintain DECL_FUNCTION_PERSONALITY * ipa-inline.h (inline_summary): Add contains_cilk_spawn. From-SVN: r221706
Jan Hubicka committed -
PR c++/65154 * init.c (build_vec_init): Fix initializing aggregates with empty init list. From-SVN: r221704
Mikhail Maltsev committed -
PR libstdc++/62259 PR libstdc++/65147 * include/std/atomic (atomic<T>): Increase alignment for types with the same size as one of the integral types. * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number. * testsuite/29_atomics/atomic/62259.cc: New. From-SVN: r221703
Jonathan Wakely committed -
PR tree-optimization/65551 * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Use TYPE_PRECISION only for INTEGRAL_TYPE_P types. From-SVN: r221702
Jakub Jelinek committed -
re PR libstdc++/65033 (C++11 atomics: is_lock_free result does not always match the real lock-free property) PR libstdc++/65033 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build a fake pointer indicating type alignment. (__atomic_base<T *>::is_lock_free): Likewise. * include/std/atomic (atomic<T>::is_lock_free): Likewise. From-SVN: r221701
Richard Henderson committed -
re PR c++/65525 (ICE: sorry, unimplemented: unexpected AST of kind mem_ref (-std=c++14, ICE: in potential_constant_expression_1, at cp/constexpr.c:4432)) PR c++/65525 * constexpr.c (potential_constant_expression_1): Handle MEM_REF. From-SVN: r221699
Jason Merrill committed -
PR go/65587 debug/elf: apply relocations for SHT_RELA/EM_PPC From-SVN: r221698
Ian Lance Taylor committed -
2015-03-26 Richard Biener <rguenther@suse.de> PR middle-end/65555 * tree-cfg.c (verify_gimple_call): Do not require a call to have no LHS if it wasn't recognized as control altering yet. * g++.dg/torture/pr65555.C: New testcase. From-SVN: r221697
Richard Biener committed -
PR tree-optimization/64715 * passes.def: Add another instance of pass_object_sizes before ccp1. * tree-object-size.c (pass_object_sizes::execute): In first_pass_instance, only handle __bos (, 1) and __bos (, 3) calls, and keep the call in the IL, as {MIN,MAX}_EXPR of the __bos result and the computed constant. Remove redundant checks, obsoleted by gimple_call_builtin_p test. * gcc.dg/builtin-object-size-15.c: New test. * gcc.dg/pr64715-1.c: New test. * gcc.dg/pr64715-2.c: New test. From-SVN: r221694
Jakub Jelinek committed -
var-tracking.c (variable_tracking_main_1): Don't track variables for targetm.no_register_allocation targets. * var-tracking.c (variable_tracking_main_1): Don't track variables for targetm.no_register_allocation targets. From-SVN: r221693
Jakub Jelinek committed -
2015-03-26 Richard Biener <rguenther@suse.de> PR middle-end/65519 * gnat.dg/specs/opt2.ads: Fix testcase. From-SVN: r221690
Richard Biener committed -
* doc/install.texi (Building a native compiler): Document new bootstrap-lto-noplugin configuration. Mention that bootstrap-lto configuration assumes that the host supports the linker plugin. From-SVN: r221688
Uros Bizjak committed -
gcc/ * config/sh/t-linux (DEFAULT_ENDIAN, MULTILIB_EXCEPTIONS): Remove. * config/sh/t-sh (MULTILIB_EXCEPTIONS): Handle default endian. From-SVN: r221685
Oleg Endo committed -
re PR target/65569 (Fix for PR target/65240 causes a regression in building Spec for power4/power5/power6) 2015-03-25 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/65569 * config/rs6000/rs6000.md (extenddftf2_fprs): On VSX systems use XXLXOR to create 0.0. On pre-VSX systems make sure the constant 0.0 is correctly setup. (extenddftf2_internal): Likewise. From-SVN: r221683
Michael Meissner committed -
2015-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/65541 * io/write.c (nml_write_obj): Convert '+' to '%' before emitting object names in namelists. From-SVN: r221682
Jerry DeLisle committed -
The tests run out of memory on 31-bit S390 systems because it does not have split stacks. From-SVN: r221681
Ian Lance Taylor committed -
From-SVN: r221680
GCC Administrator committed
-
- 25 Mar, 2015 13 commits
-
-
PR testsuite/65526 * lib/target-supports.exp (check_effective_target_arm32): Fail early when target isn't arm*-*-*-*. (check_effective_target_arm_nothumb): Likewise. (check_effective_target_arm_little_endian): Likewise. (check_effective_target_arm_vect_no_misalign): Likewise. (check_effective_target_aarch64_little_endian): Fail early if target isn't aarch64*-*-*. From-SVN: r221677
Martin Sebor committed -
PR tree-optimization/65177 * tree-ssa-threadupdate.c (verify_seme): Renamed verify_jump_thread. (bb_in_bbs): New. (duplicate_seme_region): Renamed duplicate_thread_path. Redirect all edges not adjacent on the path to the original code. * gcc.dg/tree-ssa/ssa-dom-thread-10.c: New. From-SVN: r221675
Sebastian Pop committed -
* gcc.target/i386/sse-13.c: Include x86intrin.h and adjust #defines. * gcc.target/i386/sse-23.c: Do not explicitly include wmmintrin.h, smmintrin.h and mm3dnow.h. From-SVN: r221674
Uros Bizjak committed -
PR go/65570 libgo/Makefile.am: add runtime/cgo to list of standard packages The runtime/cgo package is treated specially by the go tool. It needs to know that it is always available for gccgo. From-SVN: r221673
Ian Lance Taylor committed -
PR c++/65558 * name-lookup.c (handle_namespace_attrs): Ignore abi_tag attribute on an anonymous namespace. * g++.dg/cpp0x/pr65558.C: New test. From-SVN: r221672
Marek Polacek committed -
PR c++/61670 * class.c (remove_zero_width_bit_fields): Check for null DECL_SIZE. * g++.dg/template/pr61670.C: New test. From-SVN: r221671
Marek Polacek committed -
2015-03-25 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54987 * g++.dg/template/pr54987.C: New. From-SVN: r221668
Paolo Carlini committed -
config/ChangeLog: PR bootstrap/65537 * bootstrap-lto-noplugin.mk: New build configuration. gcc/ChangeLog: PR bootstrap/65537 * doc/install.texi (Building a native compiler): Document new bootstrap-lto-noplugin configuration. Mention that bootstrap-lto configuration assumes that the host supports the linker plugin. From-SVN: r221667
Uros Bizjak committed -
re PR libstdc++/33394 (Add test case for Thread race segfault in std::string::append with -O and -s) PR libstdc++/33394 * testsuite/21_strings/basic_string/pthread33394.cc: Use dg-additional-options. From-SVN: r221666
Alan Lawrence committed -
re PR libgomp/64972 (Build failure in libgomp for i686-w64-mingw32 target after latest merge from gomp-4_0-branch) PR libgomp/64972 * oacc-parallel.c (GOACC_parallel): Use PRIu64 if available. (GOACC_data_start): Likewise. * target.c (gomp_map_vars): Likewise. From-SVN: r221665
Kai Tietz committed -
2015-03-25 Richard Biener <rguenther@suse.de> PR tree-optimization/62630 * gcc.dg/graphite/vect-pr43423.c: XFAIL. From-SVN: r221662
Richard Biener committed -
re PR target/65508 (ICE: in initialize_inlined_parameters, at tree-inline.c:3305 with -fcheck-pointer-bounds -mmpx and nested function) gcc/ PR target/65508 * tree-chkp.c (chkp_add_bounds_to_call_stmt): Set static chain for generated call. gcc/testsuite/ PR target/65508 * gcc.target/i386/mpx/pr65508.c: New. From-SVN: r221661
Ilya Enkovich committed -
passes.c (pass_manager::execute_early_local_passes): Guard execution of pass_chkp_instrumentation_passes with flag_check_pointer_bounds. 2015-03-25 Richard Biener <rguenther@suse.de> * passes.c (pass_manager::execute_early_local_passes): Guard execution of pass_chkp_instrumentation_passes with flag_check_pointer_bounds. (pass_chkp_instrumentation_passes::gate): Likewise. From-SVN: r221660
Richard Biener committed
-