[Bug target/120933] New: Turn on -mtls-dialect=gnu2 by default on x86-64

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120933 Bug ID: 120933 Summary: Turn on -mtls-dialect=gnu2 by default on x86-64 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/120908] *tls_global_dynamic_64_ has an implicit RDI clobber

2025-07-02 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120908 --- Comment #2 from Uroš Bizjak --- I think the patch should be committed to all release branches (after some soak time in the mainline to avoid surprises).

[Bug c++/120931] At GCC 15.1.0 build fails with -std=c++98 on attempt to use std::deque::resize() method

2025-07-02 Thread nvd339 at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120931 --- Comment #1 from Виталий Новичков --- Created attachment 61787 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61787&action=edit The test code to be built with -std=c++98 argument. Also: I am not fully sure WHEN this bug introduced and

[Bug tree-optimization/120747] [16 Regression] 435.gromacs miscompares since r16-1550-g9244ea4bf55638

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120747 --- Comment #15 from Andrew Pinski --- ``` A has higher numerical error (3.09998e+02) B has ok numerical error (3.12012e+02) ... So in dump A we compute x = vnb12 - vnb6 + vnbtot z = FMA(a, b, FMS(vnb12, 1.2e+1, c)) = a * b + vnb12 * 1.2e+

[Bug rtl-optimization/81501] mulitple calls to __tls_get_addr() with -fPIC

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81501 H.J. Lu changed: What|Removed |Added Attachment #60535|0 |1 is obsolete|

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers stack protection false positives since r16-1905-g7165ca43caf470

2025-07-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
able-lto --disable-libsanitizer --enable-languages=c CFLAGS='-O1 -g0' CXXFLAGS='-O1 -g0' LDFLAGS='-O1 -g0' Thread model: posix Supported LTO compression algorithms: zlib gcc version 16.0.0 20250702 (experimental) (GCC)

[Bug c++/120684] [15/16 Regression] bogus "error: destroying ‘’ outside its lifetime" with constexpr dtor object inside repeated range-based for loops

2025-07-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120684 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug gcov-profile/120881] [16 Regression] -pg may not call mount at function entry by r16-1550-g9244ea4bf55638

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120881 H.J. Lu changed: What|Removed |Added Attachment #61781|0 |1 is obsolete|

[Bug libstdc++/110353] [C++26] P1383R2 More constexpr for cmath and complex

2025-07-02 Thread diego.garcia.cr at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110353 Diego Garcia changed: What|Removed |Added CC||diego.garcia.cr at gmail dot com --- Co

[Bug libstdc++/120931] [15/16 Regression] std::deque::resize() method fails with -std=c++98

2025-07-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120931 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug libstdc++/120931] [15/16 Regression] std::deque::resize() method fails with -std=c++98

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120931 --- Comment #3 from Andrew Pinski --- I suspect r15-4473-g3abe751ea86e34. I am not 100% sure but I think it is a copy and pasto: ``` // Overload for generic iterators. template static void __uninit_fill(_ForwardIter

[Bug libstdc++/110353] [C++26] P1383R2 More constexpr for cmath and complex

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110353 --- Comment #2 from Andrew Pinski --- (In reply to Diego Garcia from comment #1) > I would like to add to this that some functions (such as nextafter > and nexttoward) have been constexpr since C++23, they are marked as such, > but the internal

[Bug libstdc++/110353] [C++26] P1383R2 More constexpr for cmath and complex

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110353 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > (In reply to Diego Garcia from comment #1) > > I would like to add to this that some functions (such as nextafter > > and nexttoward) have been constexpr since

[Bug c++/120932] New: Some math builtins (nextafter) needs trapping math turned off for constexpr

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120932 Bug ID: 120932 Summary: Some math builtins (nextafter) needs trapping math turned off for constexpr Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: re

[Bug libstdc++/120931] [15/16 Regression] std::deque::resize() method fails with -std=c++98

2025-07-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120931 --- Comment #4 from Jonathan Wakely --- Started with r15-4473-g3abe751ea86e34 and this is the fix: --- a/libstdc++-v3/include/bits/stl_uninitialized.h +++ b/libstdc++-v3/include/bits/stl_uninitialized.h @@ -376,7 +376,7 @@ _GLIBCXX_BEGIN_NAMESP

[Bug libstdc++/110353] [C++26] P1383R2 More constexpr for cmath and complex

2025-07-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110353 --- Comment #4 from Jonathan Wakely --- (In reply to Diego Garcia from comment #1) > Not sure if this would be a separate bug (due to being C++23 related) For C++23 constexpr in see Bug 105281

[Bug target/120936] [12/13/14/15/16 Regression] x86_function_profiler emits an unused label by by r5-3767-gecc81e33123d7a

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120936 H.J. Lu changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com --- Commen

[Bug target/120935] ICE building libstdc++ for mmix

2025-07-02 Thread pietro at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120935 --- Comment #2 from pietro --- (In reply to Andrew Pinski from comment #1) > I am 99% sure the problem is the definition of MAX_FIXED_MODE_SIZE. Yup, defining MAX_FIXED_MODE_SIZE to GET_MODE_BITSIZE (TImode) fixes the build. I'll send a patch w

[Bug target/120936] [12/13/14/15/16 Regression] x86_function_profiler emits an unused label by by r5-3767-gecc81e33123d7a

2025-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120936 Sam James changed: What|Removed |Added Target Milestone|--- |12.5 Keywords|

[Bug target/38749] native and core2 differ on core2 hardware

2025-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38749 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers stack protection false positives since r16-1905-g7165ca43caf470

2025-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 Sam James changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug tree-optimization/120747] [16 Regression] 435.gromacs miscompares since r16-1550-g9244ea4bf55638

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120747 --- Comment #16 from Andrew Pinski --- Looks like the same issue as those others listed as `see also`. Basically reassociation is tied to the ssa #s and any small improvements to other code earlier might change the ssa versions #s and that alone

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers stack protection false positives since r16-1905-g7165ca43caf470

2025-07-02 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 --- Comment #6 from qinzhao at gcc dot gnu.org --- (In reply to Sergei Trofimovich from comment #3) > (In reply to qinzhao from comment #2) > > could you please reduce the testing case to help me debug? > > Will do. Might take some time as I'm n

[Bug target/120908] *tls_global_dynamic_64_ has an implicit RDI clobber

2025-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120908 --- Comment #1 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:7710d513a552f1fa1b7485ec6b318bafaa6d4cd7 commit r16-1914-g7710d513a552f1fa1b7485ec6b318bafaa6d4cd7 Author: H.J. Lu Date: Tue Jul 1 17:

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers stack protection false positives since r16-1905-g7165ca43caf470

2025-07-02 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 --- Comment #5 from qinzhao at gcc dot gnu.org --- (In reply to Sam James from comment #4) > Ah, nice. I had this during bootstrap but wasn't able to reduce yet. you mean during bootstrap gcc itself? (I didn't see such issue when bootstrap gcc b

[Bug tree-optimization/120871] missing tail call optimization on RVO

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120871 --- Comment #12 from Andrew Pinski --- (In reply to Andrew Pinski from comment #11) > (In reply to Andrew Pinski from comment #10) > > > > Patch posted: > > https://gcc.gnu.org/pipermail/gcc-patches/2025-July/688286.html > > > > That just fixe

[Bug gcov-profile/120881] [16 Regression] -pg may not call mount at function entry by r16-1550-g9244ea4bf55638

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120881 --- Comment #26 from H.J. Lu --- (In reply to Sam James from comment #25) > (In reply to H.J. Lu from comment #24) > > Created attachment 61789 [details] > > A patch to add --enable-x86-64-mfentry > > When wouldn't we want this enabled? Is it j

[Bug target/120935] New: ICE building libstdc++ for mmix

2025-07-02 Thread pietro at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120935 Bug ID: 120935 Summary: ICE building libstdc++ for mmix Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug rtl-optimization/81501] mulitple calls to __tls_get_addr() with -fPIC

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81501 H.J. Lu changed: What|Removed |Added Attachment #61788|0 |1 is obsolete|

[Bug rtl-optimization/81501] mulitple calls to __tls_get_addr() with -fPIC

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81501 H.J. Lu changed: What|Removed |Added Target Milestone|--- |16.0

[Bug gcov-profile/120881] [16 Regression] -pg may not call mount at function entry by r16-1550-g9244ea4bf55638

2025-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120881 --- Comment #27 from Sam James --- Thanks.

[Bug target/120936] [12/13/14/15/16 Regression] x86_function_profiler emits an unused label by by r5-3767-gecc81e33123d7a

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120936 H.J. Lu changed: What|Removed |Added Summary|x86_function_profiler emits |[12/13/14/15/16 Regression]

[Bug target/120936] New: x86_function_profiler emits an unused label

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120936 Bug ID: 120936 Summary: x86_function_profiler emits an unused label Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targ

[Bug c/120937] floating-point arithmetic can result zero with incorrect sign

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

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers _FORTIFY_SOURCE false positives since r16-1905-g7165ca43caf470

2025-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 --- Comment #8 from Sam James --- (In reply to qinzhao from comment #5) > you mean during bootstrap gcc itself? (I didn't see such issue when > bootstrap gcc before committing my patches) It was only with certain options, not reduced which ones

[Bug c/120937] New: floating-point arithmetic can result zero with incorrect sign

2025-07-02 Thread madams846 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120937 Bug ID: 120937 Summary: floating-point arithmetic can result zero with incorrect sign Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers _FORTIFY_SOURCE false positives since r16-1905-g7165ca43caf470

2025-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 Sam James changed: What|Removed |Added Last reconfirmed||2025-07-03 Status|UNCONFIRMED

[Bug target/120935] ICE building libstdc++ for mmix

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120935 --- Comment #1 from Andrew Pinski --- I am 99% sure the problem is the definition of MAX_FIXED_MODE_SIZE.

[Bug c/120937] floating-point arithmetic can result zero with incorrect sign

2025-07-02 Thread madams846 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120937 --- Comment #2 from Marc Adams --- The floating-point multiply is exact, no rounding, for type float and longer. Please check that the operations with these values have no rounding for yourself. Even if the multiply had rounding IEEE rules say

[Bug target/120550] [15 Regression] RISC-V: Miscompile at -O3 since r16-372-g064cac730f8

2025-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120550 --- Comment #8 from GCC Commits --- The releases/gcc-15 branch has been updated by Jeff Law : https://gcc.gnu.org/g:8b3e6dbe51362204d2c3544892720c7cea30b08c commit r15-9903-g8b3e6dbe51362204d2c3544892720c7cea30b08c Author: Jeff Law Date: Su

[Bug rtl-optimization/120795] [16 regression] ICE when building folly-2025.04.14.00 (df_refs_verify, at df-scan.cc:4029)

2025-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120795 --- Comment #11 from GCC Commits --- The releases/gcc-15 branch has been updated by Jeff Law : https://gcc.gnu.org/g:2498cbbcdb23dabce36477ce84e0266374b7e886 commit r15-9904-g2498cbbcdb23dabce36477ce84e0266374b7e886 Author: Sam James Date:

[Bug target/120550] [15 Regression] RISC-V: Miscompile at -O3 since r16-372-g064cac730f8

2025-07-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120550 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/120937] floating-point arithmetic can result zero with incorrect sign

2025-07-02 Thread madams846 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120937 --- Comment #3 from Marc Adams --- Sorry, you are correct and I am wrong. The result is subnormal negative and rounds to -0. Thanks for your help.

[Bug c/120937] floating-point arithmetic can result zero with incorrect sign

2025-07-02 Thread madams846 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120937 --- Comment #4 from Marc Adams --- Sorry, you are correct and I am wrong. The result is subnormal negative and rounds to -0. Thanks for your help.

[Bug target/120513] Possible arch or configure issue

2025-07-02 Thread chandleg at wizardsworks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513 --- Comment #35 from Greg Chandler --- I have been unable to track this down at all... I know it's in the driver, but past that all I can find is what is contained in the messages on this post. I've attempted to compile older versions of gcc to

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers stack protection false positives since r16-1905-g7165ca43caf470

2025-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 --- Comment #4 from Sam James --- Ah, nice. I had this during bootstrap but wasn't able to reduce yet.

[Bug tree-optimization/120747] [16 Regression] 435.gromacs miscompares since r16-1550-g9244ea4bf55638

2025-07-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120747 --- Comment #14 from Filip Kastl --- If I do -fdump-tree-optimized, I see these two differences in function inl1100: A has higher numerical error (3.09998e+02)| B has ok numerical error (3.12012e+02) -

[Bug c++/120931] New: At GCC 15.1.0 build fails with -std=c++98 on attempt to use std::deque::resize() method

2025-07-02 Thread nvd339 at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120931 Bug ID: 120931 Summary: At GCC 15.1.0 build fails with -std=c++98 on attempt to use std::deque::resize() method Product: gcc Version: 15.1.0 Status: UNCONFIRMED

[Bug target/118595] [15/16 regression] RISC-V: gfortran/c-interop test execution failures on RVV zvl > 128b since r15-3228-g771256bcb9d

2025-07-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118595 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/116242] [meta-bug] Tracker for zvl issues in RISC-V

2025-07-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116242 Bug 116242 depends on bug 118595, which changed state. Bug 118595 Summary: [15/16 regression] RISC-V: gfortran/c-interop test execution failures on RVV zvl > 128b since r15-3228-g771256bcb9d https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118595

[Bug target/118057] RISC-V: Can't vectorize load and store with zvl128b

2025-07-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118057 Jeffrey A. Law changed: What|Removed |Added Blocks|116242 | --- Comment #9 from Jeffrey A. Law -

[Bug target/120933] Turn on -mtls-dialect=gnu2 by default on x86-64

2025-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120933 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug gcov-profile/120881] [16 Regression] -pg may not call mount at function entry by r16-1550-g9244ea4bf55638

2025-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120881 --- Comment #25 from Sam James --- (In reply to H.J. Lu from comment #24) > Created attachment 61789 [details] > A patch to add --enable-x86-64-mfentry When wouldn't we want this enabled? Is it just a configure option because of a small risk of

[Bug tree-optimization/120927] [15/16 Regression] 510.parest_r segfaults built with -Ofast -march=znver4 --param vect-partial-vector-usage=1

2025-07-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120927 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target|

[Bug gcov-profile/120928] Feature request: Temporal PGO support for GCC

2025-07-02 Thread zamazan4ik at tut dot by via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120928 --- Comment #6 from Alexander Zaitsev --- Yeah, I've read about this "timing profiling" but I wasn't able to find a corresponding GCC compiler switch for that when I tried to search over this phrase.

[Bug c++/120766] [12/13/14/15/16 Regression] ICE Segmentation fault with duplicate extern variable of template type

2025-07-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120766 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers stack protection false positives since r16-1905-g7165ca43caf470

2025-07-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 --- Comment #1 from Sergei Trofimovich --- I suspect '-D_FORTIFY_SOURCE=3 -fstack-protector-strong' are the primary trigger. Full flag list passed to compiler on this system (wrapper adds quite a few related to stack protector): extra flags be

[Bug libstdc++/120895] AVX data types default alignment is not correct

2025-07-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120895 --- Comment #31 from Jakub Jelinek --- Note, the __m512 type as documented in Intel documentation simply doesn't exist when the corresponding ISAs aren't enabled. In older versions of GCC before target attribute and pragmas have been introduced,

[Bug target/120910] spurious underflow with float to half-float conversion

2025-07-02 Thread zimmerma+gcc at loria dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120910 --- Comment #3 from Paul Zimmermann --- note that clang does not emit underflow also with -ftrapping-math: zimmerma@biscotte:/tmp$ clang -ftrapping-math -O1 -march=x86-64-v3 -frounding-math /tmp/e.c -lm && ./a.out underflow: 0 y=inf

[Bug target/120926] New: Optimise away SVE PTRUE when applied to CNTP instruction

2025-07-02 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120926 Bug ID: 120926 Summary: Optimise away SVE PTRUE when applied to CNTP instruction Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: aarch64-sve, missed-o

[Bug tree-optimization/120927] [15/16 Regression] 510.parest_r segfaults built with -Ofast -march=znver4 --param vect-partial-vector-usage=1

2025-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120927 --- Comment #3 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:57d30924e2b3887a1aedc6102daa67bc3272ace7 commit r16-1910-g57d30924e2b3887a1aedc6102daa67bc3272ace7 Author: Richard Biener Date:

[Bug target/120930] New: [16 Regression] RISC-V: Miscompile at -O[23] with zvl256b -mrvv-vector-bits=zvl since r16-1645-g309dbcea2ca

2025-07-02 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120930 Bug ID: 120930 Summary: [16 Regression] RISC-V: Miscompile at -O[23] with zvl256b -mrvv-vector-bits=zvl since r16-1645-g309dbcea2ca Product: gcc Version: 16.0

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers stack protection false positives since r16-1905-g7165ca43caf470

2025-07-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 --- Comment #3 from Sergei Trofimovich --- (In reply to qinzhao from comment #2) > could you please reduce the testing case to help me debug? Will do. Might take some time as I'm not very familiar with `file` code base. > Are you sure that the

[Bug tree-optimization/120927] New: [16 Regression] 510.parest_r segfaults built with -Ofast -march=znver4 --param vect-partial-vector-usage=1

2025-07-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120927 Bug ID: 120927 Summary: [16 Regression] 510.parest_r segfaults built with -Ofast -march=znver4 --param vect-partial-vector-usage=1 Product: gcc Version: 16.0

[Bug gcov-profile/120928] Feature request: Temporal PGO support for GCC

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120928 --- Comment #5 from Andrew Pinski --- (In reply to Alexander Zaitsev from comment #4) > Oh, great! Somehow I missed it. Sorry for the annoyance - next time, I need > to read the documentation more carefully. Thank you for your help! Also if you

[Bug tree-optimization/120927] [15/16 Regression] 510.parest_r segfaults built with -Ofast -march=znver4 --param vect-partial-vector-usage=1

2025-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120927 --- Comment #5 from GCC Commits --- The releases/gcc-15 branch has been updated by Richard Biener : https://gcc.gnu.org/g:3b599593af17f61fc8cf26ccf1c7e3fd4e83b221 commit r15-9901-g3b599593af17f61fc8cf26ccf1c7e3fd4e83b221 Author: Richard Biener

[Bug gcov-profile/120928] Feature request: Temporal PGO support for GCC

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120928 --- Comment #1 from Andrew Pinski --- GCC already does some of this even without PGO.

[Bug tree-optimization/120927] [15/16 Regression] 510.parest_r segfaults built with -Ofast -march=znver4 --param vect-partial-vector-usage=1

2025-07-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120927 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug gcov-profile/120928] Feature request: Temporal PGO support for GCC

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

[Bug tree-optimization/120929] New: [16 Regression] file-5.45 triggers stack protection false positives since r16-1905-g7165ca43caf470

2025-07-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 Bug ID: 120929 Summary: [16 Regression] file-5.45 triggers stack protection false positives since r16-1905-g7165ca43caf470 Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug c++/120776] [C++26] P1306R5 - Expansion statements

2025-07-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120776 --- Comment #2 from Jakub Jelinek --- Created attachment 61786 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61786&action=edit gcc16-pr120776-wip.patch Very early WIP, this can just parse stuff, on say struct S { int a, b, c; }; struct T

[Bug gcov-profile/120881] [16 Regression] -pg may not call mount at function entry by r16-1550-g9244ea4bf55638

2025-07-02 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120881 --- Comment #23 from Uroš Bizjak --- (In reply to H.J. Lu from comment #22) > Should we add TARGET_FENTRY to default to -mfentry on Linux? IMO --enable-fentry configure option would be better.

[Bug gcov-profile/120928] Feature request: Temporal PGO support for GCC

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120928 --- Comment #3 from Andrew Pinski --- And it is already enabled by default with -fprofile-use so there is no need for most users to add another option.

[Bug gcov-profile/120928] Feature request: Temporal PGO support for GCC

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120928 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug gcov-profile/120928] Feature request: Temporal PGO support for GCC

2025-07-02 Thread zamazan4ik at tut dot by via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120928 --- Comment #4 from Alexander Zaitsev --- Oh, great! Somehow I missed it. Sorry for the annoyance - next time, I need to read the documentation more carefully. Thank you for your help!

[Bug c++/120667] [12/13/14 Regression] internal compiler error: in cxx_eval_constant_expression, at cp/constexpr.cc:7908

2025-07-02 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120667 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers stack protection false positives since r16-1905-g7165ca43caf470

2025-07-02 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 qinzhao at gcc dot gnu.org changed: What|Removed |Added CC||qinzhao at gcc dot gnu.org

[Bug other/120905] Unable to compile GCC 6.5.0 with GCC 5.5.0 on Solaris 10 SPARC (linker error?)

2025-07-02 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120905 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Commen

[Bug libstdc++/119744] [C++23] Implement P2711R1, Making multi-param constructors of views explicit

2025-07-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119744 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ncm at gcc dot gnu.org Targe

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

2025-07-02 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 119744, which changed state. Bug 119744 Summary: [C++23] Implement P2711R1, Making multi-param constructors of views explicit https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119744 What|Removed

[Bug gcov-profile/120881] [16 Regression] -pg may not call mount at function entry by r16-1550-g9244ea4bf55638

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120881 --- Comment #22 from H.J. Lu --- (In reply to H.J. Lu from comment #21) > Created attachment 61785 [details] > A patch to warn -pg without -mfentry with shrink wrapping enabled __fentry__ was added in 2010: commit d22e4cc9397ed41534c9422d0b0ff

[Bug tree-optimization/120927] [15/16 Regression] 510.parest_r segfaults built with -Ofast -march=znver4 --param vect-partial-vector-usage=1

2025-07-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120927 --- Comment #4 from Richard Biener --- So the details are hidden in template QGauss5::QGauss5 () : Quadrature (QGauss5(), QGauss5<1>()) {} with the following inlined template <> QGauss5<1>::QGauss5 ()

[Bug gcov-profile/120928] New: Feature request: Temporal PGO support for GCC

2025-07-02 Thread zamazan4ik at tut dot by via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120928 Bug ID: 120928 Summary: Feature request: Temporal PGO support for GCC Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/120651] [15/16 Regression] RISC-V: Miscompile at -O3 with -flto since r15-3228-g771256bcb9d

2025-07-02 Thread alexey.merzlyakov at samsung dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120651 Alexey Merzlyakov changed: What|Removed |Added CC||alexey.merzlyakov at samsung dot c

[Bug target/120356] [15/16 Regression] RISC-V: Miscompile at -O[23] since r15-6881-g7b815107f40

2025-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120356 --- Comment #6 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:9c1ed63e4c6b0f80dd47ce421dd7d80d52c38fd3 commit r16-1912-g9c1ed63e4c6b0f80dd47ce421dd7d80d52c38fd3 Author: Alexey Merzlyakov Date: We

[Bug target/120356] [15 Regression] RISC-V: Miscompile at -O[23] since r15-6881-g7b815107f40

2025-07-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120356 Jeffrey A. Law changed: What|Removed |Added Summary|[15/16 Regression] RISC-V: |[15 Regression] RISC-V:

[Bug target/120651] [15/16 Regression] RISC-V: Miscompile at -O3 with -flto since r15-3228-g771256bcb9d

2025-07-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120651 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/120356] [15 Regression] RISC-V: Miscompile at -O[23] since r15-6881-g7b815107f40

2025-07-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120356 --- Comment #8 from Jeffrey A. Law --- *** Bug 120651 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/120871] missing tail call optimization on RVO

2025-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120871 --- Comment #11 from Andrew Pinski --- (In reply to Andrew Pinski from comment #10) > > Patch posted: > https://gcc.gnu.org/pipermail/gcc-patches/2025-July/688286.html > > That just fixes the tail recusion part. The tail call part I will post

[Bug gcov-profile/120881] [16 Regression] -fstack-protector-all -pg doesn't call mount at function entry by r16-1550-g9244ea4bf55638

2025-07-02 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120881 --- Comment #17 from Uroš Bizjak --- (In reply to H.J. Lu from comment #16) > SHRINK_WRAPPING_ENABLED is for checking if shrink wrapping is enabled. True, but we could place mcount at entry only for functions where it is strictly required. IIRC

[Bug tree-optimization/120924] New: [15/16 Regression] -Wmaybe-uninitialized regression on s390x

2025-07-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120924 Bug ID: 120924 Summary: [15/16 Regression] -Wmaybe-uninitialized regression on s390x Product: gcc Version: 15.2.1 Status: UNCONFIRMED Severity: normal

[Bug gcov-profile/120881] [16 Regression] -fstack-protector-all -pg doesn't call mount at function entry by r16-1550-g9244ea4bf55638

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120881 --- Comment #18 from H.J. Lu --- (In reply to Uroš Bizjak from comment #17) > (In reply to H.J. Lu from comment #16) > > > SHRINK_WRAPPING_ENABLED is for checking if shrink wrapping is enabled. > True, but we could place mcount at entry only fo

[Bug tree-optimization/120924] [15/16 Regression] -Wmaybe-uninitialized regression on s390x

2025-07-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120924 Richard Biener changed: What|Removed |Added Keywords||diagnostic See Also|

[Bug rust/119641] narrowing Warning during bootstrap in Rust::BIR::PlaceDB::lookup_or_add_variable

2025-07-02 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119641 Thomas Schwinge changed: What|Removed |Added Target Milestone|--- |15.2 CC|

[Bug target/120925] New: partial kortest pattern not recognized

2025-07-02 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120925 Bug ID: 120925 Summary: partial kortest pattern not recognized Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Pr

[Bug gcov-profile/120881] [16 Regression] -pg may not call mount at function entry by r16-1550-g9244ea4bf55638

2025-07-02 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120881 --- Comment #19 from Uroš Bizjak --- (In reply to H.J. Lu from comment #18) > > Perhaps a better approach is to error out for -fstack-protector-all -pg > > without -fentry. > > It can happen without -fstack-protector-all. I see. I suggest to w

[Bug libstdc++/120895] AVX data types default alignment is not correct

2025-07-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120895 --- Comment #35 from Jakub Jelinek --- Note, the alignof value for __m512 when -mavx512f is not enabled has been changed in r8-7957-gaa2b10551159df as part of the PR69560 https://wg21.link/CWG1879 implementation, the type had the similar propert

[Bug libstdc++/120895] AVX data types default alignment is not correct

2025-07-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120895 --- Comment #33 from Jakub Jelinek --- If you want a type that will be always 64-byte aligned, it can be easily defined, e.g. by typedef float m512 __attribute__ ((__vector_size__ (64), __may_alias__, __aligned__ (64))); and you can then use it

[Bug tree-optimization/98845] [12 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 23 which are marked as MUST COALESCE.) since r6-528-g465770e43996a132

2025-07-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98845 Richard Biener changed: What|Removed |Added Known to fail||12.5.0 Status|ASSIGNED

[Bug tree-optimization/19794] [meta-bug] Jump threading related bugs

2025-07-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19794 Bug 19794 depends on bug 102844, which changed state. Bug 102844 Summary: [12 Regression] DOM jump threading not copying block that became non-empty https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102844 What|Removed

  1   2   >