[Bug c++/93689] ICE with default argument in lambda used as non type template argument

2020-09-02 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93689 bastien penavayre changed: What|Removed |Added CC||bastien.penavayre at epitech dot e

[Bug c++/93689] ICE with default argument in lambda used as non type template argument

2020-09-02 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93689 --- Comment #7 from bastien penavayre --- somewhat related 93595 ( https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93595 ) is still in UNCONFIRMED state.

[Bug c++/81999] templated lambda in template context: cannot call operator() explicitly with template parameters (expected primary-expression before ...)

2020-09-02 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81999 bastien penavayre changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/96908] New: [c++20] substitution failure if lambda in default template param

2020-09-02 Thread bastien.penavayre at epitech dot eu
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bastien.penavayre at epitech dot eu Target Milestone: --- code: ``` template // 'auto = []{}' would do the same void func() {} template void func2() {} template void f()

[Bug c++/96961] New: ICE default lambda as non-type template with default argument

2020-09-07 Thread bastien.penavayre at epitech dot eu
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bastien.penavayre at epitech dot eu Target Milestone: --- version: g++ (Compiler-Explorer-Build) 11.0.0 20200906 (experimental) error: In instantiation of 'constexpr int in_tem

[Bug c++/93595] New: [c++20] Substitution failure of "auto = []{}" in template parameter list in nested template context

2020-02-05 Thread bastien.penavayre at epitech dot eu
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bastien.penavayre at epitech dot eu Target Milestone: --- godbolt link: https://godbolt.org/z/GC3eVG The following, valid c++20 code, fails

[Bug c++/93595] [c++20] Substitution failure of "auto = []{}" in template parameter list in nested template context

2020-02-07 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93595 --- Comment #1 from bastien penavayre --- Note that this error only occurs with functions/methods template struct ok { template using type = int; template struct otype {}; }; int main() { ok<0>::type<> t; //ok ok<0>::otype<>

[Bug c++/70778] New: internal compiler error: in tsubst, at cp/pt.c:12158

2016-04-24 Thread bastien.penavayre at epitech dot eu
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bastien.penavayre at epitech dot eu Target Milestone: --- Created attachment 38335 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38335&action=edit file compiled with -v -save-temps When compiled the giv

[Bug c++/70778] internal compiler error: in tsubst, at cp/pt.c:12158

2016-04-24 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70778 --- Comment #1 from bastien penavayre --- Created attachment 38336 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38336&action=edit full output of -v -save-temps

[Bug c++/81999] New: templated lambda in template context: cannot call operator() explicitly with template parameters (expected primary-expression before ...)

2017-08-27 Thread bastien.penavayre at epitech dot eu
: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bastien.penavayre at epitech dot eu Target Milestone: --- Created attachment 42054

[Bug c++/81999] templated lambda in template context: cannot call operator() explicitly with template parameters (expected primary-expression before ...)

2017-08-27 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81999 --- Comment #1 from bastien penavayre --- Created attachment 42055 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42055&action=edit compile log with -v

[Bug c++/81999] templated lambda in template context: cannot call operator() explicitly with template parameters (expected primary-expression before ...)

2017-08-27 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81999 --- Comment #2 from bastien penavayre --- the same exact code compiles fine in a non-template context and parse error in one

[Bug c++/82022] New: constexpr lambda in template context: expression ‘’ is not a constant expression

2017-08-29 Thread bastien.penavayre at epitech dot eu
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bastien.penavayre at epitech dot eu Target Milestone: --- Created attachment 42073 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42073&action=edit source c

[Bug c++/82022] constexpr lambda in template context: expression ‘’ is not a constant expression

2017-08-29 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82022 --- Comment #1 from bastien penavayre --- Created attachment 42074 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42074&action=edit log error

[Bug c++/80387] New: G++ get stuck due to decltype over constexpr static function in using declaration

2017-04-10 Thread bastien.penavayre at epitech dot eu
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bastien.penavayre at epitech dot eu Target Milestone: --- Created attachment 41170 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41170&action=edit sour

[Bug c++/80387] G++ get stuck due to decltype over constexpr static function in using declaration

2017-04-10 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80387 bastien penavayre changed: What|Removed |Added CC||bastien.penavayre at epitech dot e

[Bug c++/80387] G++ get stuck due to decltype over constexpr static function in using declaration

2017-04-10 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80387 --- Comment #2 from bastien penavayre --- Created attachment 41172 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41172&action=edit source precompiled after g++ --save-temps

[Bug c++/82643] New: lambda capture breaks constexpr-ness of non-static const constexpr member call on non-constexpr value/variable

2017-10-20 Thread bastien.penavayre at epitech dot eu
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bastien.penavayre at epitech dot eu Target Milestone: --- Created attachment 42426 --> https://gcc.gnu.org/bugzi

[Bug c++/82643] lambda capture breaks constexpr-ness of non-static const constexpr member call on non-constexpr value/variable

2017-10-20 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82643 --- Comment #1 from bastien penavayre --- Comment on attachment 42426 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42426 source code int main() { struct A { constexpr int operator()() const { return 42; } }; auto

[Bug c++/82643] lambda capture breaks constexpr-ness of non-static const constexpr member call on non-constexpr value/variable

2017-10-20 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82643 --- Comment #2 from bastien penavayre --- wrong file attached, see second comment.

[Bug c++/82643] lambda capture breaks constexpr-ness of non-static const constexpr member call on non-constexpr value/variable

2017-10-20 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82643 --- Comment #3 from bastien penavayre --- Created attachment 42427 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42427&action=edit source code

[Bug c/71743] New: return with no value cannot be ignored [Possible regression or undocumented change on https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gcc/Warning-Options.html#Warning-Options]

2016-07-03 Thread bastien.penavayre at epitech dot eu
ptions.html#Warning-Options] Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: bastien.penavayre at epitech dot eu Target

[Bug c/71743] return with no value cannot be ignored [Possible regression or undocumented change on https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gcc/Warning-Options.html#Warning-Options]

2016-07-03 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71743 --- Comment #1 from bastien penavayre --- Created attachment 38824 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38824&action=edit gcc-5 -v test.c -c

[Bug c/71743] return with no value cannot be ignored [Possible regression or undocumented change on https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gcc/Warning-Options.html#Warning-Options]

2016-07-03 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71743 --- Comment #2 from bastien penavayre --- Created attachment 38825 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38825&action=edit gcc-6 -v test.c -c

[Bug c/71743] return with no value cannot be ignored [Possible regression or undocumented change on https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gcc/Warning-Options.html#Warning-Options]

2016-07-03 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71743 --- Comment #3 from bastien penavayre --- Created attachment 38826 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38826&action=edit source file as example

[Bug c++/98500] New: ICE template template parameter with default parameter lambda

2021-01-02 Thread bastien.penavayre at epitech dot eu via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bastien.penavayre at epitech dot eu Target Milestone: --- The following causes an ICE: template struct X {}; template class H = X, class = H<>> struct A { }; static_assert