[Bug target/55212] [SH] Switch to LRA

2024-08-26 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #200 from John Paul Adrian Glaubitz --- (In reply to Kazumoto Kojima from comment #199) > Created attachment 59000 [details] > a patch for an experiment > > I added explicit register clobbers after all s-function calls as an > experi

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-08-26 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #22 from Aldy Hernandez --- Created attachment 59001 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59001&action=edit reduce recursion in forward threader (patch in testing) As suggested by Richard in PR116166.

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #14 from Richard Biener --- (In reply to Andrew Pinski from comment #13) > (In reply to Andrew Pinski from comment #8) > > ./a.ltrans6.ltrans.212t.forwprop4 > > > > Removing dead stmt noDataCandVec$_M_start_888 = PHI <_1783(176), _5

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-08-26 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #23 from Aldy Hernandez --- (In reply to Aldy Hernandez from comment #22) > Created attachment 59001 [details] > reduce recursion in forward threader (patch in testing) > > As suggested by Richard in PR116166. Should've been more v

[Bug c/116483] New: RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 Bug ID: 116483 Summary: RFE: a notion for asm goto to indicate all labels in the function may be jumped to Product: gcc Version: 15.0 Status: UNCONFIRMED Sever

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 Xi Ruoyao changed: What|Removed |Added Severity|normal |enhancement

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 --- Comment #1 from Xi Ruoyao --- FWIW in the examples "r"(table) should be "i"(table) instead.

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #15 from Richard Biener --- Ugh - simplify_gimple_switch_label_vec :/

[Bug c++/116484] New: Allow constexpr expression in riscv_rvv_vector_bits attribute

2024-08-26 Thread sergesanspaille at free dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116484 Bug ID: 116484 Summary: Allow constexpr expression in riscv_rvv_vector_bits attribute Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/116484] Allow constexpr expression in riscv_rvv_vector_bits attribute

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116484 --- Comment #1 from Andrew Pinski --- This attribute is not documented so ...

[Bug tree-optimization/116352] [15 regression] ICE when building opencv-4.9.0 (error: definition in block 208 does not dominate use in block 188) since r15-2820-gab18785840d7b8

2024-08-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116352 --- Comment #8 from Sam James --- Manolis et al., is this one on your list? Sorry to nag, it's just a package with a lot of reverse dependencies.

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

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

[Bug c++/116482] Bogus -Wunused-parameter with C++ coroutines

2024-08-26 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116482 Iain Sandoe changed: What|Removed |Added Last reconfirmed||2024-08-26 Status|UNCONFIRMED

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 --- Comment #3 from Andrew Pinski --- > But for satisfying some tools analyzing the generated machine code Also this sounds like a limitation in the tool analyzing the generated code and outside of gcc; I know helping the tool along is useful b

[Bug tree-optimization/116352] [15 regression] ICE when building opencv-4.9.0 (error: definition in block 208 does not dominate use in block 188) since r15-2820-gab18785840d7b8

2024-08-26 Thread tsamismanolis at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116352 --- Comment #9 from Manolis Tsamis --- (In reply to Sam James from comment #8) > Manolis et al., is this one on your list? Sorry to nag, it's just a package > with a lot of reverse dependencies. Hi Sam, yes, with the ifcvt issue now resolved, t

[Bug tree-optimization/116352] [15 regression] ICE when building opencv-4.9.0 (error: definition in block 208 does not dominate use in block 188) since r15-2820-gab18785840d7b8

2024-08-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116352 --- Comment #10 from Sam James --- No problem at all! I know it's been a very busy few weeks -- I just wanted to make sure it wasn't buried in the emails, rather than needing it fixed right now.

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #16 from Andrew Pinski --- (In reply to Richard Biener from comment #14) > (In reply to Andrew Pinski from comment #13) > > (In reply to Andrew Pinski from comment #8) > > > ./a.ltrans6.ltrans.212t.forwprop4 > > > > > > Removing dea

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

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

[Bug target/116484] Allow constexpr expression in riscv_rvv_vector_bits attribute

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116484 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/riscv-no

[Bug target/116484] Allow constexpr expression in riscv_rvv_vector_bits attribute and arm_sve_vector_bits

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

[Bug tree-optimization/116481] [12/13/14/15 Regression] `arrays of functions are not meaningful` error message happens with -W -Wall -O2 even though there are no arrays of function types used

2024-08-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116481 --- Comment #6 from Richard Biener --- For portability you likely want to convert the function pointer to uintptr_t and only that to char */long *. That might also avoid GCCs diagnostic.

[Bug middle-end/116480] [15 Regression] ICE: in operand_subword_force, at emit-rtl.cc:1824 at -O2 with __builtin_stdc_has_single_bit() and _BitInt(65...128) on aarch64

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116480 --- Comment #7 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:53b86cac7e77ddff4e8a215408f7331ebc5bf22c commit r15-3187-g53b86cac7e77ddff4e8a215408f7331ebc5bf22c Author: Andrew Pinski Date: Su

[Bug middle-end/116480] [15 Regression] ICE: in operand_subword_force, at emit-rtl.cc:1824 at -O2 with __builtin_stdc_has_single_bit() and _BitInt(65...128) on aarch64

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

[Bug tree-optimization/116481] [12/13/14/15 Regression] `arrays of functions are not meaningful` error message happens with -W -Wall -O2 even though there are no arrays of function types used

2024-08-26 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116481 --- Comment #7 from Bruno Haible --- (In reply to Richard Biener from comment #6) > For portability you likely want to convert the function pointer to uintptr_t > and only that to char */long *. That might also avoid GCCs diagnostic. Thanks fo

[Bug tree-optimization/116481] [12/13/14/15 Regression] `arrays of functions are not meaningful` error message happens with -W -Wall -O2 even though there are no arrays of function types used

2024-08-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116481 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Commen

[Bug tree-optimization/116485] New: CFG cleanup should prune unreachable switch cases

2024-08-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116485 Bug ID: 116485 Summary: CFG cleanup should prune unreachable switch cases Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug tree-optimization/116485] CFG cleanup should prune unreachable switch cases

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

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #18 from Richard Biener --- Note the real issue is that debug temp insertion cannot handle the situation at all where we remove stmts in the wrong order, thus removing a stmt which has uses that are released.

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #19 from Richard Biener --- Note we do have ad-hoc code in insert_debug_temp_for_var_def dealing with such situations, but it doesn't trigger here because there is dominator info available used as indicator that SSA form is up-to-dat

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-26 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from Bernd Edlinger --- > Created attachment 58991 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58991&action=edit > proposed patch > > I would appreciate wh

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #20 from Richard Biener --- Unfortunately the following doesn't reproduce the issue. #include #include void g(); void f(int nBands, double maxZErr) { for (int iBand = 0; iBand < nBands; iBand++) { g();

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 --- Comment #4 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #3) > > But for satisfying some tools analyzing the generated machine code > > Also this sounds like a limitation in the tool analyzing the generated code > and outside o

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 --- Comment #5 from Xi Ruoyao --- I.e. we want to refer the exact location of the jump instruction (not an instruction preparing for it) in the asm, and doing so is not possible with computed goto.

[Bug tree-optimization/116348] [15 regression] ICE when building gavl-1.4.0 with -O3 -march=znver4 since r15-2791-g2083389a18d366

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116348 --- Comment #12 from GCC Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:d3e71b99194bff878d3bf3b35f9528a350d10df9 commit r15-3189-gd3e71b99194bff878d3bf3b35f9528a350d10df9 Author: Xi Ruoyao Date: Thu Aug

[Bug tree-optimization/116348] [15 regression] ICE when building gavl-1.4.0 with -O3 -march=znver4 since r15-2791-g2083389a18d366

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

[Bug middle-end/116486] New: [15 Regression] wrong code with __builtin_stdc_first_leading_one() at -O2 -fno-tree-ccp

2024-08-26 Thread zsojka at seznam dot cz via Gcc-bugs
-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --enable-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r15-3187-20240826023505-g53b86cac7e7-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 2

[Bug c++/105483] [12/13/14/15 Regression] injected-class-name and constructors diagnostic since r8-1739-g3b5c768c40c78618

2024-08-26 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105483 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #21 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0ceeb9926d69dbb382622a8eae9eef7ed8ac3e97 commit r15-3191-g0ceeb9926d69dbb382622a8eae9eef7ed8ac3e97 Author: Richard Biener Date:

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug fortran/104845] Wrong array size for component of CLASS array element

2024-08-26 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104845 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/116466] The standard instruction pattern of RISC-V addv has generated an unnecessary instruction.

2024-08-26 Thread leidian900 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116466 --- Comment #4 from cui xu --- (In reply to Jeffrey A. Law from comment #2) > Looking at this, I would fully expect that in an optimizing compilation that > the redundant extension would be eliminated. Are you seeing the redundant > sign exten

[Bug middle-end/116486] [15 Regression] wrong code with __builtin_stdc_first_leading_one() at -O2 -fno-tree-ccp

2024-08-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116486 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug preprocessor/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-26 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 Alexander Monakov changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #13 from GCC Commits --- The master branch has been updated by Bernd Edlinger : https://gcc.gnu.org/g:eb63f9580f0220e347034ef337dbc93d12931d6c commit r15-3193-geb63f9580f0220e347034ef337dbc93d12931d6c Author: Bernd Edlinger Date:

[Bug target/116466] The standard instruction pattern of RISC-V addv has generated an unnecessary instruction.

2024-08-26 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116466 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-26 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #14 from Bernd Edlinger --- Hmm, I don't know why I can't change the status to fixed... Feel free to close this ticket.

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #15 from Sam James --- (In reply to Bernd Edlinger from comment #14) > Hmm, I don't know why I can't change the status to fixed... > Feel free to close this ticket. Please change your email on BZ to match your @gcc.gnu.org email to

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-26 Thread edlinger at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 Bernd Edlinger changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/116466] The standard instruction pattern of RISC-V addv has generated an unnecessary instruction.

2024-08-26 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116466 --- Comment #6 from Jeffrey A. Law --- Created attachment 59003 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59003&action=edit Hack from the RAU team Attached is the hack from the RAU team. It was initially used to help identify cases

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-26 Thread edlinger at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #17 from Bernd Edlinger --- (In reply to r...@cebitec.uni-bielefeld.de from comment #12) > (thanks), but on Solaris/sparc there's > > FAIL: gcc.dg/debug/dwarf2/inline7.c scan-assembler DW_AT_ranges > > both with as and gas. Hmm,

[Bug target/116467] missed optimization: zero-extension duplicated on xtensa

2024-08-26 Thread rsaxvc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116467 --- Comment #2 from rsaxvc at gmail dot com --- I had wondered about that too but hadn't been able to find anything about it. User ccrause on esp32.com knew where it was though. From https://www.cadence.com/content/dam/cadence-www/global/en_US/do

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #22 from Andrew Pinski --- (In reply to Richard Biener from comment #20) > Unfortunately the following doesn't reproduce the issue. > > #include > #include > > void g(); > > void f(int nBands, double maxZErr) { > for (int i

[Bug tree-optimization/116485] CFG cleanup should prune unreachable switch cases

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

[Bug c/116483] RFE: a notion for asm goto to indicate all labels in the function may be jumped to

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116483 --- Comment #7 from Andrew Pinski --- (In reply to Alexander Monakov from comment #6) > with the caveats that you'd only get that for future gcc releases I think this caveat is fine as if adding the other feature to asm goto you would also have

[Bug middle-end/116486] [15 Regression] wrong code with __builtin_stdc_first_leading_one() at -O2 -fno-tree-ccp

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116486 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug middle-end/116486] [15 Regression] wrong code with __builtin_stdc_first_leading_one() at -O2 -fno-tree-ccp

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

[Bug c++/115716] [12/13/14/15 regression] internal compiler error: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst, at cp/pt.cc:16364

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115716 --- Comment #5 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:26ee954476bef7328d2cf45928c3c9b84df77178 commit r15-3195-g26ee954476bef7328d2cf45928c3c9b84df77178 Author: Simon Martin Date: Sun

[Bug c++/115716] [12/13/14/15 regression] internal compiler error: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst, at cp/pt.cc:16364

2024-08-26 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115716 Simon Martin changed: What|Removed |Added Target Milestone|12.5|15.0 Status|ASSIGNED

[Bug other/116462] [15 regression] new test case gcc.dg/debug/dwarf2/inline7.c from r15-3083-gbcb33b1237042e fails

2024-08-26 Thread edlinger at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116462 Bernd Edlinger changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug c/116487] New: Miscompile with different optimization flags

2024-08-26 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
rc & 1) crc = crc >> 1 ^ k; else crc >>= 1; c[i] = crc; } b(); l(a, "", bx); m(d ^ 2, bx); } ``` It can also be found in https://godbolt.org/z/sscqo3GqP My gcc version is gcc version 15.0.0 20240826 (experimental) (GCC). I built this with

[Bug middle-end/116487] Miscompile with different optimization flags

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

[Bug target/115408] regression between gcc 13.3.0 and 14.1.0 using -mips16 and -minterlink-mips16

2024-08-26 Thread broly at mac dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115408 --- Comment #14 from gagan sidhu (broly) --- any update herE? pinski i saw you push a commit a month or two ago with respect to multilib darwin builds, but i couldn't find it in the github since i forgot where exactly it was. i want to try put

[Bug rtl-optimization/116488] New: wrong code at -O{s,2,3} with "-fno-forward-propagate" on x86_64-linux-gnu

2024-08-26 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
h: ../gcc-trunk/configure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240826 (experiment

[Bug rtl-optimization/116488] [15 Regression] wrong code at -O{s,2,3} with "-fno-forward-propagate" on x86_64-linux-gnu

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

[Bug rtl-optimization/116488] [15 Regression] wrong code at -O{s,2,3} with "-fno-forward-propagate" on x86_64-linux-gnu

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

[Bug c/116489] New: Conflict between noinit and section __attribute__ makes object files (and static libraries) unnecessarily large

2024-08-26 Thread stefan.tauner at gmx dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116489 Bug ID: 116489 Summary: Conflict between noinit and section __attribute__ makes object files (and static libraries) unnecessarily large Product: gcc Version: 12.

[Bug target/114224] popcount RTL cost seems wrong with cssc

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114224 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Interesting: > ``` > int h1(unsigned a) > { > return __builtin_popcountg(a) == 1; > } > ``` > works. > > > Anyways I will be adding POPCOUNT's rtl cos

[Bug c/116489] Conflict between noinit and section __attribute__ makes object files (and static libraries) unnecessarily large

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

[Bug c/116489] Conflict between noinit and section __attribute__ makes object files (and static libraries) unnecessarily large

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116489 --- Comment #2 from Andrew Pinski --- >In any case, the behavior seems to be undocumented: Well considering the documentation says: place sections with the .noinit prefix you can assume they conflict :). Also "prefix" is almost always added w

[Bug fortran/113412] ATAN(Y,X) does not check arguments and generates wrong error message.

2024-08-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113412 --- Comment #8 from anlauf at gcc dot gnu.org --- I looked at this one again, also at the fortran-dump. Consider: subroutine s1 intrinsic :: atan real :: r = 1. print *, atan (-1.d0,r) end subroutine s2 external :: atan real :: r = 1.

[Bug fortran/116359] Nested contained procedures rejected

2024-08-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116359 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2024-08-26 Statu

[Bug c++/116490] New: Crash in explicitly instantiated Function Contracts

2024-08-26 Thread eric at efcs dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116490 Bug ID: 116490 Summary: Crash in explicitly instantiated Function Contracts Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug fortran/116128] missed optimisation: fortran sum instrinsic performed in order

2024-08-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116128 --- Comment #6 from anlauf at gcc dot gnu.org --- Guided by the dump-tree for the inlining code, I played a little to see what kind of code the middle-end expects. To this end I used C code. The reference for the sum over a rank-1 array (given

[Bug c++/116491] New: GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread sergio_nsk at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 Bug ID: 116491 Summary: GCC defines macro linux if -std is not set, and does not define otherwise Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: no

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread sergio_nsk at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 --- Comment #1 from Sergey Markelov --- Expected: GCC should not define the undocumented/non standard macro `linux`.

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

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

[Bug target/65128] remove "linux" and "unix" from preprocessor macros from cpp-5

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65128 Andrew Pinski changed: What|Removed |Added CC||sergio_nsk at yahoo dot de --- Comment #

[Bug c++/84400] “linux” string in path replaced with “1” when using “<>” angle brackets to include a header through a macro

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84400 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #5 from Andrew Pin

[Bug target/65128] remove "linux" and "unix" from preprocessor macros from cpp-5

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65128 Andrew Pinski changed: What|Removed |Added CC||mihaipop11 at gmail dot com --- Comment

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread sergio_nsk at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 --- Comment #3 from Sergey Markelov --- This is not a duplicate. The macro is defined conditionally, this is not a correct behavior.

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 --- Comment #4 from Andrew Pinski --- (In reply to Sergey Markelov from comment #3) > This is not a duplicate. The macro is defined conditionally, this is not a > correct behavior. Yes it is. Please read that one and pr84400 .

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 --- Comment #5 from Andrew Pinski --- Specifically https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84400#c2

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 --- Comment #6 from Andrew Pinski --- (In reply to Sergey Markelov from comment #3) > This is not a duplicate. The macro is defined conditionally, this is not a > correct behavior. Yes and that is by design. -std=gnu++17 enables some non-standa

[Bug fortran/116359] Nested contained procedures rejected

2024-08-26 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116359 Mikael Morin changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/116491] GCC defines macro linux if -std is not set, and does not define otherwise

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491 --- Comment #7 from Andrew Pinski --- Or rather see https://cmake.org/cmake/help/latest/prop_tgt/CXX_EXTENSIONS.html#prop_tgt:CXX_EXTENSIONS . That is -std=c++17 vs -std=gnu++17. GCC defaults to gnu++17 in newer versions of GCC. So the bug is

[Bug target/55212] [SH] Switch to LRA

2024-08-26 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #201 from John Paul Adrian Glaubitz --- Created attachment 59006 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59006&action=edit Diff for bootstrap comparison failure of gcc/gimple-lower-bitint.c (In reply to John Paul Adrian

[Bug c++/116492] New: inherited constructors in subclass of std::expected can not be overridden

2024-08-26 Thread mail at johslarsen dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116492 Bug ID: 116492 Summary: inherited constructors in subclass of std::expected can not be overridden Product: gcc Version: unknown Status: UNCONFIRMED Severity: n

[Bug target/55212] [SH] Switch to LRA

2024-08-26 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #202 from John Paul Adrian Glaubitz --- Adding "gcc/gimple-lower-bitint*" to "compare_exclusions" in configure.ac makes the build pass the bootstrap comparison and completely succeed with LRA enabled with the following patches applied

[Bug c++/116492] inherited constructors with concept in subclass overrides constructor in subclass

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116492 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-08-26 Summary|inherited

[Bug c++/116492] inherited constructors with concept in subclass overrides constructor in subclass

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116492 --- Comment #2 from Andrew Pinski --- >The same does not happen in clang, and in gcc with similar examples from other >classes I have tried. So it comes down to the concept on the constructor which is why you didn't run into similar examples f

[Bug c++/116492] inherited constructors with concept in subclass overrides constructor in subclass

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116492 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Slightly reduced: In this example if you comment out: ``` requires true_c ``` GCC does the correct thing.

[Bug c++/115858] Incompatibility of coroutines and alloca()

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115858 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Arsen Arsenovic : https://gcc.gnu.org/g:c73d7f3c66c0b5865edd6880cd0d6be723cfbb8d commit r15-3202-gc73d7f3c66c0b5865edd6880cd0d6be723cfbb8d Author: Arsen ArsenoviÄ Date:

[Bug c++/113457] Nesting coroutine definitions (e.g. via a lambda or a template expansion) can ICE the compiler

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113457 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Arsen Arsenovic : https://gcc.gnu.org/g:5cca7517c5868b7b9aa13992145eb6082ac5d5b9 commit r15-3203-g5cca7517c5868b7b9aa13992145eb6082ac5d5b9 Author: Arsen ArsenoviÄ Date:

[Bug rtl-optimization/115883] [15 Regression] late-combine exposing LRA problems

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115883 --- Comment #6 from GCC Commits --- The master branch has been updated by Hans-Peter Nilsson : https://gcc.gnu.org/g:5031df5d1f4954304c618efd2de029edc6b3699f commit r15-3204-g5031df5d1f4954304c618efd2de029edc6b3699f Author: Hans-Peter Nilsson

[Bug target/116493] New: widening reduction add could be better

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116493 Bug ID: 116493 Summary: widening reduction add could be better Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug target/116493] widening reduction add could be better

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116493 --- Comment #1 from Andrew Pinski --- Forgot to mention this is at -O2 (or -O3).

[Bug c++/116441] [[nodiscard]] attribute ignored in some cases

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

[Bug c++/85973] [[nodiscard]] on class shall emit a warning for unused anonymous variable

2024-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85973 Andrew Pinski changed: What|Removed |Added CC||leonid.satanovsky at gmail dot com ---

[Bug c++/110980] -flang-info-include-translate does not work with no argument

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110980 --- Comment #1 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:98608342932e8951a4c8db3e9df79f9187424d53 commit r15-3206-g98608342932e8951a4c8db3e9df79f9187424d53 Author: Nathaniel Shead Date:

[Bug c++/99243] [modules] ICE in set_filename, at cp/module.cc:19143

2024-08-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99243 --- Comment #6 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:215ff991a8681f968823b913e1c79a32d339c097 commit r15-3207-g215ff991a8681f968823b913e1c79a32d339c097 Author: Nathaniel Shead Date:

  1   2   >