[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!

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

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

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

[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 #3 from Andrew Pinski --- Looks like x86 has a special select.h in glibc :).

[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 #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 4

[Bug c++/71463] [6/7 regression] unexpected warning: ignoring function return attributes on template argument

2016-07-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71463 --- Comment #9 from Jason Merrill --- (In reply to Milian Wolff from comment #8) > As an interested bystander, may I ask: If the attribute is part of the type, > shouldn't it then be transferred via decltype() and then also used in the > template

[Bug c++/71954] New: template partial specialization for constexpr error

2016-07-20 Thread liweifriends at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71954 Bug ID: 71954 Summary: template partial specialization for constexpr error Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/71463] [6/7 regression] unexpected warning: ignoring function return attributes on template argument

2016-07-20 Thread mail at milianw dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71463 --- Comment #8 from Milian Wolff --- As an interested bystander, may I ask: If the attribute is part of the type, shouldn't it then be transferred via decltype() and then also used in the template to trigger the warning there? To me, the example

[Bug sanitizer/71953] New: ICE using sanitizers with PCH

2016-07-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71953 Bug ID: 71953 Summary: ICE using sanitizers with PCH Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3

[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|NEW |ASSIGNED Assignee|unassigned a

[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|NEW |ASSIGNED Assignee|unassigned a

[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 CC||vittorio.romeo at outlook dot com --- C

[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 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/70845] [6/7 Regression] inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing

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

[Bug c++/70972] [6 Regression] Inheriting constructors taking parameters by value should move them, not copy

2016-07-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70972 Jason Merrill changed: What|Removed |Added CC||tuwwcn at gmail dot com --- Comment #9 f

[Bug c++/54367] [meta-bug] lambda expressions

2016-07-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 70942, which changed state. Bug 70942 Summary: [6/7 Regression] [c++14] Incorrect deduction of generic lambda `auto&&` parameter https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70942 What|Removed

[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 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/71952] New: [Coarray, F2008] Rejects valid coarray access with array partref

2016-07-20 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71952 Bug ID: 71952 Summary: [Coarray, F2008] Rejects valid coarray access with array partref Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

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

2016-07-20 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71876 --- Comment #11 from Bernd Edlinger --- (In reply to Jeffrey A. Law from comment #10) > No opinion on the "x" prefix. I think that was already in place when that > code was updated to support qsetjmp and savectx in the early 90s. I've > never s

[Bug libstdc++/37475] [DR 382] codecvt::do_in/do_out functions return "ok" when the output sequence has zero length

2016-07-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37475 --- Comment #4 from Jonathan Wakely --- Oops, I meant 382 is NAD http://cplusplus.github.io/LWG/lwg-closed.html#382 I'm not sure what (if anything) we need to do here though, someone needs to re-analyze.

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

2016-07-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 --- Comment #23 from Jonathan Wakely --- (In reply to Boris Kolpackov from comment #21) > Speaking of possible fixes, I had this crazy idea, not sure if it is > technically possible though: what if libstdc++ throws some custom exception > that de

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

2016-07-20 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71876 --- Comment #10 from Jeffrey A. Law --- No opinion on the "x" prefix. I think that was already in place when that code was updated to support qsetjmp and savectx in the early 90s. I've never seen the "x" versions in practice. ANd yes, you're r

[Bug libgcc/71951] libgcc_s built with -fomit-frame-pointer on aarch64 is broken

2016-07-20 Thread timo.teras at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71951 --- Comment #7 from Timo Teräs --- (In reply to Andrew Pinski from comment #6) > (In reply to Timo Teräs from comment #5) > > Not easily. It's musl, and using iterate phdr. Same build script works on > > x86, x86_64 and armhf. It's only aarch64 m

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

2016-07-20 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71876 --- Comment #9 from Bernd Edlinger --- (In reply to Jeffrey A. Law from comment #8) > Light searching doesn't find anything useful for setjmp_syscall. > > savectx however still shows up in a variety of solaris searches. In fact, > you can find

[Bug c/70339] Poor message for "singed" vs "signed" typo

2016-07-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70339 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Wed Jul 20 18:42:11 2016 New Revision: 238538 URL: https://gcc.gnu.org/viewcvs?rev=238538&root=gcc&view=rev Log: C++ FE: handle misspelled identifiers and typenames gcc/cp/ChangeLog:

[Bug c/71858] Surprising suggestions for misspellings

2016-07-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71858 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Wed Jul 20 18:42:11 2016 New Revision: 238538 URL: https://gcc.gnu.org/viewcvs?rev=238538&root=gcc&view=rev Log: C++ FE: handle misspelled identifiers and typenames gcc/cp/ChangeLog:

[Bug libgcc/71951] libgcc_s built with -fomit-frame-pointer on aarch64 is broken

2016-07-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71951 --- Comment #6 from Andrew Pinski --- (In reply to Timo Teräs from comment #5) > Not easily. It's musl, and using iterate phdr. Same build script works on > x86, x86_64 and armhf. It's only aarch64 misbehaving like this with omit > frame pointer.

[Bug c++/62096] unexpected warning overflow in implicit constant conversion

2016-07-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62096 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Resolut

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

2016-07-20 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71876 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #8 fr

[Bug libgcc/71951] libgcc_s built with -fomit-frame-pointer on aarch64 is broken

2016-07-20 Thread timo.teras at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71951 --- Comment #5 from Timo Teräs --- Not easily. It's musl, and using iterate phdr. Same build script works on x86, x86_64 and armhf. It's only aarch64 misbehaving like this with omit frame pointer. Any other suggestions what to try/how to debug fu

[Bug libgcc/71951] libgcc_s built with -fomit-frame-pointer on aarch64 is broken

2016-07-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71951 --- Comment #4 from Andrew Pinski --- Can you try this on a glibc instead musl?

[Bug libgcc/71951] libgcc_s built with -fomit-frame-pointer on aarch64 is broken

2016-07-20 Thread timo.teras at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71951 --- Comment #3 from Timo Teräs --- $ cat a.cpp < int foo() { throw "Foo!"; } int main () { try { foo(); }catch (const char* msg) { std::cerr << msg << std::endl; } return 0; } EOF $ gdb a GNU gdb (GDB) 7.11.1 Copyrig

[Bug libgcc/71951] libgcc_s built with -fomit-frame-pointer on aarch64 is broken

2016-07-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71951 --- Comment #2 from Andrew Pinski --- Do you have an example? Because I ran with omit frame pointer all the time.

[Bug libgcc/71951] libgcc_s built with -fomit-frame-pointer on aarch64 is broken

2016-07-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71951 --- Comment #1 from Andrew Pinski --- Unwind code in lib gcc does uses the dwarf2 unwinding tables. So omit frame pointer should not change anything.

[Bug libgcc/71951] New: libgcc_s built with -fomit-frame-pointer on aarch64 is broken

2016-07-20 Thread timo.teras at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71951 Bug ID: 71951 Summary: libgcc_s built with -fomit-frame-pointer on aarch64 is broken Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal

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

2016-07-20 Thread sytelus at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 Shital Shah changed: What|Removed |Added CC||sytelus at gmail dot com --- Comment #22 f

[Bug libstdc++/71950] New: std::ios_base::failure.what() returns irrelevant error message

2016-07-20 Thread sytelus at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71950 Bug ID: 71950 Summary: std::ios_base::failure.what() returns irrelevant error message Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal P

[Bug gcov-profile/69004] Building t-engine on ARM fails during -fprofile-use stage

2016-07-20 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69004 --- Comment #16 from PeteVine --- I've just read 4.9.4 is to be released soon - any chance of landing a fix for this issue?

[Bug c/71949] New: ATOMIC_FLAG_INIT definition in stdatomic.h

2016-07-20 Thread patrick.pelissier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71949 Bug ID: 71949 Summary: ATOMIC_FLAG_INIT definition in stdatomic.h Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

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

2016-07-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71947 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug fortran/71839] undefined reference to `_gfortran_caf_stop_str'

2016-07-20 Thread mexas at bristol dot ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71839 Anton Shterenlikht changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug lto/69866] lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:158

2016-07-20 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69866 Thomas Preud'homme changed: What|Removed |Added Version|5.3.0 |7.0 --- Comment #7 from Thomas Preu

[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|NEW |ASSIGNED CC|

[Bug fortran/71688] [4.9/5/6/7 Regression] ICE in analyze, at cgraphunit.c:632 with -fcoarray=lib

2016-07-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71688 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/71937] out of memory on very large fuction

2016-07-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71937 --- Comment #11 from Markus Trippelsdorf --- The excessive memory usage only happens when compiling without optimizations. Using -O1 it stays below 2 GB, but takes minutes to finish.

[Bug pch/71934] pch cannot be disabled so gcc cannot be position independent

2016-07-20 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71934 Rich Felker changed: What|Removed |Added CC||bugdal at aerifal dot cx --- Comment #4 fr

[Bug tree-optimization/56688] Fortran save statement prevents loop vectorization.

2016-07-20 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56688 --- Comment #7 from Yuri Rumyantsev --- I checked that GCC 7 compiler still does not vectorize loops in thin6d function which is the only hottest function in 200.sixtrack benchmark.

[Bug rtl-optimization/65698] Non-optimal code for simple compare function for x86 32-bit target

2016-07-20 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65698 --- Comment #3 from Yuri Rumyantsev --- I see that this bug was no considered for a while. Here is my additional comment. First of all, this test was extracted from bzip2 benchmark, mainGTU function. The problem is that (1) tree optimizer collect

[Bug middle-end/50060] intrinsics not folded by the middle-end

2016-07-20 Thread pbristow at hetp dot u-net.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060 --- Comment #11 from Paul A. Bristow --- Thanks for all this, which looks helpful, but I am not able to use unreleased compiler versions, so meanwhile I am working to use a workaround (to allow me to see what other pitfalls lie ahead for the novi

[Bug middle-end/50060] intrinsics not folded by the middle-end

2016-07-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/71909] [4.9/5/6/7 Regression] g++ accepts an unreachable function catch block that lacks a corresponding try

2016-07-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71909 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71909] [4.9/5/6/7 Regression] g++ accepts an unreachable function catch block that lacks a corresponding try

2016-07-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71909 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed Jul 20 14:32:46 2016 New Revision: 238527 URL: https://gcc.gnu.org/viewcvs?rev=238527&root=gcc&view=rev Log: PR c++/71909 * parser.c (cp_parser_save_member_function_bo

  1   2   >