[Bug target/120933] 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 --- Comment #2 from H.J. Lu --- This should be opt-in since it requires glibc fix https://sourceware.org/bugzilla/show_bug.cgi?id=31372

[Bug libstdc++/120934] views::concat is ill-formed depending on argument order

2025-07-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120934 Patrick Palka changed: What|Removed |Added Target Milestone|--- |15.2

[Bug libstdc++/120934] views::concat is ill-formed depending on argument order

2025-07-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120934 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug c++/118856] [15 Regression] ICE in gimplify_var_or_parm_decl at gimplify.cc:3346 on mesonlsp-4.3.7 since r15-7481

2025-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118856 --- Comment #14 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:53c832282690ca1cd86e2eaf0128c70ba4edfc0f commit r16-1916-g53c832282690ca1cd86e2eaf0128c70ba4edfc0f Author: Jason Merrill Date: W

[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 cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120684 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:53c832282690ca1cd86e2eaf0128c70ba4edfc0f commit r16-1916-g53c832282690ca1cd86e2eaf0128c70ba4edfc0f Author: Jason Merrill Date: We

[Bug target/48868] There are no -mtls-dialect=gnu2 run-time tests

2025-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48868 --- Comment #4 from Sam James --- (In reply to Sam James from comment #3) > Should we copy gcc.target/i386/math-torture for a new > gcc.target/i386/tls-torture, and move testcases referencing __thread from > gcc.target/i386 inside? There are sev

[Bug target/120908] *tls_(loacal|global)_dynamic_64_ has an implicit RDI clobber

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120908 H.J. Lu changed: What|Removed |Added Summary|*tls_global_dynamic_64_ has an implicit RDI |c_64_ has an implicit

[Bug target/48868] There are no -mtls-dialect=gnu2 run-time tests

2025-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48868 --- Comment #3 from Sam James --- dg-torture as suggested in https://inbox.sourceware.org/gcc-patches/CAFiYyc2s-nBPwON-zLqprGUy_nNOZwHCq9LtK99M53=xk+j...@mail.gmail.com/ would help. Should we copy gcc.target/i386/math-torture for a new gcc.targe

[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/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 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/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 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 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 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 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 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 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/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 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 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 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] 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 --- 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 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 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 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 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 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 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 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 libstdc++/120934] New: views::concat is ill-formed depending on argument order

2025-07-02 Thread francois.hamonic at gmail dot com via Gcc-bugs
` while `std::views::concat(r1, r2)` is fine. The same behavior has been observed on all recent GCC implementations I tested (local GCC 15.1.0 and Godbolt GCC 15.1 and 16.0 trunk). The following error message is produced by https://godbolt.org/z/ac5jKe4Gr (GCC 16.0.0 20250702 (experimental) with ` -Wall

[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 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 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 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 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 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 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 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 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 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++/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 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 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++/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 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/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/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 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 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

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

2025-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120908 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[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 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.2 Known to fail|

[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/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 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 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] 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 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 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 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 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/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 target/114665] [14/15 only] RISC-V rv64gcv: miscompile at -O3

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

[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 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 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 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 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/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 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 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 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 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 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 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 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 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] 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++/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 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 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 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] 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 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/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 Status|UNCONFIRMED |RESOLVED Resolution|---

[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 --- Comment #1 from Andrew Pinski --- GCC already does some of this even without PGO.

[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 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 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 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 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target|

[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 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 c++/106057] [12 Regression] Missed stmt_can_throw_external check in stmt_kills_ref_p

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

  1   2   >