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

2016-07-20 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&root=gcc&view=rev Log: PR c++/71121 - -Waddress, constexpr, and PMFs. * cp-gimpl

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

2016-07-20 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&root=gcc&view=rev Log: Improving concepts performance and diagnostics. PR c++/67

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

2016-07-20 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&root=gcc&view=rev Log: Improving concepts performance and diagnostics. PR c++/67

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

2016-07-20 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&root=gcc&view=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-20 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&root=gcc&view=rev Log: PR c++/71896 - constexpr pointer-to-member comparison. *

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

2016-07-20 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&root=gcc&view=rev Log: PR c++/70942 - generic lambda with auto&& parameter. * g+

[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-20 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&root=gcc&view=rev Log: PR c++/70781 - ICE on ill-formed lambda. * parser.c (cp_p

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

2016-07-20 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++/71946] asm in toplevel lambda function rejected

2016-07-20 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 par

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

2016-07-20 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 --- Commen

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

2016-07-20 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&root=gcc&view=rev Log: PR c++/70824 - initializer_list in template * init.c (con

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

2016-07-20 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&root=gcc&view=rev Log: PR c++/71814 - mangling sizeof... with alias templates (sP) gcc/c

[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-20 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&root=gcc&view=rev Log: PR c++/71711 - mangle C++1z fold-expressions. gcc/cp/ * o

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

2016-07-20 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&root=gcc&view=rev Log: PR c++/71604 - type definition in range-based for PR c++

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

2016-07-20 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&root=gcc&view=rev Log: PR c++/71718 - infinite recursion and alias template * pt

[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-20 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&root=gcc&view=rev Log: PR c++/71604 - type definition in range-based for PR c++/

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

2016-07-20 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 c++/71495] [6/7 Regression] Spurious "note: initializing argument ... of ..." without any warning/error

2016-07-20 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&root=gcc&view=rev Log: PR c++/71495 - spurious note during SFINAE. * call.c (con

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

2016-07-20 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&root=gcc&view=rev Log: PR c++/71092 - ICE with array and constexpr. * constexpr

[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-20 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&root=gcc&view=rev Log: PR c++/70781 - ICE on ill-formed lambda. * parser.c (cp_p

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

2016-07-20 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&root=gcc&view=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-20 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&root=gcc&view=rev Log: PR c++/71117 - core 2189 and generic lambda * call.c (add

[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-20 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&root=gcc&view=rev Log: PR c++/71511 - ICE on decltype scope in declaration. * ty

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

2016-07-20 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&root=gcc&view=rev Log: PR c++/71513 - alignas on member enum in template * pt.c

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

2016-07-20 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&root=gcc&view=rev Log: Improving concepts performance and diagnostics. PR c++/67

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

2016-07-20 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&root=gcc&view=rev Log: Improving concepts performance and diagnostics. PR c++/67

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

2016-07-20 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&root=gcc&view=rev Log: Improving concepts performance and diagnostics. PR c++/67

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

2016-07-20 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 fil

[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-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71604 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[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-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71711 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2016-07-20 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|---

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

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

[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-20 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 Status|A

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

2016-07-20 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-20 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-20 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++/71896] [6/7 Regression] Constexpr function with pointer to member parameter doesn't return constexpr value

2016-07-20 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++/71121] [6 Regression] Spurious warning: "the address of [...] will never be NULL [-Waddress]"

2016-07-20 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 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-20 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-20 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++/70824] [6/7 Regression] cc1plus consumes all available memory on specific template code

2016-07-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70824 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-20 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++/70822] [6 Regression] bogus "error: lvalue required as unary ‘&’ operand" with C++14 parenthesized SCOPE_REF

2016-07-20 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&root=gcc&view=rev Log: Fix PR c++/70822 (bogus error with parenthesized SCOPE_REF) gcc/cp/Change

[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-20 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&root=gcc&view=rev Log: Fix PR c++/70822 (bogus error with parenthesized SCOPE_REF) gcc/cp/Change

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

2016-07-20 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, th

[Bug sanitizer/71953] ICE using sanitizers with PCH

2016-07-20 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 sanitizer/71953] ICE using address sanitizers with PCH

2016-07-20 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 |PCH

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

2016-07-20 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 #include_ne

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

2016-07-20 Thread yury.zaytsev at traveltainment dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71495 --- Comment #7 from Yury V. Zaytsev --- Excellent work! I will try the next version of g++-6 on our project again as soon as it hits the toolchain test repository for Ubuntu. Many thanks for taking care of it!

<    1   2