- 21 Mar, 2017 10 commits
-
-
* lex.c (search_line_fast) [__ARM_NEON && __ARM_64BIT_STATE]: Convert 64-bit value to boolean before passing to __builtin_expect. From-SVN: r246312
Andreas Schwab committed -
gcc/testsuite/ * gcc.dg/pic-2.c: Skip for MIPS. * gcc.dg/pie-2.c: Skip for MIPS. From-SVN: r246311
Toma Tabacu committed -
re PR c++/77752 (ICE on C++ code on x86_64-linux-gnu (internal compiler error: Segmentation fault, build_list_conv, implicit_conversion)) /cp 2017-03-21 Paolo Carlini <paolo.carlini@oracle.com> PR c++/77752 * name-lookup.c (pushtag_1): Add check for bogus, non template, std::initializer_list. /testsuite 2017-03-21 Paolo Carlini <paolo.carlini@oracle.com> PR c++/77752 * g++.dg/cpp0x/initlist97.C: New. * g++.dg/cpp0x/initlist85.C: Update. From-SVN: r246310
Paolo Carlini committed -
PR sanitizer/78158 * tsan.c (instrument_builtin_call): If the memory model argument is not a constant, assume it is valid. From-SVN: r246306
Jakub Jelinek committed -
PR c/67338 * fold-const.c (round_up_loc): Negate divisor in unsigned type to avoid UB. * gcc.dg/pr67338.c: New test. From-SVN: r246305
Jakub Jelinek committed -
From-SVN: r246304
Marek Polacek committed -
PR c++/35878 * init.c (std_placement_new_fn_p, build_new_1): Formatting fixes. * g++.dg/init/pr35878_1.C: Rewrite directives to scan optimized dump instead of assembler. * g++.dg/init/pr35878_2.C: Likewise. * g++.dg/init/pr35878_3.C: Likewise. From-SVN: r246303
Jakub Jelinek committed -
re PR c/80097 (internal compiler error in c_fully_fold_internal with std=c89 and -fsanitize=float-divide-by-zero) PR c/80097 * c-typeck.c (build_binary_op): Add EXCESS_PRECISION_EXPR only around optional COMPOUND_EXPR with ubsan instrumentation. * gcc.dg/ubsan/pr80097.c: New test. From-SVN: r246302
Jakub Jelinek committed -
gcc/ PR c++/35878 * cp/init.c (std_placement_new_fn_p): New. (build_new_1): Call it. testsuite/ PR c++/35878 * g++.dg/init/pr35878_1.C: New. * g++.dg/init/pr35878_2.C: Likewise. * g++.dg/init/pr35878_3.C: Likewise. From-SVN: r246301
Ville Voutilainen committed -
From-SVN: r246300
GCC Administrator committed
-
- 20 Mar, 2017 26 commits
-
-
If the dest of an I0 or I1 is used in an insn before I2, as can happen in various uncommon cases, and we manage to do the combination, the set is moved to I2, which is wrong. Don't allow combining the insns in this case. PR rtl-optimization/79910 * combine.c (can_combine_p): Do not allow combining an I0 or I1 if its dest is used by an insn before I2 (other than the combined insns themselves, which are properly handled already). From-SVN: r246297
Segher Boessenkool committed -
2017-03-17 Bernd Schmidt <bschmidt@redhat.com> * combine.c (record_used_regs): New static function. (try_combine): Handle situations where there is an additional instruction between I2 and I3 which needs to have a LOG_LINK updated. Revert: 2017-03-17 Jim Wilson <jim.wilson@linaro.org> * combine.c (try_combine): Delete redundant i1 test. Call prev_nonnote_nondebug_insn instead of prev_nonnote_insn. From-SVN: r246296
Segher Boessenkool committed -
From-SVN: r246295
Joseph Myers committed -
2017-03-20 François Dumont <fdumont@gcc.gnu.org> * include/bits/stl_deque.h (deque): Access allocator value_type only if concept checks are enabled. * include/bits/stl_stack.h (stack): Likewise. * include/bits/stl_vector.h (vector): Likewise. * include/bits/stl_list.h (list): Likewise and check _SGIAssignableConcept only in C++03. * include/bits/stl_map.h (map): Likewise. * include/bits/stl_set.h (set): Likewise. * include/bits/stl_multimap.h (multimap): Likewise. * include/bits/stl_multiset.h (multiset): Likewise. * include/bits/stl_queue.h (queue, priority_queue): Likewise. From-SVN: r246294
François Dumont committed -
2017-03-20 Aaron Sawdey <acsawdey@linux.vnet.ibm.com> PR target/80083 * config/rs6000/rs6000.md (*movsi_internal1): Fix constraints for alternatives 13/14. From-SVN: r246293
Aaron Sawdey committed -
* pt.c (tsubst): Delay tsubst of type of template non-type parameter. From-SVN: r246292
Jason Merrill committed -
* decl.c (grokdeclarator): Complain about misplaced function definition using =, as well. From-SVN: r246291
Jason Merrill committed -
[gcc] 2017-03-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/80054 * gimple-ssa-strength-reduction.c (all_phi_incrs_profitable): Fail the optimization if a PHI or any of its arguments is not dominated by the candidate's basis. Use gphi* rather than gimple* as appropriate. (replace_profitable_candidates): Clean up a gimple* variable that should be a gphi* variable. [gcc/testsuite] 2017-03-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/80054 * g++.dg/torture/pr80054.C: New file. From-SVN: r246290
Bill Schmidt committed -
* pt.c (tsubst_copy) [VAR_DECL]: Register the dummy instantiation before substituting its initializer. From-SVN: r246289
Jason Merrill committed -
* doc/extend.texi (attribute constructor): Document present limitation. From-SVN: r246288
Martin Sebor committed -
gcc/testsuite/ChangeLog: 2017-03-20 Kelvin Nilsen <kelvin@gcc.gnu.org> PR target/79963 * gcc.target/powerpc/vsu/vec-any-eq-10.c: Add scan-assembler directive to assure selection of proper bit using rlwinm insn. * gcc.target/powerpc/vsu/vec-any-eq-14.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-7.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-8.c: Likewise. * gcc.target/powerpc/vsu/vec-any-eq-9.c: Likewise. gcc/ChangeLog: 2017-03-20 Kelvin Nilsen <kelvin@gcc.gnu.org> PR target/79963 * config/rs6000/altivec.h (vec_all_ne): Under __cplusplus__ and __POWER9_VECTOR__ #ifdef control, change template definition to use Power9-specific built-in function. (vec_any_eq): Likewise. * config/rs6000/vector.md (vector_ae_v2di_p): Change the flag used to control outcomes from this test. (vector_ae_<mode>p): For VEC_F modes, likewise. From-SVN: r246287
Kelvin Nilsen committed -
* config/i386/i386.c (ix86_function_regparm): Save an extra register for -fsplit-stack with DECL_STATIC_CHAIN. From-SVN: r246286
Ian Lance Taylor committed -
2017-03-12 Nicolas Koenig <koenigni@student.ethz.ch> PR fortran/39239 * symbol.c (check_conflict): report an error if an EQUIVALENCE variable is BIND(C). 2017-03-12 Nicolas Koenig <koenigni@student.ethz.ch> PR fortran/39239 * gfortran.dg/equiv_constraint_bind_c.f90: New test. From-SVN: r246284
Nicolas Koenig committed -
On RISC-V we can't store integers in floating-point registers as this is forbidden by the ISA. We've always disallowed this, but we were setting the preferred mode to FP_REGS for some integer modes. This caused the LRA to blow up with some hard to read error messages. This patch removes the prefered mode hook, as the right thing to do here is nothing. Thanks to Kito for finding the bug, and mpf for the fix. See also <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79912>. PR target/79912 From-SVN: r246283
Palmer Dabbelt committed -
The RISC-V memory model is still in the process of being formally specified, so for now we're going to be safe and add the I/O bits to userspace fences because there's no way to know if userspace is touching memory-mapped I/O regions at compile time. This will have no impact on existing microarchitecutres because they treat all fences conservatively. gcc/ChangeLog: 2017-03-17 Palmer Dabbelt <palmer@dabbelt.com> * config/riscv/riscv.c (riscv_print_operand): Use "fence iorw,ow". * config/riscv/sync.mc (mem_thread_fence_1): Use "fence iorw,iorw". From-SVN: r246282
Palmer Dabbelt committed -
The test is coupled to the branch cost model. gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/ssa-thread-14.c: Adjust target selector. From-SVN: r246281
Palmer Dabbelt committed -
2017-03-20 Palmer Dabbelt <palmer@dabbelt.com> * MAINTAINERS (CPU Port Maintainers): Add Kito Cheng, Palmer Dabbelt, and Andrew Waterman as the RISC-V maintainers. From-SVN: r246280
Palmer Dabbelt committed -
PR c++/80059 - ICE with noexcept and __transaction_atomic * except.c (build_must_not_throw_expr): Call instantiate_non_dependent_expr_sfinae. * g++.dg/tm/pr80059-2.C: New test. * g++.dg/tm/pr80059.C: New test. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r246279
Marek Polacek committed -
PR sanitizer/80063 * asan.c (DEF_SANITIZER_BUILTIN): Use do { } while (0). From-SVN: r246278
Marek Polacek committed -
2017-03-20 Richard Biener <rguenther@suse.de> PR tree-optimization/80113 * graphite-isl-ast-to-gimple.c (copy_loop_phi_nodes): Do not allocate extra SSA name for PHI def. (add_close_phis_to_outer_loops): Likewise. (add_close_phis_to_merge_points): Likewise. (copy_loop_close_phi_args): Likewise. (copy_cond_phi_nodes): Likewise. From-SVN: r246277
Richard Biener committed -
2017-03-20 Martin Liska <mliska@suse.cz> PR middle-end/79753 * tree-chkp.c (chkp_build_returned_bound): Do not build returned bounds for a LHS that's not a BOUNDED_P type. 2017-03-20 Martin Liska <mliska@suse.cz> PR middle-end/79753 * gcc.target/i386/mpx/pr79753.c: New test. From-SVN: r246276
Martin Liska committed -
2017-03-20 Martin Liska <mliska@suse.cz> PR target/79769 PR target/79770 * tree-chkp.c (chkp_find_bounds_1): Handle REAL_CST, COMPLEX_CST and VECTOR_CST. 2017-03-20 Martin Liska <mliska@suse.cz> PR target/79769 PR target/79770 * g++.dg/pr79769.C: New test. * gcc.target/i386/mpx/pr79770.c: New test. From-SVN: r246275
Martin Liska committed -
The FP load and test instruction should not be used for a comparison if the target operand is being used afterwards. It unfortunately turns SNaNs into QNaNs. gcc/ChangeLog: 2017-03-20 Andreas Krebbel <krebbel@linux.vnet.ibm.com> PR target/78857 * config/s390/s390.md ("cmp<mode>_ccs_0"): Add a clobber of the target operand. A new splitter adds the clobber statement in case the target operand is dead anyway. gcc/testsuite/ChangeLog: 2017-03-20 Andreas Krebbel <krebbel@linux.vnet.ibm.com> PR target/78857 * gcc.target/s390/load-and-test-fp-1.c: New test. * gcc.target/s390/load-and-test-fp-2.c: New test. From-SVN: r246274
Andreas Krebbel committed -
* decl.c (cp_finish_decomp): Don't pull out the DECL_INITIAL of a reference decomposition. From-SVN: r246273
Jason Merrill committed -
* constexpr.c (cxx_eval_call_expression): Set ctx->call while expanding trivial constructor. From-SVN: r246272
Jason Merrill committed -
From-SVN: r246271
GCC Administrator committed
-
- 19 Mar, 2017 3 commits
-
-
* doc/install.texi (Specific) <sparc-*-linux*>: No longer refer to age-old versions of binutils and glibc. From-SVN: r246266
Gerald Pfeifer committed -
* doc/contrib.texi (Contributors): Remove duplicate entry for myself. From-SVN: r246265
Segher Boessenkool committed -
From-SVN: r246264
GCC Administrator committed
-
- 18 Mar, 2017 1 commit
-
-
2017-03-18 Nicolas Koenig <koenigni@gcc.gnu.org> * MAINTAINERS: Add self to Write After Approval From-SVN: r246261
Nicolas Koenig committed
-