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

2024-07-17 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115766 --- Comment #9 from Bi6c --- https://godbolt.org/ Yes, I also tried to use the compiler explorer. When I compiled with gcc-12.3.0, I got the results below. -O0: c[7][4].a: 2 -O2: c[7][4].a: 3

[Bug tree-optimization/115977] [12/13/14/15 Regression] [sra] Regression targeting PowerPC 970

2024-07-17 Thread awilfox at adelielinux dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115977 --- Comment #4 from A. Wilcox (awilfox) --- I don't see how that tracks. I think -ffp-contract=off is changing the upper passes enough that the optimiser no longer trips over it, similar to how -mcpu=970 affects it. Checking the tree dumps and

[Bug sanitizer/115972] [10/11 Regression] Misaligned address error check missing

2024-07-17 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115972 --- Comment #3 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #2) > And again GCC 10 is EOL. Please don't put a "10 regression" marker in the > subject even for valid reports in the future. You can put 10.x into "known > to work" for i

[Bug sanitizer/115972] [10/11 Regression] Misaligned address error check missing

2024-07-17 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115972 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #2 fr

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

2024-07-17 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115978 --- Comment #4 from Hongtao Liu --- 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 error for -march=native -m32, but issuing error

[Bug tree-optimization/115843] [14 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 --- Comment #20 from GCC Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:228972b2b7bf50f4776f8ccae0d7c2950827d0f1 commit r15-2127-g228972b2b7bf50f4776f8ccae0d7c2950827d0f1 Author: liuhongt Date: Tue Jul

[Bug target/110632] RISC-V: SLP optimisation

2024-07-17 Thread jiawei at iscas dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110632 jiawei changed: What|Removed |Added CC||jiawei at iscas dot ac.cn --- Comment #1 from

[Bug c/115980] New: RISC-V: RVV dynamic-lmul test fail

2024-07-17 Thread jiawei at iscas dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115980 Bug ID: 115980 Summary: RISC-V: RVV dynamic-lmul test fail Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c A

[Bug testsuite/115894] [15 regression] gcc.target/arm/pr111235.c test failure

2024-07-17 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115894 Surya Kumari Jangala changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNE

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

2024-07-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115978 --- Comment #3 from H.J. Lu --- Please add tests similar to https://gcc.gnu.org/g:cc11b924bfe7752edbba052ca71653f46a60887a

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

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

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

2024-07-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115978 H.J. Lu changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com Ever c

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

2024-07-17 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115979 Bug ID: 115979 Summary: Implicitly generated C++ calls stop musttail search early Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

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

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #18 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:d062b0abf45cd54057352fc4b7827a3b1b9a160a commit r15-2126-gd062b0abf45cd54057352fc4b7827a3b1b9a160a Author: Andi Kleen Date: Fri Jun

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

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #17 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:81824596361cf4919d6dc026155160581c99b860 commit r15-2125-g81824596361cf4919d6dc026155160581c99b860 Author: Andi Kleen Date: Tue May

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

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:983daf0e5fdaada5b930374c21455d42d34350be commit r15-2123-g983daf0e5fdaada5b930374c21455d42d34350be Author: Andi Kleen Date: Sat Jun

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

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #16 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:b738a63e528db410a1c51fc27db37fe22f0cb397 commit r15-2124-gb738a63e528db410a1c51fc27db37fe22f0cb397 Author: Andi Kleen Date: Wed May

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

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #15 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:a6502accf381358173b19e615fdeb0aa17949c93 commit r15-2122-ga6502accf381358173b19e615fdeb0aa17949c93 Author: Andi Kleen Date: Tue Jan

[Bug tree-optimization/82776] Unable to optimize the loop when iteration count is unavailable.

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82776 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0 Resolution|---

[Bug c++/103524] [meta-bug] modules issue

2024-07-17 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 115165, which changed state. Bug 115165 Summary: ICE on -ftime-report with module and c++2b https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115165 What|Removed |Added

[Bug c++/115165] ICE on -ftime-report with module and c++2b

2024-07-17 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115165 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org

[Bug c++/115165] ICE on -ftime-report with module and c++2b

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115165 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:f0c3a1c16af234b55f48cf1cfe299417f93f163c commit r14-10453-gf0c3a1c16af234b55f48cf1cfe299417f93f163c Author: Nathaniel Sh

[Bug c++/115165] ICE on -ftime-report with module and c++2b

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115165 --- Comment #2 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:b7b2434cc7e712dc5055bde02c441393ae881f06 commit r15-2121-gb7b2434cc7e712dc5055bde02c441393ae881f06 Author: Nathaniel Shead Date:

[Bug target/115978] New: x86 backend crashes when using -m32 -march=native (if machine support APX)

2024-07-17 Thread lingling.kong7 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115978 Bug ID: 115978 Summary: x86 backend crashes when using -m32 -march=native (if machine support APX) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

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

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115969 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > The problem is here: > ``` > /* Return TRUE if OP is a valid vector addressing mode. */ > > bool > aarch64_simd_mem_operand_p (rtx op) > { > return MEM_P (op

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

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115969 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target --- Comment #6 from Andrew Pinsk

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

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115969 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization Keywords|nee

[Bug sanitizer/115972] [10/11 Regression] Misaligned address error check missing

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

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

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115969 Andrew Pinski changed: What|Removed |Added CC||rsandifo 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-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115969 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code, |

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

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115969 --- Comment #2 from Andrew Pinski --- #5 0x00f7d015 in output_asm_insn (operands=, templ=0x287a292 "ld1r\t{%0.2s}, %1") at ../../gcc/final.cc:3420 3420 if (*templ == 0) (gdb) up (insn:TI 233 1301 1297 (set (reg:V2SI 63 v31)

[Bug tree-optimization/115977] [12/13/14/15 Regression] [sra] Regression targeting PowerPC 970

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

[Bug tree-optimization/115977] [12/13/14/15 Regression] [sra] Regression targeting PowerPC 970

2024-07-17 Thread awilfox at adelielinux dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115977 --- Comment #2 from A. Wilcox (awilfox) --- awilcox@gwyn gtx $ c++ -fno-stack-protector -mcpu=970 -mtune=power9 -O2 -o test gtx_euler_angle.cpp; ./test; echo $? 0 awilcox@gwyn gtx $ c++ -mcpu=970 -mtune=power9 -O2 -o test gtx_euler_angle.cpp; ./

[Bug tree-optimization/115977] [12/13 Regression] [sra] Regression targeting PowerPC 970

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

[Bug target/107181] [13 regression] new test case gcc.dg/pr25521.c fails in r13-2952-ga0aafbc324aa90

2024-07-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107181 Sam James changed: What|Removed |Added Summary|new test case |[13 regression] new test

[Bug tree-optimization/115977] New: [12/13 Regression] [sra] Regression targeting PowerPC 970

2024-07-17 Thread awilfox at adelielinux dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115977 Bug ID: 115977 Summary: [12/13 Regression] [sra] Regression targeting PowerPC 970 Product: gcc Version: 12.3.0 Status: UNCONFIRMED Severity: normal P

[Bug target/107181] new test case gcc.dg/pr25521.c fails in r13-2952-ga0aafbc324aa90

2024-07-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107181 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #6 fr

[Bug target/107181] new test case gcc.dg/pr25521.c fails in r13-2952-ga0aafbc324aa90

2024-07-17 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107181 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug target/108220] ICE: maximum number of generated reload insns per insn achieved (90)

2024-07-17 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108220 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org Reso

[Bug tree-optimization/115976] Missing uadd_sat/usub_sat/sstrunc vectorization

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115976 Andrew Pinski changed: What|Removed |Added Summary|Missing uadd_sat/usub_sat |Missing |vectorizatio

[Bug c++/112288] [11/12/13/14/15 Regression] ICE - internal compiler error: in instantiate_decl, at cp/pt.cc:26861 since r6-6830-g20a0c6f9bdbd78

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 --- Comment #12 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:30dd420a06ad7d2adf4a672d176caee632f8168a commit r15-2120-g30dd420a06ad7d2adf4a672d176caee632f8168a Author: Patrick Palka Date:

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

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114104 --- Comment #5 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:144b6099cdaa9ac1b298687c0cfdb06a970e338b commit r15-2118-g144b6099cdaa9ac1b298687c0cfdb06a970e338b Author: Patrick Palka Date: W

[Bug target/115974] sat_add, etc. vector patterns not done for aarch64 (non-sve)

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115974 --- Comment #3 from Andrew Pinski --- here is testcase for ustrunc at least (note llvm does not use uqxtn here even though it could): ``` void ustrunc0(unsigned long long *__restrict__ a, unsigned * __restrict__ b) { int i = 0;

[Bug c++/115731] Coroutine lambda type is incomplete when selecting promise constructor

2024-07-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115731 Patrick Palka changed: What|Removed |Added Last reconfirmed||2024-07-18 CC|

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

2024-07-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110855 Patrick Palka changed: What|Removed |Added Known to work||14.1.0, 15.0 CC|

[Bug c++/109227] coroutines: ICE in tree check: expected record_type or union_type or qual_union_type, have array_type in build_special_member_call, at cp/call.cc:11067

2024-07-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109227 Patrick Palka changed: What|Removed |Added CC||tobi at gcc dot gnu.org --- Comment #10

[Bug c++/112557] ICE with coroutines in build_special_member_call, at cp/call.cc:11093

2024-07-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112557 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug target/115974] sat_add, etc. vector patterns not done for aarch64 (non-sve)

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115974 --- Comment #2 from Andrew Pinski --- ssadd_optab -> SQADD usadd_optab -> UQADD sssub_optab -> SQSUB ussub_optab -> UQSUB (q) ustrunc_optab -> UQXTN sstrunc_optab -> SQXTN (aarch64_qmovn)

[Bug rtl-optimization/115916] [15 Regression] wrong code on highway-1.2.0 since r15-2011-ga6f551d079de1d

2024-07-17 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115916 --- Comment #7 from Sergei Trofimovich --- The change also fixed highway-1.2.0 testsuite for me. Thank you!

[Bug c++/115550] [coroutines] Reference to reference in promise constructor template argument corresponding to coroutine *this

2024-07-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115550 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |NEW Depends on|

[Bug target/115751] [15 Regression] ICE building 521.wrf_r

2024-07-17 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115751 Roger Sayle changed: What|Removed |Added Known to work||15.0 Resolution|---

[Bug rtl-optimization/115877] [15 Regression] wrong code at -Os (missing zero extension)

2024-07-17 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115877 --- Comment #8 from Jeffrey A. Law --- So testing my fix for this bug has exposed another secondary issue. Assuming there's not something else lurking, then plan is to address that secondary issue, then come back to this one, then dive into the

[Bug tree-optimization/115976] Missing uadd_sat/usub_sat vectorization

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115976 --- Comment #1 from Andrew Pinski --- Note f2 should really be: ``` void f2(unsigned *__restrict__ a, unsigned * __restrict__ b) { for(int i = 0;i < 1024;i ++) { long long ta = a[i]; long long tb = b[i];

[Bug tree-optimization/111150] (vec CMP vec) != (vec CMP vec) should just produce (vec CMP vec) ^ (vec CMP vec)

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3bbc8ea2e38d194fb5f2f52ab3f75301d4f84f06 commit r15-2113-g3bbc8ea2e38d194fb5f2f52ab3f75301d4f84f06 Author: Jakub Jelinek Date: W

[Bug tree-optimization/115976] New: Missing uadd_sat/usub_sat vectorization

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115976 Bug ID: 115976 Summary: Missing uadd_sat/usub_sat vectorization Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal P

[Bug target/115975] New: sat_add, etc. vector patterns not done for aarch64 (sve)

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115975 Bug ID: 115975 Summary: sat_add, etc. vector patterns not done for aarch64 (sve) Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug target/115974] sat_add, etc. vector patterns not done for aarch64 (simd)

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115974 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Severity|normal

[Bug target/115974] New: sat_add vector patterns not done for aarch64

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115974 Bug ID: 115974 Summary: sat_add vector patterns not done for aarch64 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug fortran/103115] [12/13/14/15 Regression] reallocation of character array fails when appending a constant size 4 array

2024-07-17 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103115 --- Comment #13 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #12) > Created attachment 58695 [details] > Tentative patch > > This patch fixes the ICE by ensuring to derive the element size of constant > character elements

[Bug target/115973] PPCLE: Inefficient code for __builtin_uaddll_overflow and __builtin_addcll

2024-07-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115973 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug fortran/103115] [12/13/14/15 Regression] reallocation of character array fails when appending a constant size 4 array

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

[Bug target/115973] New: PPCLE: Inefficient code for __builtin_uaddll_overflow and __builtin_addcll

2024-07-17 Thread jens.seifert at de dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115973 Bug ID: 115973 Summary: PPCLE: Inefficient code for __builtin_uaddll_overflow and __builtin_addcll Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: n

[Bug c++/115900] [14 Regression] constexpr object modification during construction gives "Modifying a const object is not allowed in a constant expression"

2024-07-17 Thread valentin at tolmer dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115900 --- Comment #10 from Valentin Tolmer --- Thanks a lot, that was fast!

[Bug sanitizer/108256] Missing integer overflow instrumentation when assignment LHS is narrow

2024-07-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108256 --- Comment #8 from Marek Polacek --- *** Bug 115971 has been marked as a duplicate of this bug. ***

[Bug sanitizer/115971] [12 Regression] Signed integer overflow check missing

2024-07-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115971 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug bootstrap/115951] [15 Regression] pgo+lto enabled bootstrap fails building gnat (ICE in fold_stmt, at gimple-range-fold.cc:701)

2024-07-17 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115951 --- Comment #6 from Arsen Arsenović --- *** Bug 115918 has been marked as a duplicate of this bug. ***

[Bug ada/115918] [15 regression] Bootstrap failure in GNAT with --with-build-config=bootstrap-lto --enable-languages=c,ada,c++,lto

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

[Bug sanitizer/115972] New: [10/11 Regression] Misaligned address error check missing

2024-07-17 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115972 Bug ID: 115972 Summary: [10/11 Regression] Misaligned address error check missing Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal P

[Bug sanitizer/115971] New: [12 Regression]

2024-07-17 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115971 Bug ID: 115971 Summary: [12 Regression] Product: gcc Version: 12.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee:

[Bug c++/115965] Stack smashing depending on order of declaration

2024-07-17 Thread nathan.teodosio at canonical dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115965 --- Comment #8 from Nathan Teodosio --- Ah sorry, I got fixated in the different behavior when swapping the order and didn't challenge the function. Thank you Andrew for elaborating on that and on -fsanitize=address, that is really appreciated!

[Bug c++/71469] Print possible override candidates when a method is marked override but doesn't override

2024-07-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71469 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mlevine55 at bloomberg dot net

[Bug c++/71469] Print possible override candidates when a method is marked override but doesn't override

2024-07-17 Thread mlevine55 at bloomberg dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71469 Michael Levine changed: What|Removed |Added CC||mlevine55 at bloomberg dot net --- Comm

[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-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115897 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/115970] RFE: add support for sending SARIF output to a pipe

2024-07-17 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115970 --- Comment #2 from David Malcolm --- One difference here is that VS code is sending the diagnostics one at a time as JSON-RPC messages containing SARIF "result" objects as they occur, whereas currently we write all our SARIF output at once on e

[Bug c++/111890] ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:1bbfe788d1a76979e5be14169248bc34106e9c03 commit r14-10451-g1bbfe788d1a76979e5be14169248bc34106e9c03 Author: Patrick Palka

[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-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115897 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2249c6348835c817f43c9fc55eac66e54ac1efeb commit r14-10450-g2249c6348835c817f43c9fc55eac66e54ac1efeb Author: Patrick Palka

[Bug c++/106760] [12/13/14/15 Regression] ICE: tree check: expected function_decl, have template_decl in get_fndecl_argument_location, at cp/call.cc:7801

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106760 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:79c5a09f959dc63824bd005522a072424f16d89d commit r14-10449-g79c5a09f959dc63824bd005522a072424f16d89d Author: Patrick Palka

[Bug other/115970] RFE: add support for sending SARIF output to a pipe

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115970 --- Comment #1 from Andrew Pinski --- Isn't this just writing through a named pipe?

[Bug other/115970] New: RFE: add support for sending SARIF output to a pipe

2024-07-17 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115970 Bug ID: 115970 Summary: RFE: add support for sending SARIF output to a pipe Product: gcc Version: unknown Status: UNCONFIRMED Keywords: SARIF Severity: normal

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

2024-07-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115969 --- Comment #1 from Sam James --- Slightly too big to attach: https://dev.gentoo.org/~sam/bugs/gcc/llvm-PR115969/SemaExpr.cpp.ii.xz.

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

2024-07-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
ult-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config=bootstrap-O3 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240717 (experimental) f438299ef6860b8233ffe1c5fda7d63f2f6c56ae (Gentoo Har

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

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115960 --- Comment #6 from Andrew Pinski --- (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 found it was part of C++ 17, so I thought > it was par

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

2024-07-17 Thread noahmartinwilliams at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115960 --- Comment #5 from Noah Williams --- (In reply to Jonathan Wakely from comment #4) > > The problem seems to be that, despite passing "-std=c++17", it doesn't use > > c++17 > > header files for the Optional identifier. > > Why should it? The n

[Bug rtl-optimization/115929] [15 regression] ICE on valid code at -O{2,3} with "-fschedule-insns" on x86_64-linux-gnu: Segmentation fault

2024-07-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115929 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/115928] [15 regression] ICE on valid code at -O2 with "-fgcse-sm" on x86_64-linux-gnu: in merge_clobber_groups, at rtl-ssa/accesses.cc:757

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

[Bug rtl-optimization/115929] [15 regression] ICE on valid code at -O{2,3} with "-fschedule-insns" on x86_64-linux-gnu: Segmentation fault

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115929 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:43a7ece873eba47a11c0b21b0068eee53740551a commit r15-2111-g43a7ece873eba47a11c0b21b0068eee53740551a Author: Richard Sandiford Da

[Bug rtl-optimization/115928] [15 regression] ICE on valid code at -O2 with "-fgcse-sm" on x86_64-linux-gnu: in merge_clobber_groups, at rtl-ssa/accesses.cc:757

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115928 --- Comment #1 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:71b31690a7c52413496e91bcc5ee4c68af2f366f commit r15-2110-g71b31690a7c52413496e91bcc5ee4c68af2f366f Author: Richard Sandiford Da

[Bug c++/115900] [14 Regression] constexpr object modification during construction gives "Modifying a const object is not allowed in a constant expression"

2024-07-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115900 Marek Polacek changed: What|Removed |Added Summary|[14/15 Regression] |[14 Regression] constexpr

[Bug c++/115900] [14/15 Regression] constexpr object modification during construction gives "Modifying a const object is not allowed in a constant expression"

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115900 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:d890b04197fb0ddba4fbfb32f88e266fa27e02f3 commit r15-2108-gd890b04197fb0ddba4fbfb32f88e266fa27e02f3 Author: Marek Polacek Date: We

[Bug c++/110343] [C++26] P2558R2 - Add @, $, and ` to the basic character set

2024-07-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110343 Jakub Jelinek changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #9

[Bug c++/115964] GCC accepts invalid program with explicit object member function overloads

2024-07-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115964 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/111150] (vec CMP vec) != (vec CMP vec) should just produce (vec CMP vec) ^ (vec CMP vec)

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

[Bug tree-optimization/111150] (vec CMP vec) != (vec CMP vec) should just produce (vec CMP vec) ^ (vec CMP vec)

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/111150] (vec CMP vec) != (vec CMP vec) should just produce (vec CMP vec) ^ (vec CMP vec)

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50 --- Comment #1 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:44fcc1ca11e7ea35dc9fb25a5317346bc1eaf7b2 commit r15-2106-g44fcc1ca11e7ea35dc9fb25a5317346bc1eaf7b2 Author: Eikansh Gupta Date: We

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

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 --- Comment #25 from GCC Commits --- The releases/gcc-13 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:37bd7d5c4e17c97d2b7d50f630b1cf8b347a31f4 commit r13-8920-g37bd7d5c4e17c97d2b7d50f630b1cf8b347a31f4 Author: Uros Bizjak Dat

[Bug c++/111890] ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class

2024-07-17 Thread heb1001 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 --- Comment #8 from Harry Butterworth --- I applied patch to 14.1.0 and my code compiles now. Thanks.

[Bug c++/115968] g++ 12 and above incorrectly optimize the code with Eigen (-O2 or -O1)

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115968 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #4 from Andrew Pi

[Bug tree-optimization/107200] False positive -Wdangling-pointer?

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107200 Andrew Pinski changed: What|Removed |Added CC||summersnow9403 at gmail dot com --- Com

[Bug tree-optimization/107200] False positive -Wdangling-pointer?

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107200 Andrew Pinski changed: What|Removed |Added CC||akihiko.odaki at daynix dot com --- Com

[Bug c++/115291] armv8-a GCC emits float32x2_t loads from uninitialized stack

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115291 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #4 from Andrew Pi

  1   2   >