[Bug c++/95455] ICE in capture with initializer in requires block

2024-04-14 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95455 Egor Pugin changed: What|Removed |Added CC||egor.pugin at gmail dot com --- Comment #6

[Bug c++/114392] New: Address of overloaded function with requires

2024-03-19 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114392 Bug ID: 114392 Summary: Address of overloaded function with requires Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/114271] [ICE] on invalid

2024-03-07 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114271 --- Comment #1 from Egor Pugin --- echo "int f=[](class{" | g++ -x c++ -

[Bug c++/114271] New: [ICE] on invalid

2024-03-07 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114271 Bug ID: 114271 Summary: [ICE] on invalid Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/114106] New: Wrong result of decltype

2024-02-25 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114106 Bug ID: 114106 Summary: Wrong result of decltype Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug pch/105858] MinGW-w64 64-bit build with --libstdcxx-pch: fatal error: cannot write PCH file: required memory segment unavailable

2022-12-23 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105858 --- Comment #6 from Egor Pugin --- Same issue.

[Bug c++/107981] 'operator auto' has not been declared in base

2022-12-05 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107981 --- Comment #2 from Egor Pugin --- Ignore previous comment.

[Bug c++/107981] 'operator auto' has not been declared in base

2022-12-05 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107981 --- Comment #1 from Egor Pugin --- Also see following test cases. === ok for gcc struct a { operator auto(); }; struct b : a { using a::operator auto; }; === not ok for gcc, ok for msvc struct a { operator auto(); }; struct b

[Bug c++/107981] New: 'operator auto' has not been declared in base

2022-12-05 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107981 Bug ID: 107981 Summary: 'operator auto' has not been declared in base Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/99243] [modules] ICE in set_filename, at cp/module.cc:19143

2022-09-16 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99243 --- Comment #5 from Egor Pugin --- Possible naive fix is to change in module.cc (void module_state::set_filename (const Cody::Packet )): - error_at (loc, "unknown Compiled Module Interface: %s", packet.GetString ().c_str

[Bug c++/106685] New: [12/13 Regerssion] ICE

2022-08-19 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106685 Bug ID: 106685 Summary: [12/13 Regerssion] ICE Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug libstdc++/106608] [12 Regression] std::optional requires unavailable dtor

2022-08-14 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106608 --- Comment #3 from Egor Pugin --- Small repro https://godbolt.org/z/WKc7arxMs Probably clang issue.

[Bug libstdc++/106608] [12 Regression] std::optional requires unavailable dtor

2022-08-13 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106608 Egor Pugin changed: What|Removed |Added CC||egor.pugin at gmail dot com --- Comment

[Bug libstdc++/106608] [12 Regression] std::optional requires unavailable dtor

2022-08-13 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106608 --- Comment #1 from Egor Pugin --- Update links. === We've tried to build Telegram Desktop with GCC 12 and got such error: http://paste.mva.name/co36VoGr.txt There is a struct A { vector b; }, where B is a declared, but not defined struct:

[Bug libstdc++/106608] New: [12 Regression] std::optional requires unavailable dtor

2022-08-13 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106608 Bug ID: 106608 Summary: [12 Regression] std::optional requires unavailable dtor Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal

[Bug c++/105999] Wrong requires result inside lambda in a class

2022-06-20 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105999 --- Comment #3 from Egor Pugin --- See ms response https://developercommunity.visualstudio.com/t/C-Wrong-requires-result-inside-lambd/10073268#T-N10075675

[Bug c++/105999] New: Wrong requires result inside lambda in a class

2022-06-16 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105999 Bug ID: 105999 Summary: Wrong requires result inside lambda in a class Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/105655] New: [12/13 Regression] ICE on invalid deduction

2022-05-19 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105655 Bug ID: 105655 Summary: [12/13 Regression] ICE on invalid deduction Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2022-05-13 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #17 from Egor Pugin --- Iain, any chance of publishing your blocks patches as is? Also what's the status of apple m1 support? As I understand homebrew's gcc uses your patches, but I met blocks errors when building cmake in file that

[Bug c++/105398] [11/12 Regression][ICE] enum in array in lambda

2022-04-26 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398 --- Comment #1 from Egor Pugin --- auto f = [](auto &) { enum { _,e3,e2,e1,C4,C3,C2,C1 }; static constexpr int x_coeffs[3][4] = { {e1,C2,C3,C4}, {e2,C1,C3,C4}, {e3,C1,C2,C4}, }; }; int main() { f(0); }

[Bug c++/105398] New: [11/12 Regression][ICE] enum in array in lambda

2022-04-26 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398 Bug ID: 105398 Summary: [11/12 Regression][ICE] enum in array in lambda Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/104503] [12 regression][modules] bits/shared_ptr_base.h: error: must ‘#include ’ before using ‘typeid’

2022-04-06 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104503 --- Comment #3 from Egor Pugin --- But what is using in 2.cpp? Module m does not export anything.

[Bug c++/104503] New: [12 regression][modules] bits/shared_ptr_base.h: error: must ‘#include ’ before using ‘typeid’

2022-02-11 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104503 Bug ID: 104503 Summary: [12 regression][modules] bits/shared_ptr_base.h: error: must ‘#include ’ before using ‘typeid’ Product: gcc Version: 12.0

[Bug c++/99243] [modules] ICE in set_filename, at cp/module.cc:19143

2022-02-11 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99243 Egor Pugin changed: What|Removed |Added CC||egor.pugin at gmail dot com --- Comment #2

[Bug c++/103969] New: 'auto' parameter not permitted in this context

2022-01-10 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103969 Bug ID: 103969 Summary: 'auto' parameter not permitted in this context Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/103871] [11/12 Regression] co_await causes build error

2021-12-31 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 --- Comment #2 from Egor Pugin --- Repro #include #include #include struct s { s(std::vector &&); }; struct async_task { struct promise_type { auto initial_suspend() const { return std::suspend_never{}; } auto

[Bug c++/103871] [11.2.1/12 Regression] co_await causes build error

2021-12-30 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 --- Comment #1 from Egor Pugin --- 11.2.1 fails g++ --version g++ (GCC) 11.2.1 20211203 (Red Hat 11.2.1-7)

[Bug c++/103871] New: [11.2.1/12 Regression] co_await causes build error

2021-12-30 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 Bug ID: 103871 Summary: [11.2.1/12 Regression] co_await causes build error Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/103754] [11,12][ice][modules] import bits/stdc++.h and map

2021-12-17 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103754 --- Comment #5 from Egor Pugin --- (In reply to Andrew Pinski from comment #3) > Sadly it looks like modules are no where near prime time. Seems so. I set up my tooling and trying to play with them, but there are a lot of issues. Does someone

[Bug c++/103754] [11,12][ice][modules] import bits/stdc++.h and map

2021-12-16 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103754 --- Comment #2 from Egor Pugin --- Created attachment 52020 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52020=edit more ice on g++-12 master Adding more ICE logs without filing new tickets in case if need to check more error places.

[Bug c++/103754] [11,12][ice][modules] import bits/stdc++.h and map

2021-12-16 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103754 Egor Pugin changed: What|Removed |Added Summary|[11][ice][modules] import |[11,12][ice][modules]

[Bug c++/103754] New: [11][ice][modules] import bits/stdc++.h and map

2021-12-16 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103754 Bug ID: 103754 Summary: [11][ice][modules] import bits/stdc++.h and map Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/103752] New: [12 Regression][ICE][modules] with import

2021-12-16 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103752 Bug ID: 103752 Summary: [12 Regression][ICE][modules] with import Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/103518] g++ hangs on invalid code

2021-12-01 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518 --- Comment #4 from Egor Pugin --- Created attachment 51916 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51916=edit preprocessed file

[Bug c++/103518] g++ hangs on invalid code

2021-12-01 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518 --- Comment #2 from Egor Pugin --- Callgrind https://www.dropbox.com/s/3ro2ulrfp6jma8f/callgrind.out.39995?dl=1 Interestingly, clang++-13 hangs for 50 s. while gcc for 150 s. Probably, clang also does something wrong here.

[Bug c++/103518] g++ hangs on invalid code

2021-12-01 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518 Egor Pugin changed: What|Removed |Added CC||egor.pugin at gmail dot com --- Comment

[Bug c++/103518] New: g++ hangs on invalid code

2021-12-01 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518 Bug ID: 103518 Summary: g++ hangs on invalid code Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/103212] requires expression with lambda fails

2021-11-12 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103212 --- Comment #1 from Egor Pugin --- Original code was closer to something like this: --- #include constexpr bool test = requires { [](auto o) {}(std::unique_ptr{}); }; static_assert(test); ---

[Bug c++/103212] New: requires expression with lambda fails

2021-11-12 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103212 Bug ID: 103212 Summary: requires expression with lambda fails Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++