[Bug target/113030] New: ARM32: option parsing for --march= doesn't work for aliases

2023-12-14 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113030 Bug ID: 113030 Summary: ARM32: option parsing for --march= doesn't work for aliases Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-12-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 Richard Biener changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/109543] Avoid using BLKmode for unions with a non-BLKmode member when possible

2023-12-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109543 --- Comment #7 from Richard Biener --- Yeah, guess we still have target code doing ABI decisions based on mode ...

[Bug target/111231] armhf: Miscompilation with -O2/-fno-exceptions level (-fno-tree-vectorize is working)

2023-12-14 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111231 --- Comment #16 from Mathieu Malaterre --- Could someone from the GCC/armhf team please at least 'confirm' this bug report ? Thanks

[Bug c/80130] Wrong diagnostic: dereferencing type-punned pointer

2023-12-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80130 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #5

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-12-14 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #36 from Mathieu Malaterre --- (In reply to Kewen Lin from comment #32) [...] > So IMHO #c1 test case is problematic, hi @Mathieu, could you have a double > check? I vaguely recall crafting this test-case with cvise with gcc-13.

[Bug rtl-optimization/113029] sel-sched2 ICE in verify_target_availability

2023-12-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113029 Kewen Lin changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug rtl-optimization/113029] sel-sched2 ICE in verify_target_availability

2023-12-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113029 --- Comment #2 from Kewen Lin --- I noticed there are some existing PRs (PR107984, PR99328, PR88652, PR84842) on verify_target_availability ICE, and in PR84842 there is a tentative patch, I tried to make it fit with the latest trunk, but this

[Bug target/113009] [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests

2023-12-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113009 --- Comment #5 from JuzheZhong --- I don't see this dump FAIL in the trunk now. Could you confirm it ?

[Bug rtl-optimization/113029] sel-sched2 ICE in verify_target_availability

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113029 --- Comment #1 from Andrew Pinski --- Maybe https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842#c17 patch helps

[Bug rtl-optimization/113029] New: sel-sched2 ICE in verify_target_availability

2023-12-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113029 Bug ID: 113029 Summary: sel-sched2 ICE in verify_target_availability Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/112742] missed vectorization with src[a*b+i] where a*b is not int rather than the same precision as size_type

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112742 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug c++/113020] Explicit template instantiation of template specialization using a template base class fails after extern template declaration with linker error

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113020 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/104634] Explicit template instantiation does not work when there are multiple partial template specialization using concepts

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104634 Andrew Pinski changed: What|Removed |Added CC||adrian at woeltche dot de --- Comment

[Bug c++/113020] Explicit template instantiation of template specialization using a template base class fails after extern template declaration with linker error

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113020 --- Comment #2 from Andrew Pinski --- The commands needed to get the link error without using cmake: ``` g++ -std=c++20 -c -o main.o main.cpp g++ -std=c++20 -c -o base.o base.cpp g++ -std=c++20 -c -o sub.o sub.cpp g++ -o app main.o base.o

[Bug c++/113028] GCC diagnostic pop changes errors to warnings

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113028 --- Comment #2 from Andrew Pinski --- Sorry if I was terse. This is exact same issue as reported in PR 111918 and there has been a patch that was posted to fix the issue (though I don't think it has been reviewed yet).

[Bug c++/113028] GCC diagnostic pop changes errors to warnings

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113028 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/111918] #pragma GCC diagnostic pop does not restore error status of -Wnarrowing

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111918 Andrew Pinski changed: What|Removed |Added CC||dustbingtb at verizon dot net ---

[Bug c++/113028] New: GCC diagnostic pop changes errors to warnings

2023-12-14 Thread dustbingtb at verizon dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113028 Bug ID: 113028 Summary: GCC diagnostic pop changes errors to warnings Product: gcc Version: 10.1.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug middle-end/112971] [14] RISC-V rv64gcv_zvl256b vector -O3: internal compiler error: Segmentation fault signal terminated program cc1

2023-12-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112971 --- Comment #20 from JuzheZhong --- Hi, Andrew. I saw this code which seems to cause infinite loop: if (TREE_CODE (arg1) == VECTOR_CST && TREE_CODE (arg2) == VECTOR_CST && known_eq (TYPE_VECTOR_SUBPARTS (TREE_TYPE (arg1)),

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #31 from Jerry DeLisle --- (In reply to anlauf from comment #30) > (In reply to Jerry DeLisle from comment #29) > > Created attachment 56883 [details] > > Updated Descriptions > > > > Fixed a few more things, The return value of

[Bug middle-end/112824] Stack spills and vector splitting with vector builtins

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112824 --- Comment #10 from GCC Commits --- The master branch has been updated by Hongyu Wang : https://gcc.gnu.org/g:a52940cfee0908aed0d2a674a451f6d9984d commit r14-6575-ga52940cfee0908aed0d2a674a451f6d9984d Author: Hongyu Wang Date: Mon

[Bug target/112387] RISC-V: failed to SLP INT64 gather load

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112387 --- Comment #5 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:4bfafea6922dffea145d1aa1d5f5fa4814e66173 commit r14-6572-g4bfafea6922dffea145d1aa1d5f5fa4814e66173 Author: Juzhe-Zhong Date: Fri Dec

[Bug c/111153] RISC-V: Incorrect Vector cost model for reduction

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53 --- Comment #8 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:c7ef2189855a8cf12427a778cd5a31d42ddf6260 commit r14-6571-gc7ef2189855a8cf12427a778cd5a31d42ddf6260 Author: Juzhe-Zhong Date: Thu Dec

[Bug libstdc++/106749] Implement C++23 library features

2023-12-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106749 Bug 106749 depends on bug 107760, which changed state. Bug 107760 Summary: Implement C++23 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107760 What|Removed |Added

[Bug libstdc++/107760] Implement C++23

2023-12-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107760 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/107760] Implement C++23

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107760 --- Comment #2 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:fe54b57728c09ab0389e2bb3f079d5210566199d commit r14-6569-gfe54b57728c09ab0389e2bb3f079d5210566199d Author: Jonathan Wakely

[Bug middle-end/112971] [14] RISC-V rv64gcv_zvl256b vector -O3: internal compiler error: Segmentation fault signal terminated program cc1

2023-12-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112971 --- Comment #19 from JuzheZhong --- OK. I think we can't reproduce same issue on ARM SVE since VNx8HI is poly size [4,4] SI mode. Wheras, RVV with zvl256b is [8,8] SImode that ARM SVE never has such size scalable SI mode. I guess Robin is

[Bug middle-end/112971] [14] RISC-V rv64gcv_zvl256b vector -O3: internal compiler error: Segmentation fault signal terminated program cc1

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112971 --- Comment #18 from Andrew Pinski --- (In reply to JuzheZhong from comment #17) > Ok. Thanks for confirm it. > enough ? If it can fix our RISC-V ICE. No, that is actually the wrong place to fix it. This was just to see if that would fix the

[Bug target/89606] Extra mov after structure load instructions on aarch64

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89606 --- Comment #3 from Andrew Pinski --- On the trunk (20231213) for aarch64, only f2 still has extra moves.

[Bug middle-end/112971] [14] RISC-V rv64gcv_zvl256b vector -O3: internal compiler error: Segmentation fault signal terminated program cc1

2023-12-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112971 --- Comment #17 from JuzheZhong --- Ok. Thanks for confirm it. Hi, Andrew. Is this following: ``` /* x & 0 -> 0 */ (simplify (bit_and @0 integer_zerop@1) @1) ``` to ``` /* x & 0 -> 0 */ (simplify (bit_and:c @0 integer_zerop@1) @1) ```

[Bug target/113027] New: aarch64 is missing vec_set and vec_extract for structure modes

2023-12-14 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113027 Bug ID: 113027 Summary: aarch64 is missing vec_set and vec_extract for structure modes Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/112971] [14] RISC-V rv64gcv_zvl256b vector -O3: internal compiler error: Segmentation fault signal terminated program cc1

2023-12-14 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112971 Patrick O'Neill changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug middle-end/112971] [14] RISC-V rv64gcv_zvl256b vector -O3: internal compiler error: Segmentation fault signal terminated program cc1

2023-12-14 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112971 Patrick O'Neill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/112971] [14] RISC-V rv64gcv_zvl256b vector -O3: internal compiler error: Segmentation fault signal terminated program cc1

2023-12-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112971 --- Comment #14 from JuzheZhong --- Oh, I just take a look again. It seems that the issue is fixed on the trunk ? Hi, Patrick. https://godbolt.org/z/f1rnsYxf9 Could you confirm it ? If it is fixed, could you send a patch with the test ?

[Bug middle-end/112971] [14] RISC-V rv64gcv_zvl256b vector -O3: internal compiler error: Segmentation fault signal terminated program cc1

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112971 --- Comment #13 from Andrew Pinski --- (In reply to JuzheZhong from comment #12) > Thanks Andrew. > > Will you send the patch to fix this ICE for RISC-V ? I doubt I will have time to work on it really. I have not figured out just yet to

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #30 from anlauf at gcc dot gnu.org --- (In reply to Jerry DeLisle from comment #29) > Created attachment 56883 [details] > Updated Descriptions > > Fixed a few more things, The return value of tand is not in degrees. I think the

[Bug middle-end/112971] [14] RISC-V rv64gcv_zvl256b vector -O3: internal compiler error: Segmentation fault signal terminated program cc1

2023-12-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112971 --- Comment #12 from JuzheZhong --- Thanks Andrew. Will you send the patch to fix this ICE for RISC-V ? It's important for risc-v since it is ICE bug that we should land it in GCC-14 release.

[Bug analyzer/96395] Generalize gcc.dg/analyzer tests to be run with both C and C++

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96395 --- Comment #8 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:ae034b9106fbdd855ec22ce221bb61a1a9a532c3 commit r14-6564-gae034b9106fbdd855ec22ce221bb61a1a9a532c3 Author: David Malcolm Date:

[Bug tree-optimization/113026] Bogus -Wstringop-overflow warning on simple memcpy type loop

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113026 --- Comment #1 from Andrew Pinski --- IIRC there is a known issue with Wstringop-overflow and the vectorizer ...

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #29 from Jerry DeLisle --- Created attachment 56883 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56883=edit Updated Descriptions Fixed a few more things, The return value of tand is not in degrees.

[Bug c++/113025] Pointer is sometimes assumed to be 16-byte aligned even when there is no such guarantee

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113025 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/112482] error when auto(x) is used in a variable initializer (block scope)

2023-12-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112482 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/113026] New: Bogus -Wstringop-overflow warning on simple memcpy type loop

2023-12-14 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113026 Bug ID: 113026 Summary: Bogus -Wstringop-overflow warning on simple memcpy type loop Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/112482] error when auto(x) is used in a variable initializer (block scope)

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112482 --- Comment #1 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:1ae71269890f532a2bb06b84fc49f474c16e230d commit r14-6563-g1ae71269890f532a2bb06b84fc49f474c16e230d Author: Marek Polacek Date:

[Bug middle-end/111260] [14 Regression] arm/aarch64: ice in maybe_legitimize_operand with ?: and constants and different types since r14-2667-gceae1400cf24f329393e96dd9720

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111260 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/111260] [14 Regression] arm/aarch64: ice in maybe_legitimize_operand with ?: and constants and different types since r14-2667-gceae1400cf24f329393e96dd9720

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111260 --- Comment #12 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:5fa27d9f8c4bec65887654e374146926d76690b0 commit r14-6562-g5fa27d9f8c4bec65887654e374146926d76690b0 Author: Andrew Pinski Date:

[Bug c++/113025] New: Pointer is sometimes assumed to be 16-byte aligned even when there is no such guarantee

2023-12-14 Thread juki at gcc dot mail.kapsi.fi via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113025 Bug ID: 113025 Summary: Pointer is sometimes assumed to be 16-byte aligned even when there is no such guarantee Product: gcc Version: 8.4.0 Status: UNCONFIRMED

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2023-12-14 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #37 from Ian Lance Taylor --- Search for this comment in the top-level configure.ac file. # Disable libgo for some systems where it is known to not work. # For testing, you can easily override this with --enable-libgo. That said if

[Bug target/112773] [14 Regression] RISC-V ICE: in force_align_down_and_div, at poly-int.h:1828 on rv32gcv_zvl256b

2023-12-14 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112773 --- Comment #17 from Patrick O'Neill --- (In reply to Robin Dapp from comment #16) > I'd hope it was not fixed by this but just latent because we chose a > VLS-mode vectorization instead. Hopefully we're better off with the fix > than without

[Bug c++/112869] [14 Regression] ICE at gimplify_expr, at gimplify.cc:17531 on libopenmpt-0.7.3

2023-12-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112869 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/112869] [14 Regression] ICE at gimplify_expr, at gimplify.cc:17531 on libopenmpt-0.7.3

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112869 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:8cccdc2176740f3e034ee6caa49552cf2f142744 commit r14-6561-g8cccdc2176740f3e034ee6caa49552cf2f142744 Author: Marek Polacek Date:

[Bug target/113023] RISCV redundant code for loading fixed address

2023-12-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113023 --- Comment #5 from Andreas Schwab --- If the linker relaxation does not remove a relaxable move then it is a bug in the linker.

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #28 from Steve Kargl --- On Thu, Dec 14, 2023 at 08:35:32PM +, jvdelisle at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 > > --- Comment #27 from Jerry DeLisle --- > Created attachment 56882 >

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #27 from Jerry DeLisle --- Created attachment 56882 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56882=edit Description changes This is what I arrived at going through. OK?

[Bug target/113023] RISCV redundant code for loading fixed address

2023-12-14 Thread iwfinlay at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113023 --- Comment #4 from Iain Finlay --- GCC does know that it needs LANCHOR0 and LANCHOR0+4 (meaning a difference of 4). The 12-bit lower portion can be provided in the load and store commands. It seems just an implementation choice in pcnt0 that

[Bug target/113023] RISCV redundant code for loading fixed address

2023-12-14 Thread iwfinlay at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113023 --- Comment #3 from Iain Finlay --- It does not get removed. It ends up in the final image. It is also redundant because load and store can also add a 12 bit signed offset.

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 Jerry DeLisle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org

[Bug target/112773] [14 Regression] RISC-V ICE: in force_align_down_and_div, at poly-int.h:1828 on rv32gcv_zvl256b

2023-12-14 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112773 --- Comment #16 from Robin Dapp --- I'd hope it was not fixed by this but just latent because we chose a VLS-mode vectorization instead. Hopefully we're better off with the fix than without :)

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #25 from Steve Kargl --- On Thu, Dec 14, 2023 at 07:48:08PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 > > --- Comment #24 from anlauf at gcc dot gnu.org --- > (In reply to Jerry

[Bug target/112773] [14 Regression] RISC-V ICE: in force_align_down_and_div, at poly-int.h:1828 on rv32gcv_zvl256b

2023-12-14 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112773 Patrick O'Neill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #24 from anlauf at gcc dot gnu.org --- (In reply to Jerry DeLisle from comment #23) > I am going to suggest the following. The wording was confusing around the > functionality of the option vs the intrinsics. Hope this is OK? > >

[Bug tree-optimization/110279] [14 Regression] Regressions on aarch64 cause by handing FMA in reassoc (510.parest_r, 508.namd_r)

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110279 --- Comment #5 from GCC Commits --- The master branch has been updated by Di Zhao : https://gcc.gnu.org/g:8afdbcdd7abe1e3c7a81e07f34c256e7f2dbc652 commit r14-6559-g8afdbcdd7abe1e3c7a81e07f34c256e7f2dbc652 Author: Di Zhao Date: Fri Dec 15

[Bug target/113023] RISCV redundant code for loading fixed address

2023-12-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113023 --- Comment #2 from Andreas Schwab --- The insn is _not_ redundant, there is a relocation on it. The linker relaxation will eventually remove it when it becomes unnessessary.

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #23 from Jerry DeLisle --- I am going to suggest the following. The wording was confusing around the functionality of the option vs the intrinsics. Hope this is OK? @opindex @code{fdec-math} @item -fdec-math Obsolete flag. The

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #22 from Jerry DeLisle --- (In reply to anlauf from comment #20) > (In reply to Jerry DeLisle from comment #18) > > I have the patch applied. > > > > make pdf and make info work as expected. I fixed a minor typo in a comment > >

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #21 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:95b70545331764c85079a1d0e1e19b605bda1456 commit r14-6558-g95b70545331764c85079a1d0e1e19b605bda1456 Author: Jerry DeLisle Date:

[Bug target/113023] RISCV redundant code for loading fixed address

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113023 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/109543] Avoid using BLKmode for unions with a non-BLKmode member when possible

2023-12-14 Thread richard.sandiford at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109543 --- Comment #6 from richard.sandiford at arm dot com --- Here's a proof of concept patch that fixes the testcase for -mstrict-align. The VECTOR_MODE_P part would need to be behind a new target hook, to avoid accidentally breaking someone's ABI.

[Bug tree-optimization/109543] Avoid using BLKmode for unions with a non-BLKmode member when possible

2023-12-14 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109543 --- Comment #5 from Richard Sandiford --- I think the loop in compute_mode_layout needs to be smarter for unions. At the moment it's sensitive to field order, which doesn't make much conceptual sense. E.g. for the admittedly contrived

[Bug tree-optimization/113024] Nested cast not optimized out in GIMPLE

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113024 --- Comment #2 from Andrew Pinski --- Confirmed. Note if the final convert was a truncation from the original one, match is able to remove the inner cast since r14-2890-gcc2003cd87532f (PR 93044). That is: ``` unsigned char foo1 (signed short

[Bug tree-optimization/113024] Nested cast not optimized out in GIMPLE

2023-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113024 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/113024] Nested cast not optimized out in GIMPLE

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113024 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #20 from anlauf at gcc dot gnu.org --- (In reply to Jerry DeLisle from comment #18) > I have the patch applied. > > make pdf and make info work as expected. I fixed a minor typo in a comment > for intrinsic.cc. I have a few of the

[Bug c++/113021] [constexpr] gcc rejects initializing struct containing vector during constant evaluation depending if the struct also contains other member

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113021 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #19 from Steve Kargl --- On Thu, Dec 14, 2023 at 05:03:35PM +, jvdelisle at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 > > --- Comment #18 from Jerry DeLisle --- > I have the patch applied. >

[Bug c++/113020] Explicit template instantiation of template specialization using a template base class fails after extern template declaration with linker error

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113020 --- Comment #1 from Andrew Pinski --- Side note, I wish "Compiler Explorer" was able to a simple make file instead of cmake.

[Bug fortran/112873] F2023 degree trig functions

2023-12-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #18 from Jerry DeLisle --- I have the patch applied. make pdf and make info work as expected. I fixed a minor typo in a comment for intrinsic.cc. I have a few of the git magics to do. Shall I submit to the list before commit?

[Bug target/111556] OMP_* environment variables not read if libgomp is loaded via dlopen([..], [..]|RTLD_DEEPBIND) and the process executable access the environ global variable

2023-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111556 --- Comment #5 from Jakub Jelinek --- The not dereferencing NULL environ is PR111413 and has been fixed already. That is something different from what is reported here, and as I said, there is nothing that can be done about it except "don't do

[Bug target/112999] riscv: Infinite loop with mask extraction

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112999 --- Comment #3 from GCC Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:e5e1999aa664333f766f3e6cc6996f769d50ae7a commit r14-6556-ge5e1999aa664333f766f3e6cc6996f769d50ae7a Author: Robin Dapp Date: Wed

[Bug target/112773] [14 Regression] RISC-V ICE: in force_align_down_and_div, at poly-int.h:1828 on rv32gcv_zvl256b

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112773 --- Comment #14 from GCC Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:0a5170b5f596bb5fcedf25d93952b979d02d1f56 commit r14-6555-g0a5170b5f596bb5fcedf25d93952b979d02d1f56 Author: Robin Dapp Date: Sun

[Bug target/111556] OMP_* environment variables not read if libgomp is loaded via dlopen([..], [..]|RTLD_DEEPBIND) and the process executable access the environ global variable

2023-12-14 Thread gnu.org at hovland dot cx via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111556 Jay changed: What|Removed |Added CC||gnu.org at hovland dot cx --- Comment #4 from

[Bug target/113019] [NOT A BUG] Multi-architecture binaries for Linux

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113019 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c/78464] Feature request: automatic function multi versioning

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78464 Andrew Pinski changed: What|Removed |Added CC||aros at gmx dot com --- Comment #2 from

[Bug target/113019] [NOT A BUG] Multi-architecture binaries for Linux

2023-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113019 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target Severity|normal

[Bug tree-optimization/113024] New: Nested cast not optimized out in GIMPLE

2023-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113024 Bug ID: 113024 Summary: Nested cast not optimized out in GIMPLE Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug libstdc++/109536] Failure to compile constexpr std::vector with -D_GLIBCXX_DEBUG

2023-12-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109536 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/109536] Failure to compile constexpr std::vector with -D_GLIBCXX_DEBUG

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109536 --- Comment #5 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7d00a59229ee17af009a3c6c6208b0611740ed49 commit r14-6553-g7d00a59229ee17af009a3c6c6208b0611740ed49 Author: Jonathan Wakely

[Bug tree-optimization/113018] ICE in gimple_convert, gimple-fold.cc during the SLP pass

2023-12-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113018 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/113018] ICE in gimple_convert, gimple-fold.cc during the SLP pass

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113018 --- Comment #3 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4e9b2c94e45f5991a472fb639fb2baa6aa42b76b commit r14-6552-g4e9b2c94e45f5991a472fb639fb2baa6aa42b76b Author: Richard Biener Date:

[Bug tree-optimization/111515] [14 Regression] Missed Dead Code Elimination since r14-4089-gd45ddc2c04e

2023-12-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111515 --- Comment #7 from Richard Biener --- So like the following which disables threading ending in a if (..) __builtin_unreachable (); branch when we thread to the _reachable_ side of it. We keep threading to the __builtin_unreachable ()

[Bug libstdc++/113007] `std::variant` converting constructor and `operator=` compile while the C++ Standard says they must not

2023-12-14 Thread paul.skeptic at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113007 --- Comment #7 from Pavel Novikov --- (In reply to Jonathan Wakely from comment #5&6) Got it. Thank you for taking the time to expansively explain what I left out, and confirming my understanding. Now it's time to file a bug in MSVC's

[Bug tree-optimization/112941] during GIMPLE pass: bitintlower ICE: in handle_operand_addr, at gimple-lower-bitint.cc:2126 (gimple-lower-bitint.cc:2134) at -O with _BitInt()

2023-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112941 --- Comment #3 from Jakub Jelinek --- Simplified: unsigned _BitInt(2049) foo (unsigned _BitInt(6384) x, _BitInt(8) y) { return x * y; } _BitInt(2049) bar (unsigned _BitInt(6384) x, _BitInt(1023) y) { return x * y; }

[Bug tree-optimization/112793] [11/12/13 regression] ICE when building stellarium (internal compiler error: in vect_schedule_slp_node, at tree-vect-slp.cc:9062)

2023-12-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112793 Richard Biener changed: What|Removed |Added Target Milestone|14.0|11.5 Summary|[14

[Bug target/112906] [14 Regression] aarch64: ICE with SVE ACLE code at -O2 since r14-3981-g0f1f6cf87

2023-12-14 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112906 Alex Coplan changed: What|Removed |Added Keywords||patch --- Comment #4 from Alex Coplan

[Bug tree-optimization/112793] [14 regression] ICE when building stellarium (internal compiler error: in vect_schedule_slp_node, at tree-vect-slp.cc:9062)

2023-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112793 --- Comment #13 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d782ec8362eadc3169286eb1e39c631effd02323 commit r14-6550-gd782ec8362eadc3169286eb1e39c631effd02323 Author: Richard Biener Date:

[Bug c++/113023] New: RISCV redundant code for loading fixed address

2023-12-14 Thread iwfinlay at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113023 Bug ID: 113023 Summary: RISCV redundant code for loading fixed address Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/113022] New: GCN offloading bricked by "amdgcn: Work around XNACK register allocation problem"

2023-12-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113022 Bug ID: 113022 Summary: GCN offloading bricked by "amdgcn: Work around XNACK register allocation problem" Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug rtl-optimization/113019] [NOT A BUG] Multi-architecture binaries for Linux

2023-12-14 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113019 --- Comment #5 from Artem S. Tashkinov --- (In reply to ktkachov from comment #1) > GCC provides the Function Multiversioning feature that's supported on some > architectures: > https://gcc.gnu.org/onlinedocs/gcc/Function-Multiversioning.html >

[Bug rtl-optimization/113019] [NOT A BUG] Multi-architecture binaries for Linux

2023-12-14 Thread ultrafine at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113019 --- Comment #3 from ultrafine at gmx dot com --- Yeah, I'm looking forward to being able to compile this way: -march=x86-64 -mextra-arch=x86-64-v3 And do _nothing_ else and get a single binary. And then at runtime the appropriate code for the

  1   2   >