[Bug plugins/108634] [13 regression] 'undefined symbol: tree_code_type' when building kernel GCC plugins since r13-5431-gb0241ce6e37031

2023-02-01 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108634 --- Comment #1 from Arsen Arsenović --- The kernel's using wrong C(XX)FLAGS to compile the plugin. IMO, the best solution would be to dump $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) into a makefile that gets installed, so that plugins can use that

[Bug middle-end/108300] `abort()` macro cause bootstrap failure on *-w64-mingw32

2023-01-07 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300 --- Comment #11 from Arsen Arsenović --- (In reply to LIU Hao from comment #10) > I think Jonathan's proposal makes it unnecessarily complex. Renaming `abort` > to `gcc_fancy_abort`, as well as all invocations accordingly, should be much >

[Bug middle-end/108300] `abort()` macro cause bootstrap failure on *-w64-mingw32

2023-01-07 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300 --- Comment #9 from Arsen Arsenović --- (In reply to LIU Hao from comment #8) > The commit above just lets GCC bootstrap on Windows. The cause of this issue > is still there. > > Maybe it's possible to replace all direct calls to `abort()` in

[Bug ipa/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2022-12-29 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 --- Comment #8 from Arsen Arsenović --- Created attachment 54166 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54166=edit xz'd preprocessed CodeGenDagPatterns.cpp Cmdline: [220/231] /usr/bin/g++-12 -DGTEST_HAS_RTTI=0

[Bug ipa/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2022-12-29 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 --- Comment #7 from Arsen Arsenović --- Created attachment 54165 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54165=edit hang-testing script With the attached script, I singled out

[Bug modula2/107607] tools-src/calcpath uses unportable realpath(1)

2022-12-15 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107607 Arsen Arsenović changed: What|Removed |Added CC||arsen at aarsen dot me --- Comment

[Bug c++/106713] [11/12 Regression] Coroutine regression in GCC 11.3.0: if (co_await ...) crashes with a jump to ud2 since r12-3529-g70ee703c479081ac

2022-10-19 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106713 --- Comment #7 from Arsen Arsenović --- Yes, this and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106188 both.

[Bug c++/107147] [13 Regression] ICE in register_local_var_uses, at cp/coroutines.cc:3923

2022-10-08 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107147 --- Comment #4 from Arsen Arsenović --- Ah, my bad, I had checking off in my 12.2.0 build.

[Bug c++/107147] [13 Regression] ICE in register_local_var_uses, at cp/coroutines.cc:3923

2022-10-08 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107147 Arsen Arsenović changed: What|Removed |Added CC||arsen at aarsen dot me --- Comment

[Bug libstdc++/104605] _GLIBCXX_USE_C99_STDINT_TR1 macro is not defined for canadian cross freestanding C++ toolchain

2022-10-03 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104605 Arsen Arsenović changed: What|Removed |Added CC||arsen at aarsen dot me --- Comment

[Bug libstdc++/107135] array::at() method should not be in for freestanding C++

2022-10-03 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107135 Arsen Arsenović changed: What|Removed |Added CC||arsen at aarsen dot me --- Comment

[Bug libstdc++/103626] _GLIBCXX_HOSTED should respect -ffreestanding

2022-09-18 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103626 --- Comment #6 from Arsen Arsenović --- Agreed. Now that I think about it, it'd be just as easy to spot errors if something in freestanding is relying on a hosted feature by just trying to #include those headers on a freestanding install, so

[Bug libstdc++/103626] _GLIBCXX_HOSTED should respect -ffreestanding

2022-09-17 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103626 --- Comment #4 from Arsen Arsenović --- (In reply to Jonathan Wakely from comment #3) > I don't think we need to add the #error to every header. For a start, users > never include the bits/* headers directly, and if they do, it's their >

[Bug libstdc++/103626] _GLIBCXX_HOSTED should respect -ffreestanding

2022-09-17 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103626 --- Comment #2 from Arsen Arsenović --- I started work on marking headers, and I already marked 162 headers (all of include/{std,bits,backward}, where appropriate) as part of my work on P1642. This set also lines up with the set of all

[Bug c++/106713] Coroutine regression in GCC 11.3.0: if (co_await ...) crashes with a jump to ud2

2022-08-22 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106713 --- Comment #2 from Arsen Arsenović --- Created attachment 53491 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53491=edit Reduced test case Alright, managed to get a reduced test case out of C-Vise. Though, this doesn't build on clang

[Bug c++/106713] Coroutine regression in GCC 11.3.0: if (co_await ...) crashes with a jump to ud2

2022-08-22 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106713 --- Comment #1 from Arsen Arsenović --- Created attachment 53490 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53490=edit Preprocessed test (gz-compressed)

[Bug c++/106713] New: Coroutine regression in GCC 11.3.0: if (co_await ...) crashes with a jump to ud2

2022-08-22 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106713 Bug ID: 106713 Summary: Coroutine regression in GCC 11.3.0: if (co_await ...) crashes with a jump to ud2 Product: gcc Version: 11.3.0 Status: UNCONFIRMED