[Bug lto/79587] ICE in streamer_write_gcov_count_stream, at data-streamer-out.c:343 while building Python 3.6.0 with PGO and LTO

2017-02-17 Thread M8R-ynb11d at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79587 --- Comment #1 from M8R-ynb11d at mailinator dot com --- Created attachment 40767 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40767&action=edit profile data

[Bug lto/79587] New: ICE in streamer_write_gcov_count_stream, at data-streamer-out.c:343 while building Python 3.6.0 with PGO and LTO

2017-02-17 Thread M8R-ynb11d at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79587 Bug ID: 79587 Summary: ICE in streamer_write_gcov_count_stream, at data-streamer-out.c:343 while building Python 3.6.0 with PGO and LTO Product: gcc Version: 6.3.

[Bug c++/79548] [5/6/7 Regression] missing -Wunused-variable on a typedef'd variable in a function template

2017-02-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79548 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor -

[Bug c++/55203] No unused warning for variables of non-trivial types

2017-02-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55203 --- Comment #15 from Martin Sebor --- The core bits of this feature are in place but the std::string test case is still not diagnosed because string has non-trivial ctor and dtor and isn't decorated using the warn_unused attribute. Jonathan, wha

[Bug target/77333] Incorrect stack adjust in epilogue when targeting i686-w64-mingw32

2017-02-17 Thread tony at kelman dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77333 --- Comment #18 from Tony Kelman --- Sorry for the delay in getting to trying out your patch. Yes, it looks like it does fix the test case here when applied to the gcc 6 branch. Can running the test suite provide meaningful information from a cr

[Bug c/79586] New: missing -Wdeprecated depending on position of attribute

2017-02-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79586 Bug ID: 79586 Summary: missing -Wdeprecated depending on position of attribute Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority

[Bug tree-optimization/26388] Variable sized storage allocation should be promoted to stack allocation

2017-02-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388 --- Comment #19 from Martin Sebor --- You're right, I had overlooked the "provided by the implementation" part. I would not want implementations to have the latitude to omit explicit calls to operator new() unless the operator were the default.

[Bug c++/79583] ICE (internal compiler error) upon instantiation of class template with `auto` template parameter containing inner class template

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79583 Martin Liška changed: What|Removed |Added Keywords||ice-on-invalid-code Status|UN

[Bug c++/79508] [6 Regression] Parse error in template argument list using nested template arguments

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79508 Jason Merrill changed: What|Removed |Added Target Milestone|--- |6.4 Summary|[6/7 Regression]

[Bug c++/79508] [6/7 Regression] Parse error in template argument list using nested template arguments

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79508 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Feb 17 22:05:18 2017 New Revision: 245553 URL: https://gcc.gnu.org/viewcvs?rev=245553&root=gcc&view=rev Log: PR c++/79508 - lookup error with member template * parser

[Bug tree-optimization/26388] Variable sized storage allocation should be promoted to stack allocation

2017-02-17 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388 --- Comment #18 from Marc Glisse --- (In reply to Martin Sebor from comment #17) > The quoted text allows an implementation to to merge calls made by two or > more new expressions to the underlying allocation function (operator new). > It can ca

[Bug c++/79585] spurious -Wunused-variable on a pointer with attribute unused in function template

2017-02-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79585 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Known to fail|

[Bug c++/79585] New: spurious -Wunused-variable on a pointer with attribute unused in function template

2017-02-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79585 Bug ID: 79585 Summary: spurious -Wunused-variable on a pointer with attribute unused in function template Product: gcc Version: 7.0 Status: UNCONFIRMED Severity

[Bug target/79545] gcc[5/6]: RS6000, xvcvuxdsp and xvcvsxdsp RTL defines have wrong type

2017-02-17 Thread carll at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79545 --- Comment #3 from Carl Love --- Author: carll Date: Fri Feb 17 21:04:49 2017 New Revision: 245552 URL: https://gcc.gnu.org/viewcvs?rev=245552&root=gcc&view=rev Log: gcc/ChangeLog: 2017-02-17 Carl Love Backport from mainline commit r245

[Bug rtl-optimization/79584] New: ICE in base_to_reg, at lra-constraints.c:2918

2017-02-17 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79584 Bug ID: 79584 Summary: ICE in base_to_reg, at lra-constraints.c:2918 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-o

[Bug tree-optimization/26388] Variable sized storage allocation should be promoted to stack allocation

2017-02-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388 --- Comment #17 from Martin Sebor --- The quoted text allows an implementation to to merge calls made by two or more new expressions to the underlying allocation function (operator new). It can call it just once but it's can't avoid calling it a

[Bug c++/79508] [6/7 Regression] Parse error in template argument list using nested template arguments

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79508 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/78690] [7 Regression] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:552

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78690 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78690] [7 Regression] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:552

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78690 --- Comment #6 from Jason Merrill --- Author: jason Date: Fri Feb 17 20:28:38 2017 New Revision: 245549 URL: https://gcc.gnu.org/viewcvs?rev=245549&root=gcc&view=rev Log: PR c++/78690 - ICE with using and global type with same name

[Bug target/79185] [5/6/7 Regression] register allocation in the addition of two 128 bit ints

2017-02-17 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79185 --- Comment #4 from Vladimir Makarov --- There are probably a lot of analogous problem reports. I'll try to put some analysis of the issue. Before IRA we have the following code: 2: r90:DI=di:DI REG_DEAD di:DI 3: r91:DI=si:DI

[Bug sanitizer/79562] sanitizer breaks bootstrap of x86_64-*-freebsd

2017-02-17 Thread andreast at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79562 --- Comment #10 from Andreas Tobler --- Author: andreast Date: Fri Feb 17 19:23:28 2017 New Revision: 245547 URL: https://gcc.gnu.org/viewcvs?rev=245547&root=gcc&view=rev Log: 2017-02-17 Andreas Tobler Backported from mainline 2017-0

[Bug sanitizer/79562] sanitizer breaks bootstrap of x86_64-*-freebsd

2017-02-17 Thread andreast at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79562 --- Comment #9 from Andreas Tobler --- Author: andreast Date: Fri Feb 17 19:21:39 2017 New Revision: 245546 URL: https://gcc.gnu.org/viewcvs?rev=245546&root=gcc&view=rev Log: 2017-02-17 Andreas Tobler Backported from mainline 2017-02

[Bug c/79558] [5/6/7 Regression] ICE: Segfault in ubsan_type_descriptor, at ubsan.c:412

2017-02-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79558 --- Comment #4 from Marek Polacek --- I think the fix is just: --- a/gcc/ubsan.c +++ b/gcc/ubsan.c @@ -409,7 +409,9 @@ ubsan_type_descriptor (tree type, enum ubsan_print_style pstyle) { pp_left_bracket (&pretty_name); tree dom =

[Bug target/79261] vec_xxpermdi appears to have endian issues

2017-02-17 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79261 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/79261] vec_xxpermdi appears to have endian issues

2017-02-17 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79261 --- Comment #1 from Bill Schmidt --- Author: wschmidt Date: Fri Feb 17 19:11:06 2017 New Revision: 245545 URL: https://gcc.gnu.org/viewcvs?rev=245545&root=gcc&view=rev Log: [gcc] 2017-02-17 Bill Schmidt PR target/79261 * con

[Bug c/79558] [5/6/7 Regression] ICE: Segfault in ubsan_type_descriptor, at ubsan.c:412

2017-02-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79558 --- Comment #3 from Marek Polacek --- -fsanitize=bounds is enough.

[Bug c++/79582] Wrong mangled name for stdcall functions with templated arguments when referenced directly from vtbl.

2017-02-17 Thread jacek at codeweavers dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79582 --- Comment #1 from Jacek Caban --- Created attachment 40765 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40765&action=edit multifile test case

[Bug c++/79582] New: Wrong mangled name for stdcall functions with templated arguments when referenced directly from vtbl.

2017-02-17 Thread jacek at codeweavers dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79582 Bug ID: 79582 Summary: Wrong mangled name for stdcall functions with templated arguments when referenced directly from vtbl. Product: gcc Version: 6.2.0

[Bug tree-optimization/26388] Variable sized storage allocation should be promoted to stack allocation

2017-02-17 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388 --- Comment #16 from Marc Glisse --- [expr.new] now provides some flexibility: "A new-expression may obtain storage for the object by calling an allocation function" (not must) "An implementation is allowed to omit a call to a replaceable global

[Bug c++/79533] [7 Regression] ICE in build_over_call under -std=c++17 in 'S s(static_cast(f()));'

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79533 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78690] [7 Regression] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:552

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78690 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/79556] [7 Regression] [C++1z] ICE: in unify_one_argument, at cp/pt.c:18928

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79556 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79549] [c++1z] ICE in tsubst, at cp/pt.c:13474 with partial specialization of auto... template parameter pack

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79549 Jason Merrill changed: What|Removed |Added Keywords||patch Target Milestone|7.0

[Bug c++/79549] [7 Regression] [c++1z] ICE in tsubst, at cp/pt.c:13474 with partial specialization of auto... template parameter pack

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79549 --- Comment #7 from Jason Merrill --- Created attachment 40763 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40763&action=edit Better fix for GCC 8

[Bug target/79581] VFP4 slower than VFP3 in C-ray

2017-02-17 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79581 PeteVine changed: What|Removed |Added Target||armv7 --- Comment #1 from PeteVine --- Disti

[Bug c++/79556] [7 Regression] [C++1z] ICE: in unify_one_argument, at cp/pt.c:18928

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79556 --- Comment #2 from Jason Merrill --- Author: jason Date: Fri Feb 17 18:42:37 2017 New Revision: 245543 URL: https://gcc.gnu.org/viewcvs?rev=245543&root=gcc&view=rev Log: PR c++/79556 - C++17 ICE with non-type auto * pt.c (do_au

[Bug c++/79549] [7 Regression] [c++1z] ICE in tsubst, at cp/pt.c:13474 with partial specialization of auto... template parameter pack

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79549 --- Comment #6 from Jason Merrill --- Author: jason Date: Fri Feb 17 18:42:43 2017 New Revision: 245544 URL: https://gcc.gnu.org/viewcvs?rev=245544&root=gcc&view=rev Log: PR c++/79549 - C++17 ICE with non-type auto template parameter pac

[Bug target/79581] New: VFP4 slower than VFP3 in C-ray

2017-02-17 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79581 Bug ID: 79581 Summary: VFP4 slower than VFP3 in C-ray Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target A

[Bug tree-optimization/79327] [7 Regression] wrong code at -O2 and -fprintf-return-value

2017-02-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79327 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Feb 17 18:31:01 2017 New Revision: 245542 URL: https://gcc.gnu.org/viewcvs?rev=245542&root=gcc&view=rev Log: PR tree-optimization/79327 * gimple-ssa-sprintf.c (format_

[Bug tree-optimization/26388] Variable sized storage allocation should be promoted to stack allocation

2017-02-17 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388 --- Comment #15 from rguenther at suse dot de --- On February 17, 2017 6:34:07 PM GMT+01:00, "msebor at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388 > >--- Comment #14 from Martin Sebor --- >I agree with the goal

[Bug c++/79580] New: [5/6/7 Regression] ICE in nested_anon_class_index, at cp/mangle.c:1604

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79580 Bug ID: 79580 Summary: [5/6/7 Regression] ICE in nested_anon_class_index, at cp/mangle.c:1604 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on

[Bug c++/79548] [5/6/7 Regression] missing -Wunused-variable on a typedef'd variable in a function template

2017-02-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79548 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug target/79570] [5/6/7 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

2017-02-17 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570 Alexander Monakov changed: What|Removed |Added CC||abel at gcc dot gnu.org --- Comment

[Bug tree-optimization/26388] Variable sized storage allocation should be promoted to stack allocation

2017-02-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388 --- Comment #14 from Martin Sebor --- I agree with the goal of making containers efficient so please take this as constructive criticism. Jonathan and I discussed this on IRC a bit yesterday and I've thought about it some more since then. I'm u

[Bug rtl-optimization/79541] lra reads uninitialized memory (with invalid input)

2017-02-17 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79541 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/78690] [7 Regression] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:552

2017-02-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78690 --- Comment #5 from Jakub Jelinek --- The #c0 testcase doesn't ICE anymore since r245440. The #c4 testcase still ICEs.

[Bug c++/79533] [7 Regression] ICE in build_over_call under -std=c++17 in 'S s(static_cast(f()));'

2017-02-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79533 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Feb 17 16:50:16 2017 New Revision: 245538 URL: https://gcc.gnu.org/viewcvs?rev=245538&root=gcc&view=rev Log: PR c++/79533 - C++17 ICE with temporary cast to reference

[Bug target/76731] [AVX512] _mm512_i32gather_epi32 and other scatter/gather routines have incorrect signature

2017-02-17 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/76731] [AVX512] _mm512_i32gather_epi32 and other scatter/gather routines have incorrect signature

2017-02-17 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731 --- Comment #17 from uros at gcc dot gnu.org --- Author: uros Date: Fri Feb 17 16:35:37 2017 New Revision: 245537 URL: https://gcc.gnu.org/viewcvs?rev=245537&root=gcc&view=rev Log: PR target/76731 * config/i386/avx512fintrin.h

[Bug tree-optimization/45397] [5/6/7 Regression] Issues with integer narrowing conversions

2017-02-17 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 --- Comment #25 from Jeffrey A. Law --- "When doing so allows for simplification" is actually a pretty low bar here. We just have to prove the widening cast is a common subexpression. Once we do that, we know widening is a win. And that's rela

[Bug tree-optimization/77536] Vectorizer not maintaining relationship of relative block frequencies in absence of real profile data

2017-02-17 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77536 amker at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |amker at gcc dot gnu.org

[Bug c++/69564] [5/6/7 Regression] lto and/or C++ make scimark2 LU slower

2017-02-17 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69564 --- Comment #35 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #34) > But as A + 8 >= B || A >= B + 8 is the same as ABS (A - B) >= 8 we might do > better re-writing the overlap test in terms of this (of course it all r

[Bug rtl-optimization/79541] lra reads uninitialized memory (with invalid input)

2017-02-17 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79541 --- Comment #3 from Vladimir Makarov --- Author: vmakarov Date: Fri Feb 17 16:10:59 2017 New Revision: 245536 URL: https://gcc.gnu.org/viewcvs?rev=245536&root=gcc&view=rev Log: 2017-02-17 Vladimir Makarov PR rtl-optimization/79541

[Bug c++/79510] #pragma GCC diagnostic pop/push/ignored doesn't work as expected in template code

2017-02-17 Thread p.chevalier at psenterprise dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79510 --- Comment #2 from Pierre Chevalier --- (In reply to Martin Sebor from comment #1) > GCC doesn't define a __gcc__ macro. In C++ mode it defines __GNUC__ and > __GNUG__: > > https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html Sill

[Bug tree-optimization/79578] Unnecessary instructions in generated code

2017-02-17 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #5 fr

[Bug fortran/79426] [5/6/7 Regression] fortran - internal compiler error: in fold_convert_loc, at fold-const.c:2251

2017-02-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79426 --- Comment #3 from janus at gcc dot gnu.org --- Reduced test case ... subroutine gruppe implicit none type :: CGruppe class(*), dimension(:), pointer :: el end type type(CGruppe) :: group select type ( p => group%el(1) ) e

[Bug sanitizer/79572] [6/7 Regression] reference binding to null pointer not reported with -fsanitize=undefined

2017-02-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572 --- Comment #10 from janus at gcc dot gnu.org --- (In reply to janus from comment #9) > But at least clang 3.9 has some additional diagnostics: > > null_ref.cpp:11:5: warning: binding dereferenced null pointer to reference > has undefined behavio

[Bug c/16351] NULL dereference warnings

2017-02-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16351 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org --- C

[Bug tree-optimization/79529] [7 Regression] ICE in is_maybe_undefined (tree-ssa-loop-unswitch.c:162)

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79529 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/79577] Infinite loop with -fselective-scheduling2 -O2 --param selsched-max-sched-times=0

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79577 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/79574] ICE in want_to_gcse_p, at gcse.c:804

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79574 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/79577] Infinite loop with -fselective-scheduling2 -O2 --param selsched-max-sched-times=0

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79577 --- Comment #3 from Martin Liška --- Author: marxin Date: Fri Feb 17 14:47:08 2017 New Revision: 245532 URL: https://gcc.gnu.org/viewcvs?rev=245532&root=gcc&view=rev Log: Increase minimum for a param (PR rtl-optimization/79577). 2017-02-17 Mar

[Bug rtl-optimization/79574] ICE in want_to_gcse_p, at gcse.c:804

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79574 --- Comment #1 from Martin Liška --- Author: marxin Date: Fri Feb 17 14:46:14 2017 New Revision: 245531 URL: https://gcc.gnu.org/viewcvs?rev=245531&root=gcc&view=rev Log: Use HOST_WIDE_INT for a param calculation (PR rtl-optimization/79574). 20

[Bug ipa/79579] [5/6/7 Regression] ICE in ipa_write_node_info (ipa-prop.c:4931)

2017-02-17 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79579 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/79529] [7 Regression] ICE in is_maybe_undefined (tree-ssa-loop-unswitch.c:162)

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79529 --- Comment #3 from Martin Liška --- Author: marxin Date: Fri Feb 17 14:36:08 2017 New Revision: 245530 URL: https://gcc.gnu.org/viewcvs?rev=245530&root=gcc&view=rev Log: Introduce ssa_defined_default_def_p function (PR tree-optimization/79529).

[Bug tree-optimization/79578] Unnecessary instructions in generated code

2017-02-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578 --- Comment #4 from Jonathan Wakely --- Since the check comes from the front-end, and the DR says it's not needed, maybe this belongs to component c++ not tree-optimization. If the front-end didn't insert the check we wouldn't need to optimize it

[Bug ipa/79579] New: [5/6/7 Regression] ICE in ipa_write_node_info (ipa-prop.c:4931)

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79579 Bug ID: 79579 Summary: [5/6/7 Regression] ICE in ipa_write_node_info (ipa-prop.c:4931) Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-

[Bug tree-optimization/79578] Unnecessary instructions in generated code

2017-02-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578 --- Comment #3 from Jonathan Wakely --- (In reply to Maxim Egorushkin from comment #0) > 2. The code assigns through that pointer, so the pointer must be valid. > Therefore there is no need to test the result of new for 0. In any case, we fixed

[Bug tree-optimization/79578] Unnecessary instructions in generated code

2017-02-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug c++/79578] Unnecessary instructions in generated code

2017-02-17 Thread maxim.yegorushkin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578 --- Comment #1 from Maxim Egorushkin --- clang-3.9.1 generates code that I expect: f(char*): # @f(char*) movl$131073, (%rdi) # imm = 0x20001 movq%rdi, %rax retq

[Bug rtl-optimization/79577] Infinite loop with -fselective-scheduling2 -O2 --param selsched-max-sched-times=0

2017-02-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79577 --- Comment #2 from Richard Biener --- I guess so.

[Bug c++/79578] New: Unnecessary instructions in generated code

2017-02-17 Thread maxim.yegorushkin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578 Bug ID: 79578 Summary: Unnecessary instructions in generated code Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug rtl-optimization/79577] Infinite loop with -fselective-scheduling2 -O2 --param selsched-max-sched-times=0

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79577 --- Comment #1 from Martin Liška --- Loops in: #0 0x00a45e5f in init_expr (cant_move=true, needs_spec_check_p=false, was_renamed=, was_substituted=, target_available=1 '\001', history=..., orig_sched_cycle=0, spec_to_check_ds=0, spec_do

[Bug rtl-optimization/79577] New: Infinite loop with -fselective-scheduling2 -O2 --param selsched-max-sched-times=0

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79577 Bug ID: 79577 Summary: Infinite loop with -fselective-scheduling2 -O2 --param selsched-max-sched-times=0 Product: gcc Version: unknown Status: UNCONFIRMED Sever

[Bug tree-optimization/79576] [6 Regression] ICE in gimple_stmt_nonnegative_warnv_p in gcc/gimple-fold.c:6979

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576 --- Comment #6 from Martin Liška --- > > "doctor it hurts" -- "don't do that then" > :D Will you please create 'doctor-it-hurts=dont-do-that-then' keywords so that I can decorate the PR with it?

[Bug tree-optimization/79576] [6 Regression] ICE in gimple_stmt_nonnegative_warnv_p in gcc/gimple-fold.c:6979

2017-02-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576 Richard Biener changed: What|Removed |Added Status|RESOLVED|ASSIGNED Known to work|

[Bug tree-optimization/79576] [7 Regression] ICE in gimple_stmt_nonnegative_warnv_p in gcc/gimple-fold.c:6979

2017-02-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576 --- Comment #4 from Richard Biener --- Author: rguenth Date: Fri Feb 17 13:36:39 2017 New Revision: 245529 URL: https://gcc.gnu.org/viewcvs?rev=245529&root=gcc&view=rev Log: 2017-02-17 Richard Biener PR middle-end/79576 * par

[Bug tree-optimization/79576] [7 Regression] ICE in gimple_stmt_nonnegative_warnv_p in gcc/gimple-fold.c:6979

2017-02-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Version|unknown

[Bug tree-optimization/79576] [7 Regression] ICE in gimple_stmt_nonnegative_warnv_p in gcc/gimple-fold.c:6979

2017-02-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/79570] [5/6/7 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

2017-02-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570 --- Comment #4 from Jakub Jelinek --- Seems before r197942 sel_remove_insn with only_disconnect true actually kept BLOCK_FOR_INSN on the (temporarily) removed insn. But sel_bb_head would certainly not return that temporarily removed insn, so what

[Bug tree-optimization/79576] [7 Regression] ICE in gimple_stmt_nonnegative_warnv_p in gcc/gimple-fold.c:6979

2017-02-17 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576 --- Comment #1 from rguenther at suse dot de --- On Fri, 17 Feb 2017, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576 > > Bug ID: 79576 >Summary: [7 Regression] ICE in gimple_stmt_no

[Bug target/79570] [5/6/7 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

2017-02-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570 --- Comment #3 from Jakub Jelinek --- The ICE is because on the DEBUG_INSN move_op_orig_expr_found removes it from the IL: remove_insn_from_stream and then move_op_ascend -> moveup_expr_cached 2531 if (DEBUG_INSN_P (EXPR_INSN_RTX (expr)) 253

[Bug tree-optimization/79576] New: [7 Regression] ICE in gimple_stmt_nonnegative_warnv_p in gcc/gimple-fold.c:6979

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576 Bug ID: 79576 Summary: [7 Regression] ICE in gimple_stmt_nonnegative_warnv_p in gcc/gimple-fold.c:6979 Product: gcc Version: unknown Status: UNCONFIRMED Keyword

[Bug target/79570] [5/6/7 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

2017-02-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/69523] -Wliteral-suffix should not warn within namespace std

2017-02-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523 --- Comment #11 from Jonathan Wakely --- Patch submitted to gcc-patches with docs: https://gcc.gnu.org/ml/gcc-patches/2017-02/msg01109.html

[Bug tree-optimization/79575] [7 Regression] ICE in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:270

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79575 Martin Liška changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #1

[Bug tree-optimization/79575] New: [7 Regression] ICE in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:270

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79575 Bug ID: 79575 Summary: [7 Regression] ICE in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:270 Product: gcc Version: unknown Status: UNCONFIRMED

[Bug rtl-optimization/79574] New: ICE in want_to_gcse_p, at gcse.c:804

2017-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79574 Bug ID: 79574 Summary: ICE in want_to_gcse_p, at gcse.c:804 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Prior

[Bug target/79568] ICE in extract_insn, at recog.c:2311 for pr70325.c (with -mavx512bw)

2017-02-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79568 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug sanitizer/79572] [6/7 Regression] reference binding to null pointer not reported with -fsanitize=undefined

2017-02-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572 --- Comment #9 from janus at gcc dot gnu.org --- (In reply to Richard Biener from comment #8) > Btw, clang behaves the same: True. But at least clang 3.9 has some additional diagnostics: null_ref.cpp:11:5: warning: binding dereferenced null poin

[Bug c/79573] binutils make install fails

2017-02-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79573 --- Comment #2 from Jonathan Wakely --- binutils is not part of gcc, it has its own bug tracker at https://sourceware.org/bugzilla/

[Bug sanitizer/79572] [6/7 Regression] reference binding to null pointer not reported with -fsanitize=undefined

2017-02-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572 --- Comment #8 from Richard Biener --- Btw, clang behaves the same: > clang++ t.C -O2 t.C:4:12: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true

[Bug sanitizer/79572] [6/7 Regression] reference binding to null pointer not reported with -fsanitize=undefined

2017-02-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572 --- Comment #7 from janus at gcc dot gnu.org --- (In reply to Markus Trippelsdorf from comment #2) > You can use -fno-delete-null-pointer-checks as a workaround for this issue. Thanks for the comment, that's very helpful. > But the C++ standard

[Bug sanitizer/79572] [6/7 Regression] reference binding to null pointer not reported with -fsanitize=undefined

2017-02-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug sanitizer/79572] [6/7 Regression] reference binding to null pointer not reported with -fsanitize=undefined

2017-02-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572 Markus Trippelsdorf changed: What|Removed |Added Status|RESOLVED|NEW CC|

[Bug c++/79572] [6/7 Regression] Segfault with -O1 and higher on null reference

2017-02-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572 --- Comment #4 from Markus Trippelsdorf --- BTW clang diagnoses the issue with -fsanitize=undefined, but gcc doesn't: runtime error: reference binding to null pointer of type 'const int'

[Bug c/79573] binutils make install fails

2017-02-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79573 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/79572] [6/7 Regression] Segfault with -O1 and higher on null reference

2017-02-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/79572] [6/7 Regression] Segfault with -O1 and higher on null reference

2017-02-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug c++/79572] [6/7 Regression] Segfault with -O1 and higher on null reference

2017-02-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572 Richard Biener changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRM

  1   2   >