[Bug tree-optimization/113458] Missed SLP for reduction of multiplication/addition with promotion

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113458 --- Comment #3 from Richard Biener --- On x86_64 with -mavx2 we vectorize t.c:7:13: note: Vectorizing SLP tree: t.c:7:13: note: Root stmt: sum_26 = _20 + sum_25; t.c:7:13: note: node 0x57386c0 (max_nunits=4, refcnt=1) vector(4) int t.c:7:13: no

[Bug tree-optimization/113458] Missed SLP for reduction of multiplication/addition with promotion

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113458 --- Comment #4 from Richard Biener --- (In reply to Hongtao Liu from comment #2) > > But if we reduce n to 4, the loop based vectorizer is not able to handle it > > either. > > Do we support 1 element vector(i.e V1SI) in vectorizer? Yes, but I

[Bug tree-optimization/113459] ICE: in as_a, at machmode.h:381 with memset() on a _BitInt() at -O1 and above

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

[Bug tree-optimization/113459] ICE: in as_a, at machmode.h:381 with memset() on a _BitInt() at -O1 and above

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

[Bug tree-optimization/113467] [14 regression] libgcrypt-1.10.3 is miscompiled

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

[Bug testsuite/113446] [14 Regression] gcc.dg/tree-ssa/scev-16.c FAILs

2024-01-18 Thread hliu at amperecomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113446 --- Comment #6 from Hao Liu --- Hi Jakub, That's great. Thanks for the fix.

[Bug target/113458] Missed SLP for reduction of multiplication/addition with promotion

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

[Bug tree-optimization/113467] [14 regression] libgcrypt-1.10.3 is miscompiled

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113467 --- Comment #7 from Richard Biener --- I do wonder whether LOOP_VINFO_EARLY_BREAKS_VECT_PEELED actually works (since without early exits we cannot handle a non-empty latch because of correctness issues). I'd very much have preferred to deal wit

[Bug tree-optimization/113467] [14 regression] libgcrypt-1.10.3 is miscompiled

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113467 --- Comment #8 from Richard Biener --- (In reply to Richard Biener from comment #7) > Does the following fix the issue? > > diff --git a/gcc/tree-vect-loop.cc b/gcc/tree-vect-loop.cc > index 330c4571c8d..b67ee783002 100644 > --- a/gcc/tree-vect

[Bug rust/113461] [14 Regression] rust-proc-macro.cc:174:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Werror=format=]

2024-01-18 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113461 Rainer Orth changed: What|Removed |Added Target|hppa*-*-linux* |hppa*-*-linux*, |

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2024-01-18 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #13 from

[Bug rust/113461] [14 Regression] rust-proc-macro.cc:174:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Werror=format=]

2024-01-18 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113461 --- Comment #3 from Rainer Orth --- Created attachment 57135 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57135&action=edit Proposed patch Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11, and x86_64-pc-linux-gnu.

[Bug rust/113461] [14 Regression] rust-proc-macro.cc:174:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Werror=format=]

2024-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113461 --- Comment #4 from Andrew Pinski --- Try after r14-8211-g2341df1cb9b3681bfefe29207887b2b3dc271a95 which was just committed.

[Bug target/113122] Assembler messages: Error: operand type mismatch for `movabs' / bad expression / invalid use of register with -fprofile -mcmodel=large -masm=intel

2024-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113122 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d4a2d91b46b2cf758b249a4545e34287e90da23b commit r14-8214-gd4a2d91b46b2cf758b249a4545e34287e90da23b Author: Jakub Jelinek Date: T

[Bug tree-optimization/113467] [14 regression] libgcrypt-1.10.3 is miscompiled

2024-01-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113467 --- Comment #9 from Sam James --- I get an ICE with that: ``` /tmp/build/./gcc/xgcc -B/tmp/build/./gcc/ -B/tmp/gcc/x86_64-pc-linux-gnu/bin/ -B/tmp/gcc/x86_64-pc-linux-gnu/lib/ -isystem /tmp/gcc/x86_64-pc-linux-gnu/include -isystem /tmp/gcc/x86_6

[Bug tree-optimization/113459] ICE: in as_a, at machmode.h:381 with memset() on a _BitInt() at -O1 and above

2024-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113459 --- Comment #3 from Jakub Jelinek --- (In reply to Richard Biener from comment #2) > unsigned buflen = TREE_INT_CST_LOW (TYPE_SIZE_UNIT (vr->type)) > + 1; > if (INTEGRAL_TYPE_P (vr->type)) > buflen = G

[Bug fortran/113471] New: [14 regression] wrong array bound check failure on valid code

2024-01-18 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113471 Bug ID: 113471 Summary: [14 regression] wrong array bound check failure on valid code Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/113467] [14 regression] libgcrypt-1.10.3 is miscompiled

2024-01-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113467 --- Comment #10 from Sam James --- (In reply to Sam James from comment #9) > Reduced: (just -O2 -m32)

[Bug target/87723] [9 Regression] ICE: output_operand: invalid %-code on s390x

2024-01-18 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87723 John Paul Adrian Glaubitz changed: What|Removed |Added CC||glaubitz at physik dot fu-be

[Bug target/87723] [9 Regression] ICE: output_operand: invalid %-code on s390x

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

[Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point

2024-01-18 Thread naveen at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980 --- Comment #2 from Naveen N Rao --- I don't really have a preference, though I tend to agree that nops before the local entry point aren't that useful. Even with the current approach, not all functions have instructions at the GEP and for those

[Bug target/87723] [9 Regression] ICE: output_operand: invalid %-code on s390x

2024-01-18 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87723 --- Comment #7 from John Paul Adrian Glaubitz --- (In reply to Sam James from comment #6) > As far as upstream is concerned, < 11 is EOL, but if you file a bug on the > suse side, maybe they'd be willing to do it. That's what I'm already doing.

[Bug rtl-optimization/56442] postreload uses content of clobbered register

2024-01-18 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56442 --- Comment #4 from Georg-Johann Lay --- Maybe this is similar to PR101188.

[Bug tree-optimization/113459] ICE: in as_a, at machmode.h:381 with memset() on a _BitInt() at -O1 and above

2024-01-18 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113459 --- Comment #4 from rguenther at suse dot de --- On Thu, 18 Jan 2024, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113459 > > --- Comment #3 from Jakub Jelinek --- > (In reply to Richard Biener from comment #

[Bug libstdc++/113450] [14 Regression] std/format/functions/format.cc FAILs

2024-01-18 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from Jonathan Wakely --- > I assume that int8_t is char on Solaris, rather than signed char? Indeed. AFAIK char being signed goes back to SysVr4 at least (and has bit

[Bug target/112862] [14 regression] gfortran.dg coarray tests FAIL on macOS 12+

2024-01-18 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112862 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #3 from Iain Sandoe --- > OK. So I realise the reason you see this and I wasn't: I have the habit of > installing before running the testsuite. When I test uninstalled, t

[Bug target/87723] [9 Regression] ICE: output_operand: invalid %-code on s390x

2024-01-18 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87723 --- Comment #8 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #7) > (In reply to Sam James from comment #6) > > As far as upstream is concerned, < 11 is EOL, but if you file a bug on the > > suse side, mayb

[Bug fortran/113471] [14 regression] wrong array bound check failure on valid code

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

[Bug rust/113472] New: rust/compile/issue-1446.rs FAILs

2024-01-18 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113472 Bug ID: 113472 Summary: rust/compile/issue-1446.rs FAILs Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rust

[Bug rust/113472] rust/compile/issue-1446.rs FAILs

2024-01-18 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113472 Rainer Orth changed: What|Removed |Added Target Milestone|--- |14.0

[Bug rust/113473] New: rust/compile/iterators1.rs etc. FAIL

2024-01-18 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113473 Bug ID: 113473 Summary: rust/compile/iterators1.rs etc. FAIL Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rust

[Bug rust/113473] rust/compile/iterators1.rs etc. FAIL

2024-01-18 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113473 Rainer Orth changed: What|Removed |Added Target Milestone|--- |14.0

[Bug c/113474] New: RISC-V: Fail to use vmerge.vim for constant vector

2024-01-18 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113474 Bug ID: 113474 Summary: RISC-V: Fail to use vmerge.vim for constant vector Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/113443] GCC rejects valid program involving parameter packs with in between class type

2024-01-18 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113443 --- Comment #1 from Jason Liam --- The explanation for why this is valid is given here: https://stackoverflow.com/questions/77832658/stdtype-identity-to-support-several-variadic-argument-lists

[Bug tree-optimization/113475] New: phi_analyzer::m_tab contents leak

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113475 Bug ID: 113475 Summary: phi_analyzer::m_tab contents leak Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimizat

[Bug tree-optimization/113475] [14 Regression] phi_analyzer::m_tab contents leak

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113475 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Summary|phi_analyzer::m_

[Bug tree-optimization/113476] New: [14 Regression] irange::maybe_resize leaks memory via IPA VRP

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113476 Bug ID: 113476 Summary: [14 Regression] irange::maybe_resize leaks memory via IPA VRP Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/113476] [14 Regression] irange::maybe_resize leaks memory via IPA VRP

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113476 Richard Biener changed: What|Removed |Added CC||amacleod at redhat dot com Target Mi

[Bug tree-optimization/113459] ICE: in as_a, at machmode.h:381 with memset() on a _BitInt() at -O1 and above

2024-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113459 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug tree-optimization/113476] [14 Regression] irange::maybe_resize leaks memory via IPA VRP

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113476 --- Comment #1 from Richard Biener --- Created attachment 57138 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57138&action=edit testcase For convenience here it is. I checked valgrind --leak-check=full ./cc1 -quiet -O3 -march=znver4 ~/

[Bug rust/113477] New: rust/compile/torture/alt_patterns1.rs FAILs

2024-01-18 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113477 Bug ID: 113477 Summary: rust/compile/torture/alt_patterns1.rs FAILs Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rust

[Bug tree-optimization/113476] [14 Regression] irange::maybe_resize leaks memory via IPA VRP

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113476 --- Comment #2 from Richard Biener --- In fact it occurs elsewhere as well: ==1854== 81,616 bytes in 2 blocks are possibly lost in loss record 1,363 of 1,373 ==1854==at 0x505A1DF: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreloa

[Bug rust/113477] rust/compile/torture/alt_patterns1.rs FAILs

2024-01-18 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113477 Rainer Orth changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/113475] [14 Regression] phi_analyzer::m_tab contents leak

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

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

2024-01-18 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111475 --- Comment #1 from Rainer Orth --- After commit ae034b9106fbdd855ec22ce221bb61a1a9a532c3 Author: David Malcolm Date: Thu Dec 14 16:53:50 2023 -0500 testsuite: move more analyzer test cases to c-c++-common (3) [PR96395] there are now 8

[Bug c/113474] RISC-V: Fail to use vmerge.vim for constant vector

2024-01-18 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113474 --- Comment #1 from Robin Dapp --- Good catch. Looks like the ifn expander always forces into a register. That's probably necessary on all targets except riscv. diff --git a/gcc/internal-fn.cc b/gcc/internal-fn.cc index a07f25f3aee..e923051d5

[Bug libstdc++/113450] [14 Regression] std/format/functions/format.cc FAILs

2024-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450 --- Comment #3 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:db42a0a98916340af8c08e6a7d328121b958 commit r14-8224-gdb42a0a98916340af8c08e6a7d328121b958 Author: Jonathan Wakely Date:

[Bug target/113312] Add __attribute__((no_callee_saved_registers)) for Intel FRED

2024-01-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113312 --- Comment #23 from H.J. Lu --- (In reply to Xin Li from comment #22) > Per Peter's suggestion, I added __attribute__((no_callee_saved_registers)) > to a linux source tree containing FRED patches: > https://github.com/xinli-intel/linux-fred-pub

[Bug c++/113478] New: -Os does not inline single instruction function

2024-01-18 Thread jari.helaakoski at qt dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113478 Bug ID: 113478 Summary: -Os does not inline single instruction function Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug libstdc++/113450] [14 Regression] std/format/functions/format.cc FAILs

2024-01-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113450 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug modula2/111956] [14 Regression] Many powerpc platforms do _not_ have support for IEEE754 long double

2024-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111956 --- Comment #21 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:f2872e00f61a5a333fa22e651d37d3b2035ac41f commit r14-8227-gf2872e00f61a5a333fa22e651d37d3b2035ac41f Author: Gaius Mulley Date: Th

[Bug ipa/113478] -Os does not inline single instruction function

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113478 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/113475] [14 Regression] phi_analyzer::m_tab contents leak

2024-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113475 --- Comment #2 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:895a2138265fd9cace3588404523122f73626d2a commit r14-8229-g895a2138265fd9cace3588404523122f73626d2a Author: Richard Biener Date:

[Bug tree-optimization/113475] [14 Regression] phi_analyzer::m_tab contents leak

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

[Bug tree-optimization/113467] [14 regression] libgcrypt-1.10.3 is miscompiled

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113467 --- Comment #11 from Richard Biener --- if (candidate && candidate->src != EDGE_PRED (loop->latch, 0)) return NULL; then ;)

[Bug c/113479] New: Two equivalent programs have inconsistent output results at the same optimization level

2024-01-18 Thread jiajing_zheng at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113479 Bug ID: 113479 Summary: Two equivalent programs have inconsistent output results at the same optimization level Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug target/112337] arm: ICE in arm_effective_regno when compiling for MVE

2024-01-18 Thread adhemerval.zanella at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337 Adhemerval Zanella changed: What|Removed |Added CC||adhemerval.zanella at linaro dot o

[Bug tree-optimization/110422] asm goto vs SRA

2024-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110422 --- Comment #4 from GCC Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:6764043e88a4208f7c69bf0ccd19ddc7a6016fb1 commit r14-8230-g6764043e88a4208f7c69bf0ccd19ddc7a6016fb1 Author: Martin Jambor Date: T

[Bug c/113474] RISC-V: Fail to use vmerge.vim for constant vector

2024-01-18 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113474 --- Comment #2 from JuzheZhong --- Oh. It's pretty simple fix. I am not sure whether Richards allow it since it's stage4 but worth to have a try. Could you send a patch ?

[Bug tree-optimization/113476] [14 Regression] irange::maybe_resize leaks memory via IPA VRP

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113476 Richard Biener changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug debug/113480] New: avr: internal compiler error: in add_dwarf_attr, at dwarf2out.cc:4503

2024-01-18 Thread gjl at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- This is a relatively new ICE that I see on the avr target. Compliled with "version 14.0.1 20240118 (experimental) (avr)"

[Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point

2024-01-18 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980 --- Comment #3 from Michael Matz --- (In reply to Kewen Lin from comment #1) > > As Segher's review comments in [2], to support "before NOPs" before global > entry and "after NOPs" after global entry, Just to be perfectly clear here: the "afte

[Bug debug/113480] [14 Regression] avr: internal compiler error: in add_dwarf_attr, at dwarf2out.cc:4503

2024-01-18 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113480 --- Comment #1 from Georg-Johann Lay --- The ICE actially goes away when I remove the __flash from the test case posted in comment #0.

[Bug debug/113480] [14 Regression] avr: internal compiler error: in add_dwarf_attr, at dwarf2out.cc:4503

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113480 Richard Biener changed: What|Removed |Added Keywords||ice-checking Target Milestone|---

[Bug bootstrap/113445] [14 Regression] bootstrap failure on f95-lang.cc: ‘-fcompare-debug’ failure since r14-8174

2024-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113445 --- Comment #7 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a6bf09f65aed44d36acaa511e552783bfb0e9a62 commit r14-8231-ga6bf09f65aed44d36acaa511e552783bfb0e9a62 Author: Maxim Kuvyrkov Date:

[Bug bootstrap/113445] [14 Regression] bootstrap failure on f95-lang.cc: ‘-fcompare-debug’ failure since r14-8174

2024-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113445 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debug/113481] New: avr: internal compiler error in decompose, at rtl.h:2298

2024-01-18 Thread gjl at gcc dot gnu.org via Gcc-bugs
--with-gnu-ld --disable-shared --with-fixed-point=no --with-long-double=64 --enable-languages=c,c++ Thread model: single Supported LTO compression algorithms: zlib gcc version 14.0.1 20240118 (experimental) (GCC)

[Bug sanitizer/113482] New: Sanitizer configuration error

2024-01-18 Thread jiajing_zheng at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113482 Bug ID: 113482 Summary: Sanitizer configuration error Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug debug/113481] [14 Regession] avr: internal compiler error in decompose, at rtl.h:2298

2024-01-18 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113481 Georg-Johann Lay changed: What|Removed |Added Summary|avr: internal compiler |[14 Regession] avr:

[Bug target/105522] [powerpc-darwin] ICE: in decode_addr_const, at varasm.c:3059

2024-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 --- Comment #10 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:aecc0d4ba73d0810334b351da1e67232cea450d3 commit r14-8232-gaecc0d4ba73d0810334b351da1e67232cea450d3 Author: Iain Sandoe Date: Sa

[Bug debug/113480] [14 Regression] avr: internal compiler error: in add_dwarf_attr, at dwarf2out.cc:4503

2024-01-18 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113480 --- Comment #3 from Georg-Johann Lay --- (In reply to Richard Biener from comment #2) > Does it fail with GCC 13 as well (if you add -fchecking)? Yes. And it goes away without -g.

[Bug debug/113481] [14 Regession] avr: internal compiler error in decompose, at rtl.h:2298

2024-01-18 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113481 --- Comment #2 from Georg-Johann Lay --- It does not occur with avr-gcc-v13 -fchecking

[Bug modula2/113483] New: When configuring with --disable-plugin the modula2 compiler can't compile

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113483 Bug ID: 113483 Summary: When configuring with --disable-plugin the modula2 compiler can't compile Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: no

[Bug tree-optimization/113462] ICE: in handle_cast, at gimple-lower-bitint.cc:1539 at -O with _BitInt() in a struct

2024-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113462 --- Comment #1 from Jakub Jelinek --- The problem is _1 = VIEW_CONVERT_EXPR<_BitInt(129)>(0); unfolded from fre3. Wonder if the best action wouldn't be trying to fold_stmt such statements in the bitint lowering preparation code if we run into

[Bug middle-end/113166] RISC-V: Redundant move instructions in RVV intrinsic codes

2024-01-18 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113166 --- Comment #2 from JuzheZhong --- #include #if TO_16 # define uintOut_t uint16_t # define utf8_to_utf32_scalar utf8_to_utf16_scalar # define utf8_to_utf32_rvv utf8_to_utf16_rvv #else # define uintOut_t uint32_t #endif size_t utf8_to_utf32_

[Bug c++/113389] ICE when explicit object parameter is not declared as the first parameter

2024-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113389 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:9840e0be78150b0ef6e29975a6244698d5a5580c commit r14-8239-g9840e0be78150b0ef6e29975a6244698d5a5580c Author: Marek Polacek Date: We

[Bug target/113484] New: Add support for _Float16 type on PowerPC

2024-01-18 Thread john_platts at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113484 Bug ID: 113484 Summary: Add support for _Float16 type on PowerPC Product: gcc Version: 12.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug libstdc++/84568] libstdc++-v3 configure checks for atomic operations fail on riscv

2024-01-18 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84568 --- Comment #13 from palmer at gcc dot gnu.org --- I just stumbled back into this one. I think it's fixed?

[Bug modula2/113483] When configuring with --disable-plugin the modula2 compiler can't compile

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

[Bug debug/113481] [14 Regession] avr: internal compiler error in decompose, at rtl.h:2298

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113481 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug debug/113480] avr: internal compiler error: in add_dwarf_attr, at dwarf2out.cc:4503

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113480 Richard Biener changed: What|Removed |Added Summary|[14 Regression] avr:|avr: internal compiler

[Bug tree-optimization/113479] Two equivalent programs have inconsistent output results at the same optimization level

2024-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113479 Richard Biener changed: What|Removed |Added Component|c |tree-optimization --- Comment #1 from

[Bug tree-optimization/113475] [14 Regression] phi_analyzer::m_tab contents leak

2024-01-18 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113475 --- Comment #4 from Andrew Macleod --- yoinks. Not sure how I missed that. thanks.

[Bug target/105522] [powerpc-darwin] ICE: in decode_addr_const, at varasm.c:3059

2024-01-18 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 --- Comment #11 from Sergey Fedorov --- (In reply to GCC Commits from comment #10) > The master branch has been updated by Iain D Sandoe : Iain, thank you very much for addressing this!

[Bug libstdc++/84568] libstdc++-v3 configure checks for atomic operations fail on riscv

2024-01-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84568 --- Comment #14 from Andreas Schwab --- Yes, with inline atomics no libatomic is needed any more.

[Bug debug/113480] avr: internal compiler error: in add_dwarf_attr, at dwarf2out.cc:4503

2024-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113480 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/113485] New: Segmentation fault in -fno-guess-branch-probability optimization of NEON instructions on aarch64-linux-gnu target

2024-01-18 Thread radek.barton at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113485 Bug ID: 113485 Summary: Segmentation fault in -fno-guess-branch-probability optimization of NEON instructions on aarch64-linux-gnu target Product: gcc Version: 1

[Bug c++/113389] ICE when explicit object parameter is not declared as the first parameter

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

[Bug target/113089] [14 Regression][aarch64] ICE in process_uses_of_deleted_def, at rtl-ssa/changes.cc:252 since r14-6605-gc0911c6b357ba9

2024-01-18 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113089 --- Comment #11 from Alex Coplan --- Testing a patch, sorry for the delay on this.

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

2024-01-18 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111475 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- David, can you provide some help or suggestions here? I'm completely lost in the analyzer code. Thanks.

[Bug sanitizer/113482] Sanitizer configuration error

2024-01-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113482 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/113482] Sanitizer configuration error

2024-01-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113482 --- Comment #2 from Xi Ruoyao --- Also note that the bug reporting guideline (https://gcc.gnu.org/bugs/) says "if possible, try a current release or development snapshot."

[Bug bootstrap/113445] [14 Regression] bootstrap failure on f95-lang.cc: ‘-fcompare-debug’ failure since r14-8174

2024-01-18 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113445 --- Comment #9 from Maxim Kuvyrkov --- (In reply to Jakub Jelinek from comment #8) > Committed now. Thanks, Jakub.

[Bug target/113184] [14 Regression] ICE: in extract_insn, at recog.cc:2812 (unrecognizable insn) with -O -frounding-math -fnon-call-exceptions since r14-6605

2024-01-18 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113184 Alex Coplan changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/113221] [14 Regression][aarch64]ICE in extract_insn, at recog.cc:2812 since r14-6605-gc0911c6b357ba9

2024-01-18 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113221 Alex Coplan changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #9 fr

[Bug tree-optimization/113463] ICE: in extended_tree, at tree.h:6449 with _BitInt() used as offset

2024-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113463 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2024-01-18 Assignee|unassigne

[Bug target/113485] Segmentation fault in -fno-guess-branch-probability optimization of NEON instructions on aarch64-linux-gnu target

2024-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113485 --- Comment #1 from Andrew Pinski --- aarch64_get_shareable_reg looks questionable for a split ...

[Bug target/113485] [14 regrssion] segmentation fault in -fno-guess-branch-probability optimization of NEON instructions on aarch64-linux-gnu target

2024-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113485 Andrew Pinski changed: What|Removed |Added Summary|Segmentation fault in |[14 regrssion] segmentation

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

2024-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109536 --- Comment #7 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:3d3145e9e1461e92bef02d55d36990261dd0444d commit r14-8252-g3d3145e9e1461e92bef02d55d36990261dd0444d Author: Patrick Palka Date: T

[Bug c++/113242] g++ rejects-valid template argument of class type containing an lvalue reference

2024-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113242 --- Comment #3 from GCC Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4ffb23975b32bfd285915c3d6659b837868b5aa9 commit r13-8235-g4ffb23975b32bfd285915c3d6659b837868b5aa9 Author: Patrick Palka

  1   2   3   >