[Bug target/79498] [5/7 Regression] ICE in df_insn_delete, at df-scan.c:948

2017-02-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498 --- Comment #5 from Martin Liška --- (In reply to Martin Liška from comment #2) > Confirmed, the df-scan ICE appeared in r239383 and the folding stuff > disappeared in r233852. Ok, problem with 5 branch is that r233852 was wrongly back-ported (r

[Bug c/79471] valgrind error for gcc.c-torture/compile/limits-fnargs.c

2017-02-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79471 --- Comment #5 from Martin Liška --- Author: marxin Date: Tue Feb 14 08:03:42 2017 New Revision: 245418 URL: https://gcc.gnu.org/viewcvs?rev=245418&root=gcc&view=rev Log: Replace XALLOCAVEC with XCNEWVEC (PR c/79471). 2017-02-14 Martin Liska

[Bug middle-end/61225] [5/6/7 Regression] Several new failures after r210458 on x86_64-*-* with -m32

2017-02-14 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61225 --- Comment #32 from rguenther at suse dot de --- On Mon, 13 Feb 2017, ubizjak at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61225 > > Uroš Bizjak changed: > >What|Removed |Added >

[Bug c/79471] valgrind error for gcc.c-torture/compile/limits-fnargs.c

2017-02-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79471 --- Comment #6 from Martin Liška --- Author: marxin Date: Tue Feb 14 08:05:38 2017 New Revision: 245419 URL: https://gcc.gnu.org/viewcvs?rev=245419&root=gcc&view=rev Log: Replace XALLOCAVEC with XCNEWVEC (PR c/79471). 2017-02-14 Martin Liska

[Bug c/79471] valgrind error for gcc.c-torture/compile/limits-fnargs.c

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

[Bug tree-optimization/79489] Strange static branch prediction for n != 0

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

[Bug libstdc++/58909] C++11's condition variables fail with static linking

2017-02-14 Thread brooks at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58909 --- Comment #7 from Brooks Moses --- Right, understood, but Roland seemed pretty insistent in the discussion on bug 57740 that this was a libstdc++ bug, not a glibc bug. Your contention is that this is invalid because he's wrong about that, I ta

[Bug tree-optimization/79408] Missed VRP optimization of integer modulo

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79408 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Feb 14 08:26:26 2017 New Revision: 245420 URL: https://gcc.gnu.org/viewcvs?rev=245420&root=gcc&view=rev Log: PR tree-optimization/79408 * tree-vrp.c (simplify_div_or_m

[Bug fortran/79335] [7 Regression] Conditional jump or move depends on uninitialised in value get_scalar_to_descriptor_type(tree_node*, symbol_attribute) (trans-expr.c:53)

2017-02-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79335 Martin Liška changed: What|Removed |Added Status|WAITING |REOPENED --- Comment #8 from Martin Liška

[Bug target/79462] [7 Regression] sh: Stack smashing detected when building __ashrdi3 in libgcc

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79462 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Tue Feb 14 08:45:31 2017 New Revision: 245421 URL: https://gcc.gnu.org/viewcvs?rev=245421&root=gcc&view=rev Log: PR target/79462 * config/sh/sh.c (expand_cbranchdi4): Don'

[Bug middle-end/61225] [5/6/7 Regression] Several new failures after r210458 on x86_64-*-* with -m32

2017-02-14 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61225 --- Comment #33 from Uroš Bizjak --- Looking at PR49095, it seems to me that the remaining of this PR is just a testsuite regression. PR49095 introduces various peephole2 patterns that generate RMW versions of x86 insns, and fshrink-wrap interfe

[Bug target/79462] [7 Regression] sh: Stack smashing detected when building __ashrdi3 in libgcc

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79462 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79504] New: Mix of perfect forwarding and reference qualifier leads to recursive template instantiation.

2017-02-14 Thread Predelnik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79504 Bug ID: 79504 Summary: Mix of perfect forwarding and reference qualifier leads to recursive template instantiation. Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug tree-optimization/79489] Strange static branch prediction for n != 0

2017-02-14 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79489 --- Comment #2 from Marc Glisse --- (In reply to Martin Liška from comment #1) > 1) we wrongly match early return heuristics. Ah, right, that seems like an important heuristic, but it is very eager, it applies even if both branches lead to retur

[Bug target/79462] [7 Regression] sh: Stack smashing detected when building __ashrdi3 in libgcc

2017-02-14 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79462 --- Comment #8 from dhowells at redhat dot com --- The patch works for me, thanks!

[Bug tree-optimization/79460] gcc fails to optimise out a trivial additive loop for seemingly arbitrary numbers of iterations

2017-02-14 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 --- Comment #6 from rguenther at suse dot de --- On Mon, 13 Feb 2017, amker at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 > > --- Comment #5 from amker at gcc dot gnu.org --- > (In reply to Jakub Jelinek from co

[Bug tree-optimization/79460] gcc fails to optimise out a trivial additive loop for seemingly arbitrary numbers of iterations

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 --- Comment #7 from Jakub Jelinek --- Shouldn't it (both in the vectorizer and in scev) be dependent not just on flag_fp_contract_mode but also on some -ffast-math subflag? Doing several additions can e.g. raise different exceptions and have dif

[Bug tree-optimization/79460] gcc fails to optimise out a trivial additive loop for seemingly arbitrary numbers of iterations

2017-02-14 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 --- Comment #8 from rguenther at suse dot de --- On Tue, 14 Feb 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 > > --- Comment #7 from Jakub Jelinek --- > Shouldn't it (both in the vectorizer and in

[Bug tree-optimization/79460] gcc fails to optimise out a trivial additive loop for seemingly arbitrary numbers of iterations

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 --- Comment #9 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #8) > On Tue, 14 Feb 2017, jakub at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 > > > > --- Comment #7 from Jakub Jelinek ---

[Bug c/79505] New: Memory leaks in oacc_loop_discover_walk

2017-02-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79505 Bug ID: 79505 Summary: Memory leaks in oacc_loop_discover_walk Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/79460] gcc fails to optimise out a trivial additive loop for seemingly arbitrary numbers of iterations

2017-02-14 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 --- Comment #10 from amker at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #9) > (In reply to rguent...@suse.de from comment #8) > > On Tue, 14 Feb 2017, jakub at gcc dot gnu.org wrote: > > > > > https://gcc.gnu.org/bugzilla/show_b

[Bug middle-end/79448] unhelpful -Wformat-truncation=2 INT_MAX warning

2017-02-14 Thread mark at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79448 --- Comment #5 from Mark Wielaard --- (In reply to Martin Sebor from comment #4) > Ouch. When its size argument is zero, a snprintf call is a request to > compute the size of output without actually writing any into the destination > (which may

[Bug tree-optimization/79460] gcc fails to optimise out a trivial additive loop for seemingly arbitrary numbers of iterations

2017-02-14 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 --- Comment #11 from rguenther at suse dot de --- On Tue, 14 Feb 2017, amker at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 > > --- Comment #10 from amker at gcc dot gnu.org --- > (In reply to Jakub Jelinek from

[Bug tree-optimization/79472] [7 Regression] x86-64: Switch table generation fails if default case has different code

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79472 Jakub Jelinek changed: What|Removed |Added Attachment #40726|0 |1 is obsolete|

[Bug c++/79288] [7 Regression] TLS model wrong for static data members since r241137

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79288 --- Comment #3 from Jakub Jelinek --- Fix posted for review: http://gcc.gnu.org/ml/gcc-patches/2017-01/msg02349.html

[Bug rtl-optimization/68664] [6/7 Regression] Speculative sqrt in c-ray main loop causes large slow down

2017-02-14 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68664 --- Comment #26 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Feb 14 10:31:14 2017 New Revision: 245424 URL: https://gcc.gnu.org/viewcvs?rev=245424&root=gcc&view=rev Log: [AArch64] PR rtl-optimization/68664 Implement TARGET_SCHE

[Bug rtl-optimization/68664] [6/7 Regression] Speculative sqrt in c-ray main loop causes large slow down

2017-02-14 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68664 --- Comment #27 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Feb 14 10:33:50 2017 New Revision: 245425 URL: https://gcc.gnu.org/viewcvs?rev=245425&root=gcc&view=rev Log: [ARM] PR rtl-optimization/68664 Implement TARGET_SCHED_CA

[Bug target/79495] [6/7 Regression] ICE in extract_constrain_insn, at recog.c:2213

2017-02-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79495 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|7.0

[Bug target/79494] [5/6/7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330

2017-02-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79494 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|7.0

[Bug ipa/79506] New: Compile time increase after r245366 (params.def (inline-min-speedup) Change from 10 to 8.)

2017-02-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79506 Bug ID: 79506 Summary: Compile time increase after r245366 (params.def (inline-min-speedup) Change from 10 to 8.) Product: gcc Version: unknown Status: UNCONFIRMED

[Bug rtl-optimization/68664] [6 Regression] Speculative sqrt in c-ray main loop causes large slow down

2017-02-14 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68664 ktkachov at gcc dot gnu.org changed: What|Removed |Added Known to work||7.0 Summary|[6/7

[Bug target/79491] Possibly inefficient code for the inner product of two vectors

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

[Bug c++/79488] [7 Regression] ICE from lambda that has invalid return type

2017-02-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79488 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug c/79505] [7 Regression] Memory leaks in oacc_loop_discover_walk

2017-02-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79505 Richard Biener changed: What|Removed |Added Version|unknown |7.0 Target Milestone|---

[Bug target/79497] ICE in extract_insn, at recog.c:2311

2017-02-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79497 Richard Biener changed: What|Removed |Added Target Milestone|7.0 |---

[Bug target/79498] [5/7 Regression] ICE in df_insn_delete, at df-scan.c:948

2017-02-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|7.0

[Bug target/79498] [5/7 Regression] ICE in df_insn_delete, at df-scan.c:948

2017-02-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498 --- Comment #6 from Martin Liška --- Author: marxin Date: Tue Feb 14 10:45:31 2017 New Revision: 245426 URL: https://gcc.gnu.org/viewcvs?rev=245426&root=gcc&view=rev Log: 2016-03-01 Richard Biener 2017-02-14 Martin Liska Backport

[Bug middle-end/70022] [4.9 Regression] ICE: in tree_to_shwi, at tree.c:7328 with out-of-bounds vector index

2017-02-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70022 --- Comment #9 from Martin Liška --- Author: marxin Date: Tue Feb 14 10:45:31 2017 New Revision: 245426 URL: https://gcc.gnu.org/viewcvs?rev=245426&root=gcc&view=rev Log: 2016-03-01 Richard Biener 2017-02-14 Martin Liska Backport

[Bug target/79498] [7 Regression] ICE in df_insn_delete, at df-scan.c:948

2017-02-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498 Martin Liška changed: What|Removed |Added Summary|[5/7 Regression] ICE in |[7 Regression] ICE in |

[Bug tree-optimization/79432] [7 Regression] ICE: verify_ssa failed

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

[Bug target/79498] [7 Regression] ICE in df_insn_delete, at df-scan.c:948

2017-02-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498 Richard Biener changed: What|Removed |Added Priority|P2 |P1 Target Milestone|5.5

[Bug libstdc++/58909] C++11's condition variables fail with static linking

2017-02-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58909 --- Comment #8 from Jonathan Wakely --- Well Roland's fix doesn't work, and his claims about libstdc++ problems are based on ancient history, so I don't find his arguments very persuasive. I'm happy to document the requirements in the libstdc++

[Bug c++/66256] noexcept evaluation done before end of class

2017-02-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug c++/79504] Mix of perfect forwarding and reference qualifier leads to recursive template instantiation.

2017-02-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79504 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/66256] noexcept evaluation done before end of class

2017-02-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256 --- Comment #2 from Jonathan Wakely --- (In reply to Michael Mehlich from comment #1) > BTW: The header file could be fixed easily by adding std:: in front of these > swap occurrences. No, because that would only consider std::swap and not other

[Bug c++/79504] Overload resolution in trailing-return-type ignores reference qualifier and leads to recursive template instantiation.

2017-02-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79504 Jonathan Wakely changed: What|Removed |Added Summary|Mix of perfect forwarding |Overload resolution in

[Bug ipa/79506] Compile time increase after r245366 (params.def (inline-min-speedup) Change from 10 to 8.)

2017-02-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79506 --- Comment #1 from Richard Biener --- Ok, so it's IVOPTs becoming relatively slower fastest (with --param inline-min-speedup=8 it surpasses IRA as the most expensive pass). 34% of IVO is spent in simple_iv (and siblings), the other 34% are spen

[Bug c++/79464] [7 Regression] ICE in ipa_modify_formal_ parameters

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79464 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/79464] [7 Regression] ICE in ipa_modify_formal_ parameters

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79464 --- Comment #3 from Jakub Jelinek --- And, to answer myself whether the middle-end does care about the METHOD_TYPE being correct, yes, it does, e.g. that type is stored in gimple_call_fntype on all the calls to such inherited base ctor, so it sho

[Bug c++/79420] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu: in tsubst_copy, at cp/pt.c:14573

2017-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79420 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/79464] [7 Regression] ICE in ipa_modify_formal_ parameters

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79464 --- Comment #4 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #3) > On the other side there are over 120 direct TYPE_ARG_TYPES uses and almost 30 > FUNCTION_FIRST_USER_PARMTYPE. Assuming inherited base ctor clones are only In th

[Bug ada/79441] [7 regression] gnat.dg/pack9.adb fails

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79441 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug tree-optimization/79224] [7 Regression] Large C-Ray slowdown

2017-02-14 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79224 --- Comment #9 from Jan Hubicka --- Most of the regression caused by the inlining difference is fixed now, but the solution is not ideal. According to Czerny we still have quite noticeable regression https://gcc.opensuse.org/c++bench-czerny/c-ray

[Bug tree-optimization/79489] Strange static branch prediction for n != 0

2017-02-14 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79489 --- Comment #3 from Jan Hubicka --- > 1) we wrongly match early return heuristics. It's a known issue as mentioned > in > predict.def: > > /* Branch causing function to terminate is probably not taken. >FIXME: early return currently predic

[Bug fortran/79447] [F08] gfortran rejects valid & accepts invalid internal subprogram in a submodule

2017-02-14 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79447 --- Comment #3 from Paul Thomas --- Hi Damian, Thanks for the report. I am back in France for a couple of days, tidying up things like utility company contracts and the pile of "stuff" that I left in a friend's garage. I'll get onto this as soon

[Bug c++/79420] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu: in tsubst_copy, at cp/pt.c:14573

2017-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79420 --- Comment #3 from Marek Polacek --- One way would be to never change OVERLOADs back to being dependent, as in --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -7331,7 +7331,8 @@ cp_parser_postfix_dot_deref_expression (cp_parser *parser,

[Bug middle-end/79505] [7 Regression] Memory leaks in oacc_loop_discover_walk

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

[Bug c++/79488] [7 Regression] ICE from lambda that has invalid return type

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79488 Jakub Jelinek changed: What|Removed |Added Keywords|ice-on-invalid-code |error-recovery Priority|P3

[Bug c++/79463] [7 Regression] ICE for -g with ./g++.dg/cpp1y/pr79435.C

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79463 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c/79507] New: Incorrect array item inlining when ASAN is enabled

2017-02-14 Thread zherczeg at inf dot u-szeged.hu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79507 Bug ID: 79507 Summary: Incorrect array item inlining when ASAN is enabled Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/79420] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu: in tsubst_copy, at cp/pt.c:14573

2017-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79420 --- Comment #4 from Marek Polacek --- A similar testcase: struct S; extern S s; template int f () { return s.x; } void g () { f<0> (); }

[Bug c++/79463] [7 Regression] ICE for -g with ./g++.dg/cpp1y/pr79435.C

2017-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79463 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/79463] [7 Regression] ICE for -g with ./g++.dg/cpp1y/pr79435.C

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79463 --- Comment #4 from Jakub Jelinek --- Yeah. In this particular case it is only the check_abi_tags that assumes a VAR_DECL has always non-NULL TREE_TYPE, if I return in gdb from there early the result looks reasonable (likely because we now have

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

2017-02-14 Thread trufanovan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79508 Bug ID: 79508 Summary: Parse error in template argument list using nested template arguments Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal

[Bug c/79509] New: m68k/coldfire: Internal error, aborting at dw2gencfi.c:214 in emit_expr_encoded

2017-02-14 Thread wbx at openadk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509 Bug ID: 79509 Summary: m68k/coldfire: Internal error, aborting at dw2gencfi.c:214 in emit_expr_encoded Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity:

[Bug c/79507] Incorrect array item inlining when ASAN is enabled

2017-02-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79507 --- Comment #1 from Richard Biener --- Maybe this is an incarnation of PR50199 and -fmerge-constants doesn't fully fix it.

[Bug c++/79420] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu: in tsubst_copy, at cp/pt.c:14573

2017-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79420 --- Comment #5 from Marek Polacek --- Given PR79463 and Comment 4, it seems that we shouldn't change at least VAR_DECLs and OVERLOADs back to dependent. Maybe limit what kind of object expressions we want to treat dependent. Anybody have a sugg

[Bug tree-optimization/79460] gcc fails to optimise out a trivial additive loop for seemingly arbitrary numbers of iterations

2017-02-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 --- Comment #12 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #7) > Shouldn't it (both in the vectorizer and in scev) be dependent not just on > flag_fp_contract_mode but also on some -ffast-math subflag? Doing several > ad

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

2017-02-14 Thread p.chevalier at psenterprise dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79510 Bug ID: 79510 Summary: #pragma GCC diagnostic pop/push/ignored doesn't work as expected in template code Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severit

[Bug rtl-optimization/68664] [6 Regression] Speculative sqrt in c-ray main loop causes large slow down

2017-02-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68664 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79420] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu: in tsubst_copy, at cp/pt.c:14573

2017-02-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79420 --- Comment #6 from Jason Merrill --- (In reply to Marek Polacek from comment #5) > Given PR79463 and Comment 4, it seems that we shouldn't change at least > VAR_DECLs and OVERLOADs back to dependent. We can treat them as dependent, but we shoul

[Bug c++/79464] [7 Regression] ICE in ipa_modify_formal_ parameters

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

[Bug c++/79463] [7 Regression] ICE for -g with ./g++.dg/cpp1y/pr79435.C

2017-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79463 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/79420] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu: in tsubst_copy, at cp/pt.c:14573

2017-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79420 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/79458] attributes on constructor between class name and parameter list not accepted

2017-02-14 Thread jplejacq at quoininc dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79458 --- Comment #2 from Jean Pierre LeJacq --- Clang 5.0.0 (trunk 295037) accepts the attribute in both locations. GCC and Clang accept the attribute in both locations for functions other than the constructor.

[Bug fortran/79447] [F08] gfortran rejects valid & accepts invalid internal subprogram in a submodule

2017-02-14 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79447 --- Comment #4 from Damian Rouson --- Hi Paul, Thanks for the updates. My son loves to host garage sales so let us know if you're getting rid of the "stuff" and we'll drop by. :) Safe travels. Damian

[Bug sanitizer/67308] FATAL: ThreadSanitizer: unexpected memory mapping

2017-02-14 Thread jeromerobert at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67308 --- Comment #5 from Jerome Robert --- I did not test my self but this is supposed to be fixed in trunk (and not backported to 6.x): https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=241977 http://llvm.org/viewvc/llvm-project?view=revision&r

[Bug libstdc++/79511] New: Convertation issues in std::codecvt_utf8_utf16

2017-02-14 Thread mikhail at pilin dot name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79511 Bug ID: 79511 Summary: Convertation issues in std::codecvt_utf8_utf16 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/79499] ICE in rtl_verify_bb_insns, at cfgrtl.c:2661

2017-02-14 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79499 --- Comment #1 from Gerhard Steinmetz --- Original files from ./gcc/testsuite/gcc.dg/torture. Oh, and gcc-5 (configured with --enable-checking=yes) also gives that ICE for pr57478.c (but not for pr78542.c). Whereas with release versions 5/6/7 (

[Bug c++/79512] New: ICE: Segfault in gimple_build_call_1, at gimple.c:218

2017-02-14 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79512 Bug ID: 79512 Summary: ICE: Segfault in gimple_build_call_1, at gimple.c:218 Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/79487] Invalid _Decimal32 comparison on s390x

2017-02-14 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79487 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/79095] [7 regression] spurious stringop-overflow warning

2017-02-14 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79095 --- Comment #13 from Jeffrey A. Law --- Author: law Date: Tue Feb 14 15:54:09 2017 New Revision: 245434 URL: https://gcc.gnu.org/viewcvs?rev=245434&root=gcc&view=rev Log: PR tree-optimization/79095 * tree-vrp.c (extract_range_fro

[Bug tree-optimization/79095] [7 regression] spurious stringop-overflow warning

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

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

2017-02-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79508 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

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

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

[Bug target/79487] Invalid _Decimal32 comparison on s390x

2017-02-14 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79487 --- Comment #4 from Dominik Vogt --- What happens in Cse1 is that the constant is propagated into the FLOAT_EXTEND expression, resulting in (float_expand:DD (const_double:SD -9223372036854775808)) which is eventually simplified using simplify

[Bug target/79487] Invalid _Decimal32 comparison on s390x

2017-02-14 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79487 --- Comment #5 from Andreas Krebbel --- the real_convert invocation has been added with: commit 21be42575a11522f5b73d88da65f681711c335a0 Author: jakub Date: Thu Mar 24 18:58:58 2011 + PR debug/48204 * simplify-rtx

[Bug target/79487] Invalid _Decimal32 comparison on s390x

2017-02-14 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79487 --- Comment #6 from Dominik Vogt --- This experimental patch fixes the problem: diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index aa45973..2e67cff 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -1897,6 +1897,8 @@ simplify_c

[Bug target/79487] Invalid _Decimal32 comparison on s390x

2017-02-14 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79487 --- Comment #7 from Dominik Vogt --- (In reply to Andreas Krebbel from comment #5) > Perhaps we have to do the real_convert unconditionally?! The real_convert to "mode" is not enough. Before converting to the target mode, the constant needs to

[Bug target/77468] [7 Regression] C-ray regression on Aarch64

2017-02-14 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77468 PeteVine changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|DUPLICATE

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

2017-02-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79508 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #

[Bug target/79404] [7 Regression] h8300: ICE at gcc/ira.c:5541 whilst building libgcc

2017-02-14 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79404 --- Comment #4 from Jeffrey A. Law --- Author: law Date: Tue Feb 14 16:44:33 2017 New Revision: 245436 URL: https://gcc.gnu.org/viewcvs?rev=245436&root=gcc&view=rev Log: PR target/79404 * ira-costs.c (scan_one_insn): Initialize r

[Bug target/79404] [7 Regression] h8300: ICE at gcc/ira.c:5541 whilst building libgcc

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

[Bug target/79487] Invalid _Decimal32 comparison on s390x

2017-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79487 --- Comment #8 from Jakub Jelinek --- (In reply to Dominik Vogt from comment #4) > What happens in Cse1 is that the constant is propagated into the > FLOAT_EXTEND expression, resulting in > > (float_expand:DD (const_double:SD -9223372036854775

[Bug middle-end/79448] unhelpful -Wformat-truncation=2 INT_MAX warning

2017-02-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79448 --- Comment #6 from Martin Sebor --- Author: msebor Date: Tue Feb 14 16:51:24 2017 New Revision: 245437 URL: https://gcc.gnu.org/viewcvs?rev=245437&root=gcc&view=rev Log: PR middle-end/79448 - unhelpful -Wformat-truncation=2 warning gcc/testsui

[Bug tree-optimization/21485] [5/6/7 Regression] missed load PRE, PRE makes i?86/7 suck

2017-02-14 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21485 --- Comment #63 from Jeffrey A. Law --- So going back to the gcc-3.4 code the major change is we make much more use of the complex addressing modes on x86: NumSift: .LFB2: pushq %rbx .LCFI0: movq%rsi, %r8 .p2align 4

[Bug target/79487] Invalid _Decimal32 comparison on s390x

2017-02-14 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79487 --- Comment #9 from Dominik Vogt --- (In reply to Jakub Jelinek from comment #8) > This isn't truncation, but extension (SDmode to DDmode). I presume all > SDmode values are representable in DDmode, so I don't see anything wrong on > that. But

[Bug middle-end/79448] unhelpful -Wformat-truncation=2 INT_MAX warning

2017-02-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79448 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79498] [7 Regression] ICE in df_insn_delete, at df-scan.c:948

2017-02-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/79498] [7 Regression] ICE in df_insn_delete, at df-scan.c:948

2017-02-14 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498 --- Comment #9 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Feb 14 16:53:22 2017 New Revision: 245438 URL: https://gcc.gnu.org/viewcvs?rev=245438&root=gcc&view=rev Log: Properly store 128-bit constant in large model When converting TI

  1   2   3   >