[Bug tree-optimization/115766] [12/13/14 Regression] wrong code at optimization levels -O2, -O3

2024-07-18 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115766 --- Comment #10 from Bi6c --- Sorry I pasted the wrong link. It should be this one https://godbolt.org/z/GM13fhWbb

[Bug target/115978] [x86] GCC issues an error when using -m32 -march=native on APX available machine

2024-07-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115978 --- Comment #5 from H.J. Lu --- (In reply to Hongtao Liu from comment #4) > To clarify, the question originally came from whether or not to report error > for -m32,-march=native, and then LLVM folks said it's diffcult for LLVM not > issuing erro

[Bug c/106800] Expose more vector extensions in C

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106800 --- Comment #3 from Richard Biener --- Created attachment 58699 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58699&action=edit patches in progress I've come up with this sofar, it's a bit difficult to navigate the current behavior wrt.

[Bug fortran/82904] [11/12/13/14/15 Regression][Coarray] ICE in make_ssa_name_fn, at tree-ssanames.c:261

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82904 --- Comment #17 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:0231b076dc98eb02e3289b21ace1757782e3917b commit r15-2131-g0231b076dc98eb02e3289b21ace1757782e3917b Author: Andre Vehreschild D

[Bug middle-end/106805] Undue optimisation of floating-point comparisons

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106805 --- Comment #11 from GCC Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:030186cabe8128e752619e101768cf8823a42c38 commit r15-2132-g030186cabe8128e752619e101768cf8823a42c38 Author: Roger Sayle Date: Thu

[Bug tree-optimization/57371] Simplify (double)i != 0

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57371 --- Comment #11 from GCC Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:030186cabe8128e752619e101768cf8823a42c38 commit r15-2132-g030186cabe8128e752619e101768cf8823a42c38 Author: Roger Sayle Date: Thu J

[Bug c++/115897] [14/15 Regression] vector_size attribute on alias template has no effect when used in a dependent variable template-id

2024-07-18 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115897 Matthias Kretz (Vir) changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXE

[Bug target/115978] [x86] GCC issues an error when using -m32 -march=native on APX available machine

2024-07-18 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115978 --- Comment #6 from Hongtao Liu --- (In reply to H.J. Lu from comment #5) > (In reply to Hongtao Liu from comment #4) > > To clarify, the question originally came from whether or not to report error > > for -m32,-march=native, and then LLVM folk

[Bug tree-optimization/104515] [11/12/13/14/15 Regression] trivially-destructible destructors interfere with loop optimization - maybe related to lifetime-dse.

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104515 --- Comment #11 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:8c67dc40459e3d72e8169b099cc8c5dbdb759da3 commit r15-2133-g8c67dc40459e3d72e8169b099cc8c5dbdb759da3 Author: Richard Biener Date:

[Bug c++/115897] [14/15 Regression] vector_size attribute on alias template has no effect when used in a dependent variable template-id

2024-07-18 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115897 --- Comment #8 from Matthias Kretz (Vir) --- I can work around 'wrong1' and 'wrong3' by replacing std::is_same_v<...> with __is_same(...).

[Bug tree-optimization/104515] [11/12/13/14 Regression] trivially-destructible destructors interfere with loop optimization - maybe related to lifetime-dse.

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104515 Richard Biener changed: What|Removed |Added Known to work||15.0 Summary|[11/12/13/14/1

[Bug fortran/108889] [12/13/14/15 Regression] (Re)Allocate in assignment shows used uninitialized memory warning with -Wall if LHS is unallocated

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108889 --- Comment #10 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:c3aa339ea50f050caf7ed2e497f5499ec2d7b9cc commit r15-2135-gc3aa339ea50f050caf7ed2e497f5499ec2d7b9cc Author: Paul Thomas Date: Thu

[Bug tree-optimization/115979] Implicitly generated C++ calls stop musttail search early

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115979 --- Comment #1 from Richard Biener --- I'd say the frontend should diagnose [[gnu::musttail]] in such a case because it can use appropriate C++ wording?

[Bug tree-optimization/115979] Implicitly generated C++ calls stop musttail search early

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115979 --- Comment #2 from Richard Biener --- (In reply to Richard Biener from comment #1) > I'd say the frontend should diagnose [[gnu::musttail]] in such a case > because it can use appropriate C++ wording? A possible point could be genericization/g

[Bug c++/57437] [4.7/4.8/4.9 Regression] C++11: mutable lambdas

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57437 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb commit r15-2136-ge217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb Author: Sam James Date: Thu Ju

[Bug libstdc++/88101] Implement P0528R3, C++20 cmpxchg and padding bits

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88101 --- Comment #15 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb commit r15-2136-ge217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb Author: Sam James Date: Thu J

[Bug c/65345] ICE with _Generic selection on _Atomic int

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65345 --- Comment #31 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb commit r15-2136-ge217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb Author: Sam James Date: Thu J

[Bug c++/53288] [C++11] Lifetime of temporary object backing pointer-to-member expression not extended

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53288 --- Comment #7 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb commit r15-2136-ge217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb Author: Sam James Date: Thu Ju

[Bug tree-optimization/96369] [8 Regression] Wrong evaluation order of || operator

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96369 --- Comment #10 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb commit r15-2136-ge217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb Author: Sam James Date: Thu J

[Bug tree-optimization/108692] [11 Regression] Miscompilation of orc_test.c since r11-5160

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108692 --- Comment #10 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb commit r15-2136-ge217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb Author: Sam James Date: Thu

[Bug tree-optimization/102124] [11/12 Regression] -ftree-loop-vectorize Causing Data To Lose Sign Bit on AARCH64 Platform

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102124 --- Comment #11 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb commit r15-2136-ge217e7dbdc1040e7ee160796e9ca1ef12a0dd1cb Author: Sam James Date: Thu

[Bug fortran/78466] [coarray] Explicit cobounds of a procedures parameter not respected

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78466 --- Comment #4 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:18f3b223b97011c2eab71c8e48c3a38a12ff8f65 commit r15-2137-g18f3b223b97011c2eab71c8e48c3a38a12ff8f65 Author: Andre Vehreschild Da

[Bug fortran/80774] [11/12/13/14/15 Regression][Coarray] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80774 --- Comment #13 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:18f3b223b97011c2eab71c8e48c3a38a12ff8f65 commit r15-2137-g18f3b223b97011c2eab71c8e48c3a38a12ff8f65 Author: Andre Vehreschild D

[Bug c++/110855] std::source_location doesn't work with C++20 coroutine

2024-07-18 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110855 --- Comment #5 from Arsen Arsenović --- agreed, but note that it still gives us the name of the actor function: pr110855.C:51:1ReturnObject bar(int) pr110855.C:51:1void bar(bar(int)::_Z3bari.Frame*) (the latter print is from initial_suspen

[Bug target/115950] Missed SVE fold to INCP

2024-07-18 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115950 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Com

[Bug rtl-optimization/115981] New: Redundant vmovaps to itself after vmovups

2024-07-18 Thread user202729 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115981 Bug ID: 115981 Summary: Redundant vmovaps to itself after vmovups Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-op

[Bug target/115950] Missed SVE fold to INCP

2024-07-18 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115950 --- Comment #5 from Richard Sandiford --- Alternatively, I suppose we could say that svcntp_bN(svptrue_bN(), pg) etc. should be folded to svcntp_bN(pg, pg) in gimple/expand, and then make the INCP/DECP wrappers only match the equal-predicate ver

[no subject]

2024-07-18 Thread ozin uawz via Gcc-bugs
📢 เรียนท่านเจ้าของกิจการ 📢 หากท่านกำลังมองหาทุนหมุนเวียนระยะสั้น 📢 ดอกเบี้ยเริ่มต้น 1.5% ถ้าท่านสนใจบริการของเรา สอบถามเพิ่มเติมได้เลยครับ Line ID : esc.credit โทร : 093-6782499 คุณตะวัน โทร : 082-5928519 คุณเอก 📢 ไม่ต้องเดินทางเราไปทำสัญญาถึงที่ ❌ ทางเราไม่มี นโยบายให้ก่อนทำสัญญาทั้งสิ้น ❌ ขออภัยห

[Bug rtl-optimization/115982] New: ICE: unrecognizable insn in ira_remove_insn_scratches with -mavx512vl

2024-07-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115982 Bug ID: 115982 Summary: ICE: unrecognizable insn in ira_remove_insn_scratches with -mavx512vl Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-v

[Bug ipa/110057] Missed devirtualization opportunities

2024-07-18 Thread user202729 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #20 from user202729 --- (In reply to Jonathan Wakely from comment #19) > That's easily solved by accessing the new object through the pointer > returned by the new expression: > > std::vector v(1); > Base* p = v.data(); > p->~Base()

[Bug target/115981] [14/15 Regression] Redundant vmovaps to itself after vmovups

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115981 Richard Biener changed: What|Removed |Added Summary|Redundant vmovaps to itself |[14/15 Regression] |

[Bug c++/109753] [13/14 Regression] pragma GCC target causes std::vector not to compile (always_inline on constructor)

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109753 Richard Biener changed: What|Removed |Added Depends on||115403 --- Comment #21 from Richard Bi

[Bug analyzer/111475] [14 regression] Many C++ analyzer tests FAIL

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111475 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/115459] [14 regression] Alpha/Linux ICE: in gen_rtx_SUBREG, at emit-rtl.cc:1032 around g-debpoo.adb:1896:8, as from r14-1187-gd6b756447cd5

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

[Bug c++/115754] [14 Regression] C++26 ICE on constexpr new

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115754 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/115645] [11/12/13/14 Regression] new S[1][1]() requires non-explicit default ctor since r11-3092

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115645 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug middle-end/115527] incorrect folding of __builtin_clear_padding()

2024-07-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115527 --- Comment #14 from Jakub Jelinek --- Should be fixed for 15.1+, 14.2+ and 11.5 for now, 13 and 12 backports to be done later.

[Bug middle-end/115887] ICE: in gsi_insert_on_edge_immediate, at gimple-iterator.cc:849 with -O -fnon-call-exceptions -finstrument-functions and _BitInt()

2024-07-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115887 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug ipa/115815] [13/14/15 Regression] ICE: in purge_all_uses, at ipa-param-manipulation.cc:632 with -O2 -flto and incorrect usage of attribute destructor

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115815 Richard Biener changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug tree-optimization/115753] [15 Regression] ICE: tree check: expected ssa_name, have integer_cst in supportable_indirect_convert_operation, at tree-vect-stmts.cc:14680

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115753 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/115671] [15 Regression] wrong code at -O1 with "-fgcse -fno-inline -fschedule-insns" on x86_64-linux-gnu

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115671 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/115960] gcc throws an error when I use Optional in c++17.

2024-07-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115960 --- Comment #7 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #6) > (In reply to Noah Williams from comment #5) > > It isn't? The library I was trying to compile included the "optional" > > header, and I had looked it up and fo

[Bug rtl-optimization/115982] ICE: unrecognizable insn in ira_remove_insn_scratches with -mavx512vl

2024-07-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115982 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug middle-end/115641] [11/12/13/14/15 Regression] GCC crashes on function has const attribute since r10-3830

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115641 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/115494] [14/15 Regression] wrong code at -O{2,3} on x86_64-linux-gnu since r14-3485

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

[Bug target/115406] [15 Regression] wrong code with vector compare at -O0 with -mavx512f since r15-920-gb6c6d5abf0d31c

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115406 Richard Biener changed: What|Removed |Added Last reconfirmed|2024-06-10 00:00:00 |2024-7-18 CC|

[Bug c++/115403] [15 Regression] highway build from git fails with 'target specific option mismatch' (templates) since r15-902-geff00046409a72

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115403 --- Comment #4 from Richard Biener --- (In reply to Sergei Trofimovich from comment #2) > `cvise` came up with this example: > > //$ cat float_test.cc.cc > template __attribute__((always_inline)) inline void > AssertEqual() {} > vo

[Bug tree-optimization/113673] [12/13/14 Regression] ICE: verify_flow_info failed: BB 5 cannot throw but has an EH edge with -Os -finstrument-functions -fnon-call-exceptions -ftrapv

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113673 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:0f593e4cd82eeced5d7666ae6752f238c7dbd7f6 commit r14-10455-g0f593e4cd82eeced5d7666ae6752f238c7dbd7f6 Author: Roger Sayle

[Bug analyzer/114899] [14 regression] Segmentation fault with -fsanitize=undefined and -fanalyzer since r14-2029-g0e466e978c7

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114899 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b0452ed2fdc8bd9d5e911b6ea3166e4cd4be5256 commit r14-10457-gb0452ed2fdc8bd9d5e911b6ea3166e4cd4be5256 Author: David Malcolm

[Bug tree-optimization/113787] [12/13/14 Regression] Wrong code at -O with ipa-modref on aarch64

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113787 --- Comment #24 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:0b7ec50ae2959153650c0b3dc134c8872ff9fcfc commit r14-10456-g0b7ec50ae2959153650c0b3dc134c8872ff9fcfc Author: Jan Hubicka

[Bug target/115351] [14 regression] pointless movs when passing by value on x86-64

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115351 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a4c9ade72885f9cf72c873d110545e4e3c2c7805 commit r14-10458-ga4c9ade72885f9cf72c873d110545e4e3c2c7805 Author: Roger Sayle

[Bug c++/115476] [13/14 Regression] __has_unique_object_representation ICE with array of uninstantiated type of unknown bound

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115476 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:c314867fc06d475e3c2ace32032e0d72e3915b55 commit r14-10459-gc314867fc06d475e3c2ace32032e0d72e3915b55 Author: Marek Polace

[Bug tree-optimization/115175] [15 Regression] GCC fails to bootstrap with --with-build-config='bootstrap-O3 bootstrap-lto' at r15-698-g38d1761c0c94b7

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115175 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926 Bug 101926 depends on bug 115351, which changed state. Bug 115351 Summary: [14 regression] pointless movs when passing by value on x86-64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115351 What|Removed |Added

[Bug analyzer/114899] [14 regression] Segmentation fault with -fsanitize=undefined and -fanalyzer since r14-2029-g0e466e978c7

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114899 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/115351] [14 regression] pointless movs when passing by value on x86-64

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115351 Richard Biener changed: What|Removed |Added Known to fail||14.1.0 Status|NEW

[Bug c++/102217] co_awaiting a temporary produced by ternary operator crashes (double-free)

2024-07-18 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102217 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug target/115969] [15 regression] ICE when building clang-16.0.6 on arm64 (output_operand: invalid expression as operand)

2024-07-18 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115969 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug fortran/115983] New: ICE on valid code in gfc_is_nodesc_array, at fortran/trans-types.cc:

2024-07-18 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115983 Bug ID: 115983 Summary: ICE on valid code in gfc_is_nodesc_array, at fortran/trans-types.cc: Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/115641] [11/12/13/14/15 Regression] GCC crashes on function has const attribute since r10-3830

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115641 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3670c70c561656a19f6bff36dd229f18120af127 commit r15-2139-g3670c70c561656a19f6bff36dd229f18120af127 Author: Richard Biener Date:

[Bug middle-end/115641] [11/12/13/14 Regression] GCC crashes on function has const attribute since r10-3830

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115641 Richard Biener changed: What|Removed |Added Known to work||15.0 Summary|[11/12/13/14/1

[Bug rtl-optimization/115984] New: Missed optimization: unnecessary register copies

2024-07-18 Thread nick.hudson at broadcom dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115984 Bug ID: 115984 Summary: Missed optimization: unnecessary register copies Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug rtl-optimization/115049] [14/15 Regression] Silent severe miscompilation around inline functions

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #14 from GCC Commits --- The master branch has been updated by Jonathan Yong : https://gcc.gnu.org/g:5080840d8fbf25a321dd27543a1462d393d338bc commit r15-2140-g5080840d8fbf25a321dd27543a1462d393d338bc Author: LIU Hao Date: Mon Ju

[Bug fortran/77518] [11/12/13/14/15 Regression] [Coarray] [OOP] ICE in gfc_advance_chain, at fortran/trans.c:58

2024-07-18 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77518 Andre Vehreschild changed: What|Removed |Added CC||vehre at gcc dot gnu.org A

[Bug c++/115985] New: anoymous struct with base class rejected by gcc

2024-07-18 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115985 Bug ID: 115985 Summary: anoymous struct with base class rejected by gcc Product: gcc Version: 13.2.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug rtl-optimization/115049] [14/15 Regression] Silent severe miscompilation around inline functions

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #15 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Yong : https://gcc.gnu.org/g:747c4b58573ea00419f64293a61537eb69f43307 commit r14-10460-g747c4b58573ea00419f64293a61537eb69f43307 Author: LIU Hao Date

[Bug c++/101232] Bad error message with stray semicolon in initializer

2024-07-18 Thread franek.witt at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101232 --- Comment #8 from Franciszek Witt --- Created attachment 58700 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58700&action=edit [patchv2] improvements to the previous patch

[Bug c++/101232] Bad error message with stray semicolon in initializer

2024-07-18 Thread franek.witt at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101232 --- Comment #9 from Franciszek Witt --- I have implemented the improvement mentioned by Jason and also added the hint about missing comma or operator. This patch fails testsuite/g++.dg/parse/error59.C but it was intended to check for ICE (see PR

[Bug c++/103963] Coroutine return type needs not be copy- or move-constructible

2024-07-18 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103963 Arsen Arsenović changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/99575] [coroutines] unexpected move when co_awaiting a nonmoveable object

2024-07-18 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99575 Arsen Arsenović changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Commen

[Bug rtl-optimization/115984] Missed optimization: unnecessary register copies

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115984 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target

[Bug c++/105475] coroutines: ICE in coerce_template_parms, at cp/pt.cc:9183

2024-07-18 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105475 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c++/114104] nodiscard not diagnosed on synthesized operator!=

2024-07-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114104 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug target/58416] Incorrect x87-based union copying code

2024-07-18 Thread akrl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416 akrl at gcc dot gnu.org changed: What|Removed |Added CC||akrl at gcc dot gnu.org --- Com

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-07-18 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 Andi Kleen changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/115526] [14/15 regression] invalid assember emitted for alpha, "Error: duplicate !tlsgd!62" since r14-5109-ga291237b628f41

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 --- Comment #26 from GCC Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:c5a26fc24b0af61498fae65ccad69d51d63d2a8b commit r12-10623-gc5a26fc24b0af61498fae65ccad69d51d63d2a8b Author: Uros Bizjak Da

[Bug c++/115865] [14/15 Regression] ICE with auto/std::initializer_list variable definition with -fsanitize=address

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115865 --- Comment #7 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:1e60a6abfece40c7bf55d6ca0a439078d3f5159a commit r15-2141-g1e60a6abfece40c7bf55d6ca0a439078d3f5159a Author: Marek Polacek Date: Th

[Bug target/115526] [14/15 regression] invalid assember emitted for alpha, "Error: duplicate !tlsgd!62" since r14-5109-ga291237b628f41

2024-07-18 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/115986] New: [14/15 Regression] ICE in fold_convert_loc, at fold-const.cc:2644 involving user-defined uint128 literals

2024-07-18 Thread valentin at tolmer dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115986 Bug ID: 115986 Summary: [14/15 Regression] ICE in fold_convert_loc, at fold-const.cc:2644 involving user-defined uint128 literals Product: gcc Version: 14.0

[Bug middle-end/114661] Bit operations not optimized to multiplication

2024-07-18 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114661 Roger Sayle changed: What|Removed |Added Target Milestone|--- |15.0 Status|NEW

[Bug tree-optimization/115979] Implicitly generated C++ calls stop musttail search early

2024-07-18 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115979 --- Comment #3 from Andi Kleen --- Doing it in the frontend would require some duplication between C/C++ at least? I was thinking to just keep searching if has_mustail is set, but was wary of endless loops walking single basic block precessors.

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-18 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #19 from Andi Kleen --- Middle/back-end parts are in, still need acks for the C/C++ frontend parts

[Bug c++/115987] New: False "possibly dangling reference" false positive when having an extra template parameter

2024-07-18 Thread durosu at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115987 Bug ID: 115987 Summary: False "possibly dangling reference" false positive when having an extra template parameter Product: gcc Version: 13.3.1 Status: UNCONFIRMED

[Bug c++/115865] [14/15 Regression] ICE with auto/std::initializer_list variable definition with -fsanitize=address

2024-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115865 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:493035c8780cd510a680a791d0c7f94368164352 commit r14-10461-g493035c8780cd510a680a791d0c7f94368164352 Author: Marek Polacek

[Bug c++/115865] [14/15 Regression] ICE with auto/std::initializer_list variable definition with -fsanitize=address

2024-07-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115865 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/115987] False "possibly dangling reference" false positive when having an extra template parameter

2024-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115987 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes

2024-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642 Andrew Pinski changed: What|Removed |Added CC||durosu at yahoo dot com --- Comment #22

[Bug c++/115986] [14/15 Regression] ICE in fold_convert_loc, at fold-const.cc:2644 involving consteval user-defined uint128 literals

2024-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115986 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Summary|[1

[Bug c++/115986] [14/15 Regression] ICE in fold_convert_loc, at fold-const.cc:2644 involving consteval user-defined uint128 literals

2024-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115986 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-18 Ever confirmed|0

[Bug c++/115987] False "possibly dangling reference" false positive when having an extra template parameter

2024-07-18 Thread durosu at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115987 --- Comment #2 from Dan Urosu --- Hi Andrew, I cannot use "#pragma GCC diagnostic ignored" because we have thousands of call sites where we plan to use this kind of code. And we don't want to disable globally this warning either. Would "no_da

[Bug c++/115987] False "possibly dangling reference" false positive when having an extra template parameter

2024-07-18 Thread durosu at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115987 --- Comment #3 from Dan Urosu --- The 109642 is not a duplicate of the attached code. The error is the same but the code that causes it is completely different. Also, the "solution" to disable the warning/error is not actually resolving the iss

[Bug rtl-optimization/115984] Missed optimization: unnecessary register copies

2024-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115984 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-18 Blocks|

[Bug c++/115986] [14/15 Regression] ICE in fold_convert_loc, at fold-const.cc:2644 involving consteval user-defined uint128 literals

2024-07-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115986 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 Keywords|needs-bisection

[Bug c++/115986] [14/15 Regression] ICE in fold_convert_loc, at fold-const.cc:2644 involving consteval user-defined uint128 literals

2024-07-18 Thread valentin at tolmer dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115986 --- Comment #3 from Valentin Tolmer --- Some notes: - The fact that the static_assert fails is not relevant. Changing b() to return 1 still exhibits the error. - The branch taken in `long f = true ? 0 : b(long(1));` matters; it only fails if b i

[Bug c++/115987] False "possibly dangling reference" false positive when having an extra template parameter

2024-07-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115987 --- Comment #4 from Jonathan Wakely --- Firstly, you're reporting a false positive warning, so using -Werror just confuses things. Some warnings have false positives, that's unavoidable. But it only fails to compile because you used -Werror. Don

[Bug c++/115987] False "possibly dangling reference" false positive when having an extra template parameter

2024-07-18 Thread durosu at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115987 --- Comment #5 from Dan Urosu --- Ah indeed, but... In the real use case we call it from macro. #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdangling-reference" template     const T& unwrap_2(const Wrapper& r, FUNC&&) { // n

[Bug c++/115985] anonymous struct with base class rejected by gcc

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

[Bug c++/115987] False "possibly dangling reference" false positive when having an extra template parameter

2024-07-18 Thread durosu at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115987 --- Comment #6 from Dan Urosu --- Using the macro with the unwrap_1 does not error. The GCC behavior is very weird. On Thursday, July 18, 2024 at 12:44:21 PM EDT, Dan Urosu wrote: Ah indeed, but... In the real use case we call it fr

[Bug c++/115987] False "possibly dangling reference" false positive when having an extra template parameter

2024-07-18 Thread durosu at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115987 --- Comment #7 from Dan Urosu --- Why does not warn for unwarp_1? The mere addition of an unused template parameter triggers this warning.

[Bug c++/115987] False "possibly dangling reference" false positive when having an extra template parameter

2024-07-18 Thread durosu at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115987 --- Comment #8 from Dan Urosu --- Why does not warn for unwarp_1? The mere addition of an unused template parameter triggers this warning. Also "decorating the unwrap_2 function to tell the compiler not to warn there." does not work if we have

  1   2   3   >