[Bug sanitizer/71962] New: error: ‘((& x) != 0u)’ is not a constant expression

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71962 Bug ID: 71962 Summary: error: ‘((& x) != 0u)’ is not a constant expression Product: gcc Version: 6.1.1 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug c/71963] New: Showing incompatible type when types are same.

2016-07-21 Thread sinu.nayak2001 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71963 Bug ID: 71963 Summary: Showing incompatible type when types are same. Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/71728] [5/6/7 Regression] ICE with goto in statement-expression inside a condition

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71728 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Jul 21 18:22:32 2016 New Revision: 238601 URL: https://gcc.gnu.org/viewcvs?rev=238601=gcc=rev Log: PR c++/71728 * constexpr.c (potential_constant_expression_1) :

[Bug fortran/71883] [5/6/7 Regression] ICE in identical_array_ref, at fortran/dependency.c:104

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71883 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |5.5

[Bug tree-optimization/50417] [4.9/5/6/7 regression]: memcpy with known alignment

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50417 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.9.4 Summary|regression:

[Bug middle-end/71876] longjmp is miscompiled with -ffreestanding

2016-07-21 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71876 --- Comment #13 from Bernd Edlinger --- Author: edlinger Date: Thu Jul 21 19:11:26 2016 New Revision: 238606 URL: https://gcc.gnu.org/viewcvs?rev=238606=gcc=rev Log: 016-07-21 Bernd Edlinger PR

[Bug c++/71728] [5/6/7 Regression] ICE with goto in statement-expression inside a condition

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71728 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Jul 21 18:24:48 2016 New Revision: 238602 URL: https://gcc.gnu.org/viewcvs?rev=238602=gcc=rev Log: PR c++/71728 * constexpr.c (potential_constant_expression_1) :

[Bug c++/71848] [7 Regression] libstdc++ testsuite error on AIX

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71848 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0

[Bug fortran/71961] [7 Regression] 178.galgel in SPEC CPU 2000 is miscompiled

2016-07-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug middle-end/71876] longjmp is miscompiled with -ffreestanding

2016-07-21 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71876 --- Comment #12 from Bernd Edlinger --- Author: edlinger Date: Thu Jul 21 19:06:02 2016 New Revision: 238605 URL: https://gcc.gnu.org/viewcvs?rev=238605=gcc=rev Log: 016-07-21 Bernd Edlinger PR

[Bug libstdc++/71945] Integer overflow in use counter of shared pointers

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71945 --- Comment #1 from Jonathan Wakely --- You also get undefined behaviour at 2bn objects when the signed _Atomic_word overflows, and the weak count can also be forced to overflow. Doing so requires allocating tens of GB of shared_ptr objects

[Bug fortran/31190] minimum field width list-directed output

2016-07-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31190 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/71961] New: [7 Regression] 178.galgel in SPEC CPU 2000 is miscompiled

2016-07-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 Bug ID: 71961 Summary: [7 Regression] 178.galgel in SPEC CPU 2000 is miscompiled Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/71953] ICE using address sanitizers with PCH

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71953 --- Comment #7 from Jonathan Wakely --- This fixes the v3 testsuite with asan, thanks.

[Bug c++/71913] [5/6/7 Regression] Missing copy elision with operator new

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71913 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/71728] [5 Regression] ICE with goto in statement-expression inside a condition

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71728 Jakub Jelinek changed: What|Removed |Added Known to work||6.2.0, 7.0 Summary|[5/6/7

[Bug fortran/71730] [5/6/7 Regression] ICE when character length specification uses an undefined variable

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71730 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |5.5

[Bug c++/71756] [5/6/7 Regression] internal compiler error: in ~saved_token_sentinel, at cp/parser.c:1228

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71756 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/71274] [5/6/7 Regression] deprecated static const member of struct raises warning without use

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71274 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/71964] New: Move constructor of std::set does not move allocator

2016-07-21 Thread rbd at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71964 Bug ID: 71964 Summary: Move constructor of std::set does not move allocator Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/71630] [5/6/7 Regression] ICE on valid C++14 code with variable templates: in get, at cgraph.h:395

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71630 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/40411] -std=c99 does not enable c99 mode in Solaris C library

2016-07-21 Thread norm.jacobs at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 Norm Jacobs changed: What|Removed |Added CC||norm.jacobs at oracle dot com --- Comment

[Bug c++/69223] [5/6/7 regression] ICE with polymorphic lambda

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69223 --- Comment #6 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:51:22 2016 New Revision: 238630 URL: https://gcc.gnu.org/viewcvs?rev=238630=gcc=rev Log: PR c++/69223 - ICE with deduced template return type. *

[Bug c++/71630] [5/6/7 Regression] ICE on valid C++14 code with variable templates: in get, at cgraph.h:395

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71630 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:51:15 2016 New Revision: 238629 URL: https://gcc.gnu.org/viewcvs?rev=238629=gcc=rev Log: PR c++/71630 - extern variable template * pt.c (instantiate_decl):

[Bug c++/71913] [5/6/7 Regression] Missing copy elision with operator new

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71913 --- Comment #7 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:51:07 2016 New Revision: 238628 URL: https://gcc.gnu.org/viewcvs?rev=238628=gcc=rev Log: PR c++/71913 - missing copy elision with new. * call.c

[Bug c++/69223] [5/6/7 regression] ICE with polymorphic lambda

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69223 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71913] [5/6/7 Regression] Missing copy elision with operator new

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71913 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:41:44 2016 New Revision: 238619 URL: https://gcc.gnu.org/viewcvs?rev=238619=gcc=rev Log: PR c++/71913 - missing copy elision with new. * call.c

[Bug c++/71630] [5/6/7 Regression] ICE on valid C++14 code with variable templates: in get, at cgraph.h:395

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71630 --- Comment #2 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:45:43 2016 New Revision: 238622 URL: https://gcc.gnu.org/viewcvs?rev=238622=gcc=rev Log: PR c++/71630 - extern variable template * pt.c (instantiate_decl):

[Bug c++/71274] [5/6/7 Regression] deprecated static const member of struct raises warning without use

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71274 --- Comment #2 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:45:48 2016 New Revision: 238623 URL: https://gcc.gnu.org/viewcvs?rev=238623=gcc=rev Log: PR c++/71274 - deprecated warning without use. * decl2.c

[Bug c++/71913] [5/6/7 Regression] Missing copy elision with operator new

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71913 --- Comment #5 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:45:37 2016 New Revision: 238621 URL: https://gcc.gnu.org/viewcvs?rev=238621=gcc=rev Log: PR c++/71913 - missing copy elision with new. * call.c

[Bug c++/71913] [5/6/7 Regression] Missing copy elision with operator new

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71913 --- Comment #6 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:46:41 2016 New Revision: 238625 URL: https://gcc.gnu.org/viewcvs?rev=238625=gcc=rev Log: PR c++/71913 - missing copy elision with new. * call.c

[Bug c++/69223] [5/6/7 regression] ICE with polymorphic lambda

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69223 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:45:54 2016 New Revision: 238624 URL: https://gcc.gnu.org/viewcvs?rev=238624=gcc=rev Log: PR c++/69223 - ICE with deduced template return type. *

[Bug c++/71630] [5/6/7 Regression] ICE on valid C++14 code with variable templates: in get, at cgraph.h:395

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71630 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:46:49 2016 New Revision: 238626 URL: https://gcc.gnu.org/viewcvs?rev=238626=gcc=rev Log: PR c++/71630 - extern variable template * pt.c (instantiate_decl):

[Bug c++/71913] [5/6/7 Regression] Missing copy elision with operator new

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71913 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71630] [5/6/7 Regression] ICE on valid C++14 code with variable templates: in get, at cgraph.h:395

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71630 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/69223] [5/6/7 regression] ICE with polymorphic lambda

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69223 --- Comment #8 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:57:43 2016 New Revision: 238631 URL: https://gcc.gnu.org/viewcvs?rev=238631=gcc=rev Log: PR c++/69223 - ICE with deduced template return type. *

[Bug c++/71561] [5/6/7 Regression] ICE with -Wall on valid C++ code on x86_64-linux-gnu: in potential_constant_expression_1, at cp/constexpr.c:5249

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71561 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/71728] [5 Regression] ICE with goto in statement-expression inside a condition

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71728 Jason Merrill changed: What|Removed |Added CC||su at cs dot ucdavis.edu --- Comment #7

[Bug c++/71774] [4.9/5/6/7 regression] Bogus "is protected" error when list-initializing a base class with a defaulted protected constructor and a virtual function

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71774 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/71154] Attributes for an explicit template instantiation are ignored

2016-07-21 Thread abbeyj+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71154 --- Comment #3 from James Abbatiello --- Andrew Pinsky, I'm not sure I understand your comment. Why would the visibility of D be affected by the visibility of C? If I change your test case so that C is declared as

[Bug c++/69223] [5/6/7 regression] ICE with polymorphic lambda

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69223 --- Comment #5 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:46:54 2016 New Revision: 238627 URL: https://gcc.gnu.org/viewcvs?rev=238627=gcc=rev Log: PR c++/69223 - ICE with deduced template return type. *

[Bug c++/71274] [5/6 Regression] deprecated static const member of struct raises warning without use

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71274 Jason Merrill changed: What|Removed |Added Summary|[5/6/7 Regression] |[5/6 Regression] deprecated

[Bug c++/67579] [concepts] Memoization for constraint expressions

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67579 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67579, which changed state. Bug 67579 Summary: [concepts] Memoization for constraint expressions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67579 What|Removed |Added

[Bug tree-optimization/71947] [6/7 Regression] x ^ y not folded to 0 if x == y by DOM

2016-07-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71947 --- Comment #4 from Richard Biener --- Now the testcase is optimized at -O2 by VRP but still not at -O1.

[Bug libstdc++/66145] [5/6/7 Regression] std::ios_base::failure objects thrown from libstdc++.so use old ABI

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 --- Comment #25 from Jonathan Wakely --- (In reply to Boris Kolpackov from comment #24) > Some more speculation/crazy ideas about the potential fix: > > If just throwing the new version and forgetting about the old one is an > option, then

[Bug libstdc++/66145] [5/6/7 Regression] std::ios_base::failure objects thrown from libstdc++.so use old ABI

2016-07-21 Thread boris at kolpackov dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 --- Comment #24 from Boris Kolpackov --- Some more speculation/crazy ideas about the potential fix: If just throwing the new version and forgetting about the old one is an option, then perhaps we could "de-inherit" old from std::exception and

[Bug c++/67565] [concepts] Very slow compile time and high memory usage with complex concept definitions, even if unused

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67565 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

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

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67565, which changed state. Bug 67565 Summary: [concepts] Very slow compile time and high memory usage with complex concept definitions, even if unused https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67565 What

[Bug c++/70932] flexible array member with non-trivial destructor

2016-07-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70932 --- Comment #5 from Martin Sebor --- (In reply to Paul Wankadia from comment #3) > Is this likely to be the same issue even though std::atomic should have > a trivial destructor for all T? No, that's bug 71147, fixed in 7.0 and 6.x.

[Bug c++/71147] [6 Regression] Flexible array member wrongly rejected in template

2016-07-21 Thread junyer at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71147 Paul Wankadia changed: What|Removed |Added CC||junyer at google dot com --- Comment #8

[Bug libstdc++/66145] [5/6/7 Regression] std::ios_base::failure objects thrown from libstdc++.so use old ABI

2016-07-21 Thread boris at kolpackov dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 --- Comment #26 from Boris Kolpackov --- > If breaking the old ABI was an option we wouldn't be in this situation in the > first place. By throwing the new version you are breaking the ABI. The point I was trying to make is that maybe in this

[Bug c++/71946] asm in toplevel lambda function rejected

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946 Andrew Pinski changed: What|Removed |Added Target Milestone|4.9.4 |--- Summary|FD_ZERO macro

[Bug c++/67565] [concepts] Very slow compile time and high memory usage with complex concept definitions, even if unused

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67565 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:18:06 2016 New Revision: 238577 URL: https://gcc.gnu.org/viewcvs?rev=238577=gcc=rev Log: Improving concepts performance and diagnostics. PR c++/67565

[Bug c++/71843] [concepts] Diagnostics issued for constraint satisfaction failure fail to elucidate unsatisfied constraints

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71843 --- Comment #3 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:18:06 2016 New Revision: 238577 URL: https://gcc.gnu.org/viewcvs?rev=238577=gcc=rev Log: Improving concepts performance and diagnostics. PR c++/67565

[Bug c++/67579] [concepts] Memoization for constraint expressions

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67579 --- Comment #2 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:18:06 2016 New Revision: 238577 URL: https://gcc.gnu.org/viewcvs?rev=238577=gcc=rev Log: Improving concepts performance and diagnostics. PR c++/67565

[Bug sanitizer/71953] ICE using sanitizers with PCH

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71953 --- Comment #1 from Andrew Pinski --- Looks like this might be a regression because of the other bug you filed PR 60745 which was fixed.

[Bug c++/67565] [concepts] Very slow compile time and high memory usage with complex concept definitions, even if unused

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67565 --- Comment #3 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:05:24 2016 New Revision: 238558 URL: https://gcc.gnu.org/viewcvs?rev=238558=gcc=rev Log: Improving concepts performance and diagnostics. PR c++/67565

[Bug libgomp/71941] [6/7 Regression] ICE with OpenMP tasks and queue

2016-07-21 Thread thakkinen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71941 thakkinen at gmail dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/71121] [6/7 Regression] Spurious warning: "the address of [...] will never be NULL [-Waddress]"

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71121 --- Comment #2 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:05:33 2016 New Revision: 238559 URL: https://gcc.gnu.org/viewcvs?rev=238559=gcc=rev Log: PR c++/71121 - -Waddress, constexpr, and PMFs. * cp-gimplify.c

[Bug c++/71843] [concepts] Diagnostics issued for constraint satisfaction failure fail to elucidate unsatisfied constraints

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71843 --- Comment #2 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:05:24 2016 New Revision: 238558 URL: https://gcc.gnu.org/viewcvs?rev=238558=gcc=rev Log: Improving concepts performance and diagnostics. PR c++/67565

[Bug c++/67579] [concepts] Memoization for constraint expressions

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67579 --- Comment #1 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:05:24 2016 New Revision: 238558 URL: https://gcc.gnu.org/viewcvs?rev=238558=gcc=rev Log: Improving concepts performance and diagnostics. PR c++/67565

[Bug c++/65168] diagnostic: missing: reference cannot be bound to dereferenced null pointer

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65168 --- Comment #16 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:05:39 2016 New Revision: 238560 URL: https://gcc.gnu.org/viewcvs?rev=238560=gcc=rev Log: PR c++/65168 - -Waddress in unevaluated context. gcc/c-family/ *

[Bug c++/71896] [6/7 Regression] Constexpr function with pointer to member parameter doesn't return constexpr value

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71896 --- Comment #3 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:05:51 2016 New Revision: 238562 URL: https://gcc.gnu.org/viewcvs?rev=238562=gcc=rev Log: PR c++/71896 - constexpr pointer-to-member comparison. *

[Bug c++/71814] [6/7 Regression] ICE on valid C++11 code: in write_type, at cp/mangle.c:2158

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71814 --- Comment #3 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:15:04 2016 New Revision: 238567 URL: https://gcc.gnu.org/viewcvs?rev=238567=gcc=rev Log: PR c++/71814 - mangling sizeof... with alias templates (sP) gcc/cp/

[Bug c++/71711] [6/7 Regression] ICE on valid C++1z code with fold expression: tree check: expected tree_vec, have expr_pack_expansion in tsubst_unary_left_fold, at cp/pt.c:10792

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71711 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:15:23 2016 New Revision: 238568 URL: https://gcc.gnu.org/viewcvs?rev=238568=gcc=rev Log: PR c++/71711 - mangle C++1z fold-expressions. gcc/cp/ *

[Bug c++/54430] [C++11] For-Loop: Scope of iterating variable begins too early

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54430 --- Comment #12 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:15:43 2016 New Revision: 238569 URL: https://gcc.gnu.org/viewcvs?rev=238569=gcc=rev Log: PR c++/71604 - type definition in range-based for PR c++/54430

[Bug c++/71718] [6/7 Regression] ICE on erroneous recursive template error printing

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71718 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:14:57 2016 New Revision: 238566 URL: https://gcc.gnu.org/viewcvs?rev=238566=gcc=rev Log: PR c++/71718 - infinite recursion and alias template * pt.c

[Bug c++/71604] [6/7 Regression] ICE on valid C++11 code with range-based for loop: in pop_binding, at cp/name-lookup.c:376

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71604 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:15:43 2016 New Revision: 238569 URL: https://gcc.gnu.org/viewcvs?rev=238569=gcc=rev Log: PR c++/71604 - type definition in range-based for PR c++/54430

[Bug c++/70824] [6/7 Regression] cc1plus consumes all available memory on specific template code

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70824 --- Comment #7 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:14:51 2016 New Revision: 238565 URL: https://gcc.gnu.org/viewcvs?rev=238565=gcc=rev Log: PR c++/70824 - initializer_list in template * init.c

[Bug c++/71946] asm in toplevel lambda function rejected

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946 --- Comment #6 from Andrew Pinski --- I suspect parser->in_function_body is not being set in lambda functions. Most likely because statement expressions are also rejected for the same reason: auto test = []{ int t = ({ int t1; t1 = 0; t1; });

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #9 from Andrew Pinski --- (In reply to Nadav Har'El from comment #8) > This issue was closed as supposedly it only affects Firefox's build. It > definitely does not - it affects any project which attempts to replace the C > header

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-07-21 Thread nyh at math dot technion.ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 Nadav Har'El changed: What|Removed |Added CC||nyh at math dot technion.ac.il ---

[Bug c++/71896] [6/7 Regression] Constexpr function with pointer to member parameter doesn't return constexpr value

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71896 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70781] [6/7 Regression] ICE on invalid C++ code with lambda expressions on x86_64-linux-gnu in finish_expr_stmt, at cp/semantics.c:677

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70781 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71718] [6/7 Regression] ICE on erroneous recursive template error printing

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71718 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71121] [6 Regression] Spurious warning: "the address of [...] will never be NULL [-Waddress]"

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71121 Jason Merrill changed: What|Removed |Added Summary|[6/7 Regression] Spurious |[6 Regression] Spurious

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-07-21 Thread nyh at math dot technion.ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #10 from Nadav Har'El --- There is nothing "holy" about glibc, and nothing "broken" about wanting to replace it (or, as Firefox did, only a part of it). Sure, the replacement needs to be 100% compatible with glibc, and if it isn't,

[Bug c++/70822] [6 Regression] bogus "error: lvalue required as unary ‘&’ operand" with C++14 parenthesized SCOPE_REF

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70822 --- Comment #5 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:29:32 2016 New Revision: 238578 URL: https://gcc.gnu.org/viewcvs?rev=238578=gcc=rev Log: Fix PR c++/70822 (bogus error with parenthesized SCOPE_REF) gcc/cp/ChangeLog:

[Bug c++/70106] [4.9/5 Regression][C++11 or above] adding parenthesis [cerr << (var)] cause error: invalid static_cast from type 'const size_t {aka const long unsigned int}' to type 'size_t& {aka long

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70106 --- Comment #8 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:29:32 2016 New Revision: 238578 URL: https://gcc.gnu.org/viewcvs?rev=238578=gcc=rev Log: Fix PR c++/70822 (bogus error with parenthesized SCOPE_REF) gcc/cp/ChangeLog:

[Bug sanitizer/71953] ICE using address sanitizers with PCH

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71953 Andrew Pinski changed: What|Removed |Added Summary|ICE using sanitizers with |ICE using address

[Bug c++/71946] FD_ZERO macro parsing error in lambda function.

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946 --- Comment #2 from Andrew Pinski --- Works for me on aarch64-linux-gnu with: GNU C++14 (GCC) version 7.0.0 20160717 (experimental) (aarch64-unknown-linux-gnu) Maybe provide a preprocessed source which fails. For me it expands to: # 6 "t.c" 3

[Bug c++/71946] FD_ZERO macro parsing error in lambda function.

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946 --- Comment #4 from Andrew Pinski --- Yep # if __WORDSIZE == 64 # define __FD_ZERO_STOS "stosq" # else # define __FD_ZERO_STOS "stosl" # endif # define __FD_ZERO(fdsp) \ do {

[Bug c++/70942] [6/7 Regression] [c++14] Incorrect deduction of generic lambda `auto&&` parameter

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70942 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:05:44 2016 New Revision: 238561 URL: https://gcc.gnu.org/viewcvs?rev=238561=gcc=rev Log: PR c++/70942 - generic lambda with auto&& parameter. *

[Bug c++/70781] [6/7 Regression] ICE on invalid C++ code with lambda expressions on x86_64-linux-gnu in finish_expr_stmt, at cp/semantics.c:677

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70781 --- Comment #3 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:05:58 2016 New Revision: 238563 URL: https://gcc.gnu.org/viewcvs?rev=238563=gcc=rev Log: PR c++/70781 - ICE on ill-formed lambda. * parser.c

[Bug c++/71511] [6/7 Regression] ICE on valid C++11 code (with decltype) on x86_64-linux-gnu: in cxx_incomplete_type_diagnostic, at cp/typeck2.c:567

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71511 Jason Merrill changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code

[Bug c++/71513] [6/7 Regression] ICE on valid C++11 code (with alignas specifier) on x86_64-linux-gnu: Segmentation fault

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71513 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71117] [6/7 Regression] Overeager application of conversion to function pointer during overload resolution of call to function object

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71117 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71092] [6/7 Regression] ICE: in cxx_eval_call_expression, at cp/constexpr.c:1449; only with -Os

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71092 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70822] [6 Regression] bogus "error: lvalue required as unary ‘&’ operand" with C++14 parenthesized SCOPE_REF

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70822 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/70781] [6/7 Regression] ICE on invalid C++ code with lambda expressions on x86_64-linux-gnu in finish_expr_stmt, at cp/semantics.c:677

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70781 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:16:30 2016 New Revision: 238576 URL: https://gcc.gnu.org/viewcvs?rev=238576=gcc=rev Log: PR c++/70781 - ICE on ill-formed lambda. * parser.c

[Bug c++/71896] [6/7 Regression] Constexpr function with pointer to member parameter doesn't return constexpr value

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71896 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:16:24 2016 New Revision: 238575 URL: https://gcc.gnu.org/viewcvs?rev=238575=gcc=rev Log: PR c++/71896 - constexpr pointer-to-member comparison. *

[Bug c++/71117] [6/7 Regression] Overeager application of conversion to function pointer during overload resolution of call to function object

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71117 --- Comment #6 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:16:11 2016 New Revision: 238573 URL: https://gcc.gnu.org/viewcvs?rev=238573=gcc=rev Log: PR c++/71117 - core 2189 and generic lambda * call.c

[Bug c++/71495] [6/7 Regression] Spurious "note: initializing argument ... of ..." without any warning/error

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71495 --- Comment #5 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:16:04 2016 New Revision: 238572 URL: https://gcc.gnu.org/viewcvs?rev=238572=gcc=rev Log: PR c++/71495 - spurious note during SFINAE. * call.c

[Bug c++/71092] [6/7 Regression] ICE: in cxx_eval_call_expression, at cp/constexpr.c:1449; only with -Os

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71092 --- Comment #10 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:16:17 2016 New Revision: 238574 URL: https://gcc.gnu.org/viewcvs?rev=238574=gcc=rev Log: PR c++/71092 - ICE with array and constexpr. * constexpr.c

[Bug c++/71511] [6/7 Regression] ICE on valid C++11 code (with decltype) on x86_64-linux-gnu: in cxx_incomplete_type_diagnostic, at cp/typeck2.c:567

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71511 --- Comment #5 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:15:58 2016 New Revision: 238571 URL: https://gcc.gnu.org/viewcvs?rev=238571=gcc=rev Log: PR c++/71511 - ICE on decltype scope in declaration. * typeck2.c

[Bug c++/71513] [6/7 Regression] ICE on valid C++11 code (with alignas specifier) on x86_64-linux-gnu: Segmentation fault

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71513 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Jul 21 06:15:51 2016 New Revision: 238570 URL: https://gcc.gnu.org/viewcvs?rev=238570=gcc=rev Log: PR c++/71513 - alignas on member enum in template * pt.c

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-07-21 Thread nyh at math dot technion.ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #11 from Nadav Har'El --- By the way, I think I made a mistake in my comment and -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS is not actually needed. The thing is that header files like have: #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS

[Bug c++/71946] FD_ZERO macro parsing error in lambda function.

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946 --- Comment #3 from Andrew Pinski --- Looks like x86 has a special select.h in glibc :).

[Bug c++/71814] [6/7 Regression] ICE on valid C++11 code: in write_type, at cp/mangle.c:2158

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71814 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

  1   2   >