[Bug tree-optimization/112281] [12/13/14 Regression] wrong code at -O3 on x86_64-linux-gnu

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112281 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #3 fr

[Bug fortran/104555] ICE in gfc_compare_derived_types, at fortran/interface.cc:628 since r10-2912-g70570ec192745095

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104555 --- Comment #4 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:f3e44d079747daf56307ada8a2e2e56b64934014 commit r14-5003-gf3e44d079747daf56307ada8a2e2e56b64934014 Author: Paul Thomas Date: Mon O

[Bug c++/66487] sanitizer/warnings for lifetime DSE

2023-10-30 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66487 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comm

[Bug target/93808] [11/12/13/14 Regression] [SH] Ruby crashes with 'Illegal Instruction' with -fcrossjumping

2023-10-30 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808 Oleg Endo changed: What|Removed |Added CC||olegendo at gcc dot gnu.org --- Comment #37

[Bug d/112285] New: `in` class parameter with `gdc -fpreview=in` causes ICE

2023-10-30 Thread gcc.gnu.org at webfreak dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112285 Bug ID: 112285 Summary: `in` class parameter with `gdc -fpreview=in` causes ICE Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Pri

[Bug target/93808] [11/12/13/14 Regression] [SH] Ruby crashes with 'Illegal Instruction' with -fcrossjumping

2023-10-30 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808 --- Comment #38 from John Paul Adrian Glaubitz --- (In reply to Oleg Endo from comment #37) > (In reply to John Paul Adrian Glaubitz from comment #32) > > (In reply to John Paul Adrian Glaubitz from comment #31) > > > Ah, I forgot to add -O1 and

[Bug target/112280] [14 regression] ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp)

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112280 --- Comment #4 from Sam James --- Minimised. ``` $ gcc -O3 -c rijndael.i -march=arch13 -mzarch rijndael.i:30:18: warning: passing argument 1 of ‘buf_put_le64’ makes pointer from integer without a cast [-Wint-conversion] 30 | buf_put_le64

[Bug fortran/104555] ICE in gfc_compare_derived_types, at fortran/interface.cc:628 since r10-2912-g70570ec192745095

2023-10-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104555 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/112281] [12/13/14 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-2097-g9f34b780b0461e

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112281 Sam James changed: What|Removed |Added Summary|[12/13/14 Regression] wrong |[12/13/14 Regression] wrong

[Bug target/110792] [13/14 Regression] GCC 13 x86_32 miscompilation of Whirlpool hash function

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110792 Sam James changed: What|Removed |Added Keywords|needs-bisection | --- Comment #17 from Sam James --- fwiw I

[Bug tree-optimization/112282] [14 Regression] wrong code (generated code hangs) at -O3 on x86_64-linux-gnu since r14-4777-g88c27070c25309

2023-10-30 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112282 --- Comment #8 from Tamar Christina --- Thanks for the report, that's very odd.. It looks like loop control is broken and `u` never gets incremented. It's even more strange since the structures getting lowered are both unused so should not hav

[Bug testsuite/111462] [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111462 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug testsuite/111462] [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111462 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ff4cea05a6e6d034eed5212109133c4b5da8520c commit r14-5005-gff4cea05a6e6d034eed5212109133c4b5da8520c Author: Richard Biener Date:

[Bug testsuite/111462] [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111462 Richard Biener changed: What|Removed |Added Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug go/112286] New: Go does not support LoongArch

2023-10-30 Thread robinlee.sysu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286 Bug ID: 112286 Summary: Go does not support LoongArch Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assig

[Bug go/112286] Go does not support LoongArch

2023-10-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286 Xi Ruoyao changed: What|Removed |Added Last reconfirmed||2023-10-30 Severity|normal

[Bug rtl-optimization/96388] scheduling takes forever with -fPIC

2023-10-30 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96388 Maxim Kuvyrkov changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mkuvyrkov at gcc dot gnu.org --

[Bug target/112287] New: gcc.target/i386/pr111698.c fails on x86_64-darwin

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112287 Bug ID: 112287 Summary: gcc.target/i386/pr111698.c fails on x86_64-darwin Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/112287] gcc.target/i386/pr111698.c fails on x86_64-darwin

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112287 Francois-Xavier Coudert changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/106907] gcc/config/rs6000/rs6000.cc:23155: strange expression ?

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106907 --- Comment #10 from CVS Commits --- The master branch has been updated by jeevitha : https://gcc.gnu.org/g:36a52cdc23383e51359630e566b62fa62011428d commit r14-5006-g36a52cdc23383e51359630e566b62fa62011428d Author: Jeevitha Date: Mon Oct 30

[Bug target/112287] gcc.target/i386/pr111698.c fails on x86_64-darwin

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112287 --- Comment #1 from Andrew Pinski --- My bet is that the testcase just needs a -march option since iirc Darwin defaults to core2.

[Bug go/112286] Go does not support LoongArch

2023-10-30 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286 chenglulu changed: What|Removed |Added CC||chenglulu at loongson dot cn --- Comment #1

[Bug go/112286] Go does not support LoongArch

2023-10-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286 --- Comment #2 from Xi Ruoyao --- (In reply to chenglulu from comment #1) > (In reply to Robin Lee from comment #0) > > Follow-up from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682#c2 > > > > libgo runtime needs an update. > > gccgo build

[Bug go/112286] Go does not support LoongArch

2023-10-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286 --- Comment #3 from Xi Ruoyao --- FWIW one nice aspect of gccgo is we don't need a pre-installed Go binary to build it.

[Bug go/112286] Go does not support LoongArch

2023-10-30 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286 --- Comment #4 from chenglulu --- (In reply to Xi Ruoyao from comment #2) > (In reply to chenglulu from comment #1) > > (In reply to Robin Lee from comment #0) > > > Follow-up from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682#c2 > > > >

[Bug go/112286] Go does not support LoongArch

2023-10-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286 --- Comment #5 from Xi Ruoyao --- (In reply to chenglulu from comment #4) > (In reply to Xi Ruoyao from comment #2) > > (In reply to chenglulu from comment #1) > > > (In reply to Robin Lee from comment #0) > > > > Follow-up from https://gcc.gnu.

[Bug go/112286] Go does not support LoongArch

2023-10-30 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286 --- Comment #6 from chenglulu --- (In reply to Xi Ruoyao from comment #5) > (In reply to chenglulu from comment #4) > > (In reply to Xi Ruoyao from comment #2) > > > (In reply to chenglulu from comment #1) > > > > (In reply to Robin Lee from com

[Bug go/112286] Go does not support LoongArch

2023-10-30 Thread robinlee.sysu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112286 --- Comment #7 from Robin Lee --- (In reply to Xi Ruoyao from comment #3) > FWIW one nice aspect of gccgo is we don't need a pre-installed Go binary to > build it. Yes. In Freedesktop SDK project[1], we need gccgo to bootstrap gc go. [1] https

[Bug target/112287] gcc.target/i386/pr111698.c fails on x86_64-darwin

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112287 --- Comment #2 from Francois-Xavier Coudert --- (In reply to Andrew Pinski from comment #1) > My bet is that the testcase just needs a -march option since iirc Darwin > defaults to core2. Thanks, it works. Patch posted to the list.

[Bug c++/112288] New: internal compiler error: in instantiate_decl, at cp/pt.cc:26861

2023-10-30 Thread falemagn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 Bug ID: 112288 Summary: internal compiler error: in instantiate_decl, at cp/pt.cc:26861 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/112288] internal compiler error: in instantiate_decl, at cp/pt.cc:26861

2023-10-30 Thread falemagn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 Fabio Alemagna changed: What|Removed |Added Attachment #56472|0 |1 is obsolete|

[Bug c/112289] New: '-fstore-merging' causing instrument loss

2023-10-30 Thread Sean.XiaoXiang at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112289 Bug ID: 112289 Summary: '-fstore-merging' causing instrument loss Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug d/112290] New: self-referencing `in` parameter with `-fpreview=in` causes ICE

2023-10-30 Thread gcc.gnu.org at webfreak dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112290 Bug ID: 112290 Summary: self-referencing `in` parameter with `-fpreview=in` causes ICE Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal

[Bug c/112289] '-fstore-merging' causing instrument loss

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112289 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c/112289] '-fstore-merging' causing instrument loss

2023-10-30 Thread Sean.XiaoXiang at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112289 --- Comment #2 from xiao xiang --- Yes, exactly what I did. sorry about that. Already fixed 😊 从 Windows 版邮件发送 发件人: pinskia at gcc dot gnu.org 发送时间: 2023年10月30日 2

[Bug d/112291] New: cyclic reference struct with `in` parameter and `-fpreview=in` causes bogus error: overlapping initializer for field ...

2023-10-30 Thread gcc.gnu.org at webfreak dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112291 Bug ID: 112291 Summary: cyclic reference struct with `in` parameter and `-fpreview=in` causes bogus error: overlapping initializer for field ... Product: gcc Ver

[Bug tree-optimization/112113] [14 Regression] wrong code at -O3 on x86_64-linux-gnu since r14-2852-gf5fb9ff2396fd4

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112113 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c/112289] '-fstore-merging' causing instrument loss

2023-10-30 Thread Sean.XiaoXiang at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112289 --- Comment #3 from xiao xiang --- Hello, Have I submited information successful? It shows success, but I can’t read the history I submited anywhere. Thank you very much. Sean 从 Windows 版邮件发送

[Bug c/112289] '-fstore-merging' causing instrument loss

2023-10-30 Thread Sean.XiaoXiang at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112289 --- Comment #4 from xiao xiang --- --- description some store instructions will be lost under certain conditions. 1、 GCC version >= 12.1 2、 Optimization enable at ‘-Os’ (actually is -fstore-merging) 3、

[Bug tree-optimization/112117] Missed optimization of LICM that might need to be combined with partial loop unrolling

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112117 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-10-30 Status|UNCONFIR

[Bug tree-optimization/112123] Missed optimization of loop deletion because loop invariants are not identified

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112123 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-10-30 Ever confirmed|0

[Bug target/112265] [14 Regression] GCN offloading 'libgomp.c-c++-common/for-5.c': 'internal compiler error: maximum number of generated reload insns per insn achieved (90)'

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112265 --- Comment #3 from Richard Biener --- -fno-tree-loop-im?

[Bug c/112289] '-fstore-merging' causing instrument loss

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112289 Andrew Pinski changed: What|Removed |Added Known to work||11.4.0, 14.0 Status|WAITING

[Bug c/112289] '-fstore-merging' causing instrument loss

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

[Bug ipa/111613] [12/13/14 Regression] Bit field stores can be incorrectly optimized away when -fstore-merging is in effect

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111613 Andrew Pinski changed: What|Removed |Added CC||Sean.XiaoXiang at outlook dot com ---

[Bug tree-optimization/112266] `constcall(a)` and `constcall(&a->b[0])` is not being optimized to one call

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

[Bug libbacktrace/112263] [C++23] std::stacktrace does not identify symbols in shared library

2023-10-30 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112263 vincenzo Innocente changed: What|Removed |Added CC||ian at gcc dot gnu.org Co

[Bug rtl-optimization/111554] [12/13/14 regression] Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse" since r12-2097-g9f34b780b0461e

2023-10-30 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111554 Maxim Kuvyrkov changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mkuvyrkov at gcc dot gnu.org -

[Bug c++/112293] New: Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread arkamar at atlas dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 Bug ID: 112293 Summary: Enhance error reporting with fix-it for missing in gcc 14 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/112277] Missed optimization of loop deletion because of missed loopUnswitch and useless instruction elimination

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112277 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Ever co

[Bug ada/111909] Filename case sensitivity defaulted wrongly on macOS

2023-10-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111909 Eric Gallager changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/112294] New: thread_local13.C and thread_local14.C fail on x86_64-darwin

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112294 Bug ID: 112294 Summary: thread_local13.C and thread_local14.C fail on x86_64-darwin Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal P

[Bug target/112294] thread_local13.C and thread_local14.C fail on x86_64-darwin

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112294 Francois-Xavier Coudert changed: What|Removed |Added Ever confirmed|0 |1 Host|

[Bug tree-optimization/112266] `constcall(a)` and `constcall(&a->b[0])` is not being optimized to one call

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112266 --- Comment #2 from Richard Biener --- Whee - late diagnostic fallout galore! Putting on hold.

[Bug tree-optimization/112266] `constcall(a)` and `constcall(&a->b[0])` is not being optimized to one call

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112266 --- Comment #3 from Richard Biener --- Created attachment 56475 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56475&action=edit patch Running target unix +FAIL: c-c++-common/Warray-bounds.c -std=gnu++98 (test for warnings, line 183) +

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 --- Comment #1 from Jonathan Wakely --- (In reply to Petr Vaněk from comment #0) > The issue appears to arise from internal changes in libstdc++ that now > require the explicit inclusion of the header (this part is > likely a bug within rspamd)

[Bug target/112280] [14 regression] ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp)

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112280 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > This is broken in two ways, you need to include both *and* > for this program. Actually three ways. There is no guarantee that std::vector's iterators hav

[Bug target/112295] New: RISC-V: Short forward branch pessimisation for ALU operations

2023-10-30 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112295 Bug ID: 112295 Summary: RISC-V: Short forward branch pessimisation for ALU operations Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimizat

[Bug tree-optimization/112281] [12/13/14 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-2097-g9f34b780b0461e

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112281 Richard Biener changed: What|Removed |Added Version|unknown |13.2.1 Priority|P3

[Bug tree-optimization/112282] [14 Regression] wrong code (generated code hangs) at -O3 on x86_64-linux-gnu since r14-4777-g88c27070c25309

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112282 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Version|unknown

[Bug c++/112296] New: __builtin_constant_p doesn't propagate through member functions

2023-10-30 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112296 Bug ID: 112296 Summary: __builtin_constant_p doesn't propagate through member functions Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/112288] [14 Regression] ICE - internal compiler error: in instantiate_decl, at cp/pt.cc:26861

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Target Milestone|---

[Bug c++/82594] Please provide better parameter / argument mismatch warnings/notes for no overloads case

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82594 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 --- Comment #3 from Jonathan Wakely --- As I wrote in PR 82594, the error should say that the number of arguments is wrong instead of the irrelevant error about converting to const char*. I don't think a fix-it is likely here though.

[Bug c++/112296] __builtin_constant_p doesn't propagate through member functions

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112296 --- Comment #1 from Richard Biener --- __builtin_constant_p is limited by inlining, maybe you want to use if constexpr for this or the standard library facility I can't remember right now.

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 --- Comment #4 from Jonathan Wakely --- FWIW the change in transitive includes was r14-1459-g940645cec500ab

[Bug target/112297] New: Failure of pr100936.c on x86_64-apple-darwin21

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112297 Bug ID: 112297 Summary: Failure of pr100936.c on x86_64-apple-darwin21 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread arkamar at atlas dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 --- Comment #5 from Petr Vaněk --- Thank you for the quick response and clarifications. I'll work on patching rspamd to adhere to these requirements. As for std::begin and std::end, rspamd uses them correctly, the std:: was actually reduced by

[Bug target/112297] Failure of pr100936.c on x86_64-apple-darwin21

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112297 Francois-Xavier Coudert changed: What|Removed |Added Build||x86_64-apple-darwin21

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > That would be difficult, because std::remove is overloaded and another > overload was found here (the one declared in ). Usually we only > provide fix-it hin

[Bug c++/112296] __builtin_constant_p doesn't propagate through member functions

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112296 --- Comment #2 from Jonathan Wakely --- I think you mean std::is_constant_evaluated, but that doesn't check values, it checks if the function is being evaluated as constexpr. And if-constexpr can't be used here either, that works like templates,

[Bug c++/112296] __builtin_constant_p doesn't propagate through member functions

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112296 --- Comment #3 from Jonathan Wakely --- (In reply to Barry Revzin from comment #0) > inline int direct(Span span) { > return __builtin_constant_p(span.size()); > } > > inline int indirect(Span span) { > size_t s = span.size(); > ret

[Bug target/112298] New: Poor code for DImode operations on H8 port

2023-10-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112298 Bug ID: 112298 Summary: Poor code for DImode operations on H8 port Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug target/112298] Poor code for DImode operations on H8 port

2023-10-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112298 Jeffrey A. Law changed: What|Removed |Added Target||h8300 Priority|P3

[Bug target/112299] New: Cross compiling to loongarch64-linux-gnuf64 fails because "HAVE_AS_TLS was not declared" after r14-4925-g1b30ef7cea773e

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112299 Bug ID: 112299 Summary: Cross compiling to loongarch64-linux-gnuf64 fails because "HAVE_AS_TLS was not declared" after r14-4925-g1b30ef7cea773e Product: gcc Vers

[Bug target/112300] New: Cross compiling to mipsisa64r2-sde-elf fails because "HEAP_TRAMPOLINES_INIT was not declared in this scope" since r14-4821-g28d8c680aaea46

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112300 Bug ID: 112300 Summary: Cross compiling to mipsisa64r2-sde-elf fails because "HEAP_TRAMPOLINES_INIT was not declared in this scope" since r14-4821-g28d8c680aaea46 Product:

[Bug target/112298] Poor code for DImode operations on H8 port

2023-10-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112298 Roger Sayle changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/112301] New: Double destruction of returned object when exiting the scope causes an exception which gets rethrown

2023-10-30 Thread alexander.grund--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112301 Bug ID: 112301 Summary: Double destruction of returned object when exiting the scope causes an exception which gets rethrown Product: gcc Version: 12.3.0 Status: UNCONFI

[Bug rtl-optimization/110717] Double-word sign-extension missed-optimization

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110717 --- Comment #16 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:31cc9824d1cd5e0f7fa145d0831a923479333cd6 commit r14-5013-g31cc9824d1cd5e0f7fa145d0831a923479333cd6 Author: Roger Sayle Date: Mon

[Bug rtl-optimization/106594] [13/14 Regression] sign-extensions no longer merged into addressing mode

2023-10-30 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 --- Comment #27 from Segher Boessenkool --- (In reply to Roger Sayle from comment #21) > Segher has proposed that object code size correlates with the quality of It isn't a proposition, it is a simple and obvious fact. But, this isn't exactly

[Bug c++/112269] [14 Regression] x86_64 GNU/Linux '-m32' multilib 'libstdc++-v3/include/complex:1493: internal compiler error: in tsubst_expr, at cp/pt.cc:21534' since r14-4796-g3e3d73ed5e85e7

2023-10-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112269 --- Comment #5 from Patrick Palka --- I can't reproduce any of these testsuite failures on trunk with x86_64 -m32... could you provide a preprocessed source file perhaps?

[Bug middle-end/101955] (signed<<

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101955 --- Comment #9 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:a3da9adeb457d4f01c4e695a9621f90c2e2a5e68 commit r14-5014-ga3da9adeb457d4f01c4e695a9621f90c2e2a5e68 Author: Roger Sayle Date: Mon O

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

2023-10-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 Marek Polacek changed: What|Removed |Added Keywords|needs-bisection |ice-on-valid-code Summary|[1

[Bug c++/112301] [Regression 12/13/14] Double destruction of returned object when exiting the scope causes an exception which gets rethrown

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112301 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code Summary|Double

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

2023-10-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 --- Comment #3 from Marek Polacek --- // PR c++/112288 namespace { template class counter { public: template static constexpr int next() { return next(0)*Step+Start; } private: template struct slot { template friend constexpr

[Bug target/111635] Objects built with -flto cannot be linked with Xcode

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111635 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

[Bug target/111635] Objects built with -flto cannot be linked with Xcode

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111635 --- Comment #5 from Francois-Xavier Coudert --- Third try (on aarch64-darwin): I installed Homebrew's libusb. But now, the build succeeds… ⌁ [fx:/tmp/bmpflash] f87ad30 6s ± meson compile -C build INFO: autodetecting backend as ninja INFO: calcu

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 --- Comment #10 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:1437df40f12ade35fd1f1a3e4cbba4b4656cab0b commit r14-5016-g1437df40f12ade35fd1f1a3e4cbba4b4656cab0b Author: Martin Jambor Date:

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 --- Comment #11 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:997c8219f020091d00fd225c81270aa551bfe9e4 commit r14-5017-g997c8219f020091d00fd225c81270aa551bfe9e4 Author: Martin Jambor Date:

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 57, which changed state. Bug 57 Summary: [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57

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

2023-10-30 Thread falemagn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 --- Comment #4 from Fabio Alemagna --- (In reply to Marek Polacek from comment #2) > Confirmed. Started with r6-6830-g20a0c6f9bdbd78: > > commit 20a0c6f9bdbd781ed5d413a10a06764a174dc394 > Author: Patrick Palka > Date: Mon Feb 8 23:02:50 201

[Bug tree-optimization/111878] [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record/-fdump-tree-graphite/-fopt-info

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111878 --- Comment #4 from Martin Jambor --- I am not 100% certain if it is the same bug (I am happy to open a separate bug report if not), but I'm getting an ICE on the same spot, also with graphite, when running gfortran ~/gcc/trunk/src/libgomp/test

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

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 --- Comment #5 from Andrew Pinski --- (In reply to Fabio Alemagna from comment #4) > (In reply to Marek Polacek from comment #2) > > Confirmed. Started with r6-6830-g20a0c6f9bdbd78: > > > > commit 20a0c6f9bdbd781ed5d413a10a06764a174dc394 > > A

[Bug target/112295] RISC-V: Short forward branch pessimisation for ALU operations

2023-10-30 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112295 palmer at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2023-10-30 Ever confirme

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

2023-10-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 --- Comment #6 from Marek Polacek --- (In reply to Andrew Pinski from comment #5) > (In reply to Fabio Alemagna from comment #4) > > (In reply to Marek Polacek from comment #2) > > > Confirmed. Started with r6-6830-g20a0c6f9bdbd78: > > > > > >

[Bug target/112276] [14 Regression] wrong code with -O2 -msse4.2 since r14-4964-g7eed861e8ca3f5

2023-10-30 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112276 --- Comment #6 from Zdenek Sojka --- Created attachment 56477 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56477&action=edit testcase failing at -O2 $ x86_64-pc-linux-gnu-gcc -O2 testcase.c $ ./a.out Aborted

[Bug target/112297] Failure of pr100936.c on x86_64-apple-darwin21

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112297 --- Comment #2 from Andrew Pinski --- Most likely the testcase needs: /* { dg-require-effective-target nonpic } */ Or something like that.

[Bug tree-optimization/112266] `constcall(a)` and `constcall(&a->b[0])` is not being optimized to one call

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112266 --- Comment #4 from Andrew Pinski --- (In reply to Richard Biener from comment #2) > Whee - late diagnostic fallout galore! Putting on hold. I was expecting that. Many of the diagnostic for strings and array bounds, etc. depend on the orig

  1   2   >