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

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 Richard Biener changed: What|Removed |Added Target Milestone|5.5 |7.0 --- Comment #22 from Richard

[Bug c++/79564] New: [missed optimization][x86] relaxed atomic counting compiled the same as seq_cst

2017-02-16 Thread marc.mutz at kdab dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79564 Bug ID: 79564 Summary: [missed optimization][x86] relaxed atomic counting compiled the same as seq_cst Product: gcc Version: 7.0.1 Status: UNCONFIRMED

[Bug rtl-optimization/79286] [7 Regression] ira and lra wrong code at -O2 and -Os on i686-linux

2017-02-16 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79286 --- Comment #7 from Jeffrey A. Law --- Author: law Date: Thu Feb 16 22:56:51 2017 New Revision: 245521 URL: https://gcc.gnu.org/viewcvs?rev=245521=gcc=rev Log: 2017-02-16 Alan Modra PR rtl-optimization/79286

[Bug c/79554] Zero length format string passed to fprintf under if statement causes error message

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

[Bug c++/79503] [7 Regression] [new inheriting ctors] spurious bad candidate from same or derived type

2017-02-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79503 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug c++/29455] Issues with -Wchar-subscripts

2017-02-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29455 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/29445] Add attribute for 'experimental'

2017-02-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29445 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

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

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

[Bug tree-optimization/79564] [missed optimization][x86] relaxed atomic counting compiled the same as seq_cst

2017-02-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79564 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

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

2017-02-16 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79562 --- Comment #8 from Steve Kargl --- On Thu, Feb 16, 2017 at 09:26:12PM +, andreast at gcc dot gnu.org wrote: > > --- Comment #7 from Andreas Tobler --- > Fixed on trunk. > Thanks!

[Bug c++/67491] [meta-bug] concepts issues

2017-02-16 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67150, which changed state. Bug 67150 Summary: [c++-concepts] Expression constraint fails with dependent types used as a deduction constraint target https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67150 What

[Bug c++/67150] [c++-concepts] Expression constraint fails with dependent types used as a deduction constraint target

2017-02-16 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67150 Casey Carter changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/60364] [[noreturn]] specified for second declaration but not first doesn't result in a diagnostic

2017-02-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60364 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Known to

[Bug c/26749] too few arguments to function va_start is caught too late

2017-02-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26749 --- Comment #6 from Martin Sebor --- Okay, I've now read the discussion in bug 24222 that this one blocks. I think I understand the design issue though I don't see how to trigger it in a test case. $ cat t.c && /build/gcc-trunk/gcc/xgcc -B

[Bug rtl-optimization/79286] [7 Regression] ira and lra wrong code at -O2 and -Os on i686-linux

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

[Bug c++/79531] bad location when trying to define undeclared method

2017-02-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79531 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/79520] Spurious caching for constexpr arguments

2017-02-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79520 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/67384] [concepts] More fun with deduction constraints

2017-02-16 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67384 Casey Carter changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2017-02-16 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67384, which changed state. Bug 67384 Summary: [concepts] More fun with deduction constraints https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67384 What|Removed |Added

[Bug demangler/79099] Memory leak in cplus-dem.c:2232

2017-02-16 Thread kcc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79099 Kostya Serebryany changed: What|Removed |Added CC||kcc at gcc dot gnu.org --- Comment

[Bug c++/61379] __attribute__((noreturn)) ignored on pure virtual member functions

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

[Bug c++/79551] Better caret position for not declared errors

2017-02-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79551 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/79566] New: [6/7 Regression] elaborated-type-specifier incorrectly rejected in range-based for

2017-02-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79566 Bug ID: 79566 Summary: [6/7 Regression] elaborated-type-specifier incorrectly rejected in range-based for Product: gcc Version: 6.3.1 Status: UNCONFIRMED

[Bug c++/71943] Wreturn-type when combining destructor + return + __noreturn__ function

2017-02-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71943 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

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

2017-02-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79510 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug bootstrap/79567] New: Compiler-warning "unknown escape sequence '\x'" about genmatch-generated C-files on mingw-host

2017-02-16 Thread meisenmann....@fh-salzburg.ac.at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79567 Bug ID: 79567 Summary: Compiler-warning "unknown escape sequence '\x'" about genmatch-generated C-files on mingw-host Product: gcc Version: 5.4.0 Status: UNCONFIRMED

[Bug fortran/79553] New: Infinite gfortran loop on invalid code with procedures parameters

2017-02-16 Thread luthaf at luthaf dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79553 Bug ID: 79553 Summary: Infinite gfortran loop on invalid code with procedures parameters Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal

[Bug c/79554] New: Zero length format string passed to fprintf under if statement causes error message

2017-02-16 Thread cnconlinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79554 Bug ID: 79554 Summary: Zero length format string passed to fprintf under if statement causes error message Product: gcc Version: 4.8.4 Status: UNCONFIRMED

[Bug middle-end/79537] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:12009

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

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.4 Summary|[Regression GCC

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

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

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

2017-02-16 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77536 --- Comment #5 from amker at gcc dot gnu.org --- (In reply to amker from comment #4) > Looks like generic loop unrolling code used by predcom spends quite a lot > maintaining profiling counter, I will check if that's correct and we shall > do the

[Bug c++/79555] New: Warning 'base class should be explicitly initialized in the copy constructor' issued in wrong case

2017-02-16 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79555 Bug ID: 79555 Summary: Warning 'base class should be explicitly initialized in the copy constructor' issued in wrong case Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug inline-asm/79552] New: [Regression GCC 6+] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread katsunori.kumatani at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 Bug ID: 79552 Summary: [Regression GCC 6+] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm Product: gcc Version: 6.3.0 Status:

[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-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79549 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug libfortran/79540] [7 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test

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

[Bug c++/79519] [5/6/7 Regression] ICE deleting template friend function

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

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

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69564 Richard Biener changed: What|Removed |Added CC||amker at gcc dot gnu.org --- Comment

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

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

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 --- Comment #1 from Uroš Bizjak --- (In reply to Katsunori Kumatani from comment #0) > Things to note: > > This happens on GCC 6 and up to 7 only, GCC 5.4 generates correct output. > This happens once you turn on the -fschedule-insns option.

[Bug ada/79542] [7 regression] GNAT bug box

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

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

2017-02-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79549 --- Comment #2 from Martin Liška --- *** Bug 79550 has been marked as a duplicate of this bug. ***

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

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

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

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69564 --- Comment #32 from Richard Biener --- int ii; for (ii=j+1; ii

[Bug libstdc++/60936] [5/6 Regression] Binary code bloat with std::string

2017-02-16 Thread meisenmann....@fh-salzburg.ac.at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60936 --- Comment #31 from Markus Eisenmann --- Hi! There's a minor failure in the (patched) function __concat_size_t (within snprintf_lite.cc): size_t __len = __out - __cs; Calculates the remaining/unsused

[Bug tree-optimization/79347] [7 regression] vect_do_peeling is messing up profile

2017-02-16 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79347 --- Comment #12 from amker at gcc dot gnu.org --- (In reply to Rainer Orth from comment #10) > The new testcase FAILs on sparc-sun-solaris2.12, both 32 and 64-bit: > > +FAIL: gcc.dg/vect/pr79347.c -flto -ffat-lto-objects scan-tree-dump-times >

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

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79529 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Version|unknown

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

2017-02-16 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79549 --- Comment #3 from TC --- -std=c++1z, of course. http://melpon.org/wandbox/permlink/kxNlvdtfvjCW5fNN

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

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69564 --- Comment #34 from Richard Biener --- 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 really depends on whether that and the offset stripping

[Bug middle-end/79536] [5/6/7 Regression] ICE in fold_binary_loc, at fold-const.c:9060

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79536 --- Comment #5 from Richard Biener --- (In reply to Marek Polacek from comment #4) > So perhaps this: > --- a/gcc/fold-const.c > +++ b/gcc/fold-const.c > @@ -581,8 +581,8 @@ fold_negate_expr (location_t loc, tree t) > case COMPLEX_EXPR: >

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

2017-02-16 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 CC||amker at gcc dot gnu.org ---

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

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79548 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

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

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

[Bug c++/79380] ICE on C++11 code with illegal alignas specifier on x86_64-linux-gnu: unexpected expression ‘f’ of kind overload

2017-02-16 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79380 Paolo Carlini changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com

[Bug libstdc++/60936] [5/6 Regression] Binary code bloat with std::string

2017-02-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60936 --- Comment #33 from Jonathan Wakely --- Author: redi Date: Thu Feb 16 12:06:28 2017 New Revision: 245505 URL: https://gcc.gnu.org/viewcvs?rev=245505=gcc=rev Log: PR libstdc++/60936 fix length calculation PR libstdc++/60936 *

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

2017-02-16 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 --- Comment #6 from rguenther at suse dot de --- On Thu, 16 Feb 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 > > --- Comment #5 from Jakub Jelinek --- > Actually the last 4 not, they return

[Bug c/79428] [6 Regression] ICE in c_parser_consume_token, at c/c-parser.c:770

2017-02-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79428 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Thu Feb 16 08:57:30 2017 New Revision: 245502 URL: https://gcc.gnu.org/viewcvs?rev=245502=gcc=rev Log: Backported from mainline 2017-02-09 Marek Polacek

[Bug c++/79535] [6/7 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2636

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

[Bug tree-optimization/79534] [7 Regression] tree-ifcombine aarch64 regression with trunk@245151

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

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

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79533 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/79536] [5/6/7 Regression] ICE in fold_binary_loc, at fold-const.c:9060

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

[Bug tree-optimization/79347] [7 regression] vect_do_peeling is messing up profile

2017-02-16 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79347 --- Comment #11 from Rainer Orth --- Created attachment 40757 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40757=edit sparc-sun-solaris2.12 pr79347.c.158t.vect

[Bug libfortran/79540] [7 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test

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

[Bug middle-end/79537] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:12009

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

[Bug libstdc++/60936] [5/6 Regression] Binary code bloat with std::string

2017-02-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60936 --- Comment #32 from Jonathan Wakely --- Good catch, thanks

[Bug middle-end/79536] [5/6/7 Regression] ICE in fold_binary_loc, at fold-const.c:9060

2017-02-16 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79536 --- Comment #7 from rguenther at suse dot de --- On Thu, 16 Feb 2017, mpolacek at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79536 > > --- Comment #6 from Marek Polacek --- > Yes, but see my Comment 3 regarding

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

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

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

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

[Bug middle-end/79536] [5/6/7 Regression] ICE in fold_binary_loc, at fold-const.c:9060

2017-02-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79536 --- Comment #3 from Marek Polacek --- The problem here is that we have a NOP_EXPR: (int) -x. negate_expr_p returns true for that, which means that fold_negate_expr cannot return NULL_TREE. But that's what happens, and that leads to a crash in

[Bug middle-end/79536] [5/6/7 Regression] ICE in fold_binary_loc, at fold-const.c:9060

2017-02-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79536 --- Comment #4 from Marek Polacek --- So perhaps this: --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -581,8 +581,8 @@ fold_negate_expr (location_t loc, tree t) case COMPLEX_EXPR: if (negate_expr_p (t)) return fold_build2_loc

[Bug middle-end/79536] [5/6/7 Regression] ICE in fold_binary_loc, at fold-const.c:9060

2017-02-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79536 --- Comment #6 from Marek Polacek --- Yes, but see my Comment 3 regarding STRIP_SIGN_NOPS. Also the typedef is necessary, otherwise there are no NOP_EXPRs (huh).

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

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

[Bug c/79546] Strange error: missed loop optimization, the loop counter may overflow [-Werror=unsafe-loop-optimizations]

2017-02-16 Thread rjones at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79546 Richard W.M. Jones changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/79551] New: Better carouse position for not declared errors

2017-02-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79551 Bug ID: 79551 Summary: Better carouse position for not declared errors Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug c++/79551] Better carouse position for not declared errors

2017-02-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79551 Martin Liška changed: What|Removed |Added Severity|normal |enhancement

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

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69564 --- Comment #33 from Richard Biener --- For example with Index: tree-vect-loop-manip.c === --- tree-vect-loop-manip.c (revision 245501) +++ tree-vect-loop-manip.c

[Bug ada/79542] [7 regression] GNAT bug box

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

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

2017-02-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 --- Comment #5 from Jakub Jelinek --- Actually the last 4 not, they return addresses into it. But also strspn and strcspn?

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

2017-02-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79549 Martin Liška changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug tree-optimization/79347] [7 regression] vect_do_peeling is messing up profile

2017-02-16 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79347 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #10

[Bug middle-end/79536] [5/6/7 Regression] ICE in fold_binary_loc, at fold-const.c:9060

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

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

2017-02-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 --- Comment #4 from Jakub Jelinek --- (In reply to Richard Biener from comment #3) > + /* Pure functions that return something not based on any object. */ > + case BUILT_IN_STRLEN: > + /* We don't need to do anything here. No

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

2017-02-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79512 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Feb 16 12:02:24 2017 New Revision: 245504 URL: https://gcc.gnu.org/viewcvs?rev=245504=gcc=rev Log: PR c++/79512 c/ * c-parser.c (c_parser_omp_target): For

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

2017-02-16 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79556 Bug ID: 79556 Summary: [C++1z] ICE: in unify_one_argument, at cp/pt.c:18928 Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 --- Comment #6 from Jakub Jelinek --- So your patch is effectively revesal of PR48885. But then we need some other fix for it.

[Bug libstdc++/78870] Support std::filesystem on Windows

2017-02-16 Thread jhasse at bixense dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870 --- Comment #8 from Jan Niklas Hasse --- I'm not interested in doing all this work again from scratch, especially since working with the Windows API is a pain.

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

2017-02-16 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79541 --- Comment #1 from Vladimir Makarov --- Thank you, Bernd. I've reproduced the bug and started to work on it.

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

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

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

2017-02-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79556 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2017-02-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79556 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Target

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread katsunori.kumatani at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 --- Comment #3 from Katsunori Kumatani --- (In reply to Uroš Bizjak from comment #1) > (In reply to Katsunori Kumatani from comment #0) > > > Things to note: > > > > This happens on GCC 6 and up to 7 only, GCC 5.4 generates correct output. > >

[Bug c/79554] Zero length format string passed to fprintf under if statement causes error message

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

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 --- Comment #4 from Richard Biener --- Ah... FOR_EACH_IMM_USE_STMT (use_stmt, ui, ptr) { /* ??? Calls and asms. */ if (!gimple_assign_single_p (use_stmt)) continue; and at PTA

[Bug c++/79555] [7 Regression] Warning 'base class should be explicitly initialized in the copy constructor' issued in wrong case

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

[Bug fortran/79553] Infinite gfortran loop on invalid code with procedures parameters

2017-02-16 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79553 --- Comment #2 from Dominique d'Humieres --- With trunk (7.0, r244467) I get pr79553.f90:7:30: subroutine procname(a) 1 Error: Symbol 'procname' at (1) already has an explicit interface pr79553.f90:8:25:

[Bug c++/79557] New: ICE in ipa_modify_formal_parameters, at ipa-prop.c:3979

2017-02-16 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79557 Bug ID: 79557 Summary: ICE in ipa_modify_formal_parameters, at ipa-prop.c:3979 Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal

[Bug c/79558] New: ICE: Segfault in ubsan_type_descriptor, at ubsan.c:412

2017-02-16 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79558 Bug ID: 79558 Summary: ICE: Segfault in ubsan_type_descriptor, at ubsan.c:412 Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3

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

2017-02-16 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79541 --- Comment #2 from Vladimir Makarov --- The bug is not severe. It occurs only when wrong asm occurs. This asm is transformed into an USE and all its data is invalidated. If an insn is inserted before the USE we take a garbage as the offset

[Bug c++/78572] [6 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4968

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

[Bug c++/79050] [5/6 Regression] ICE: tree code 'template_type_parm' is not supported in LTO streams

2017-02-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79050 Jason Merrill changed: What|Removed |Added Summary|[5/6/7 Regression] ICE: |[5/6 Regression] ICE: tree

  1   2   >