[Bug target/81602] Unnecessary zero-extension after 16 bit popcnt

2024-08-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81602 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #5

[Bug modula2/116378] New: [15 Regression] M2 bootstrap fails on x86_64-darwin after r15-2876

2024-08-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116378 Bug ID: 116378 Summary: [15 Regression] M2 bootstrap fails on x86_64-darwin after r15-2876 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build

[Bug target/109955] Should be possible to remove vcond{,u,eq} expanders

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

[Bug target/97786] rs6000 isinf etc. are pretty horrible

2024-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97786 --- Comment #3 from GCC Commits --- The master branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:08108d57246210de7d5a00b1967dab7102d356bc commit r15-2927-g08108d57246210de7d5a00b1967dab7102d356bc Author: Haochen Gui Date: Thu Au

[Bug target/97786] rs6000 isinf etc. are pretty horrible

2024-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97786 --- Comment #2 from GCC Commits --- The master branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:44eb45c2ef7192eb6a811fd46fcb2c7fbeb6f865 commit r15-2926-g44eb45c2ef7192eb6a811fd46fcb2c7fbeb6f865 Author: Haochen Gui Date: Thu Au

[Bug target/97786] rs6000 isinf etc. are pretty horrible

2024-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97786 --- Comment #1 from GCC Commits --- The master branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:53945be1efb502f235d84ff67ceafe4a764b6e1c commit r15-2925-g53945be1efb502f235d84ff67ceafe4a764b6e1c Author: Haochen Gui Date: Thu Au

[Bug target/81602] Unnecessary zero-extension after 16 bit popcnt

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81602 --- Comment #4 from Andrew Pinski --- Interesting clang does: ``` movzx ecx, word ptr [rdi + 2*rax] popcnt ecx, ecx lea rsi, [rsi + 2*rcx] ``` While GCC 14+ does: ``` xor eax, eax add rdi,

[Bug target/113600] [14/15 regression] 525.x264_r run-time regresses by 8% with PGO -Ofast -march=znver4

2024-08-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113600 --- Comment #10 from Hongtao Liu --- I think it should be fixed by r15-2820-gab18785840d7b8

[Bug target/115749] Non optimal assembly for integer modulo by a constant on x86-64 CPUs

2024-08-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115749 Hongtao Liu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/116357] [12/13/14/15 Regression] The item's address of the array is not correct if aligned is used

2024-08-14 Thread alwin.zhang at sap dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116357 --- Comment #4 from Alwin Zhang --- Hello experts, What do you think about the fact that it only happens when using -O1/2/3? It seems like the other issues linked have nothing to do with that fact.

[Bug target/115749] Non optimal assembly for integer modulo by a constant on x86-64 CPUs

2024-08-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115749 Bug 115749 depends on bug 115756, which changed state. Bug 115756 Summary: default tuning for x86_64 produces shifts for `*240` https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115756 What|Removed |Added --

[Bug target/115756] default tuning for x86_64 produces shifts for `*240`

2024-08-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115756 Hongtao Liu changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/116174] [14/15 regression] Alignment request is added before endbr with -fcf-protection=branch since r15-888-gb644126237a1aa

2024-08-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug tree-optimization/114678] FAIL: gcc.dg/tree-ssa/range-sincos.c scan-tree-dump-not evrp "link_error" on s390

2024-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114678 --- Comment #6 from GCC Commits --- The master branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:cd0930768ff936b681135bf8873e7f7b796a4ed9 commit r15-2922-gcd0930768ff936b681135bf8873e7f7b796a4ed9 Author: Haochen Gui Date: Thu A

[Bug middle-end/116377] Warnings emit repeatedly when inlining occurs

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116377 --- Comment #4 from Andrew Pinski --- gimple-ssa-warn-restrict.cc: "%qD source argument is the same as destination",

[Bug middle-end/116377] Warnings emit repeatedly when inlining occurs

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116377 --- Comment #3 from Andrew Pinski --- Most likely because the warning happens after recusive inlining rather than before inlining.

[Bug middle-end/116377] Warnings emit repeatedly when inlining occurs

2024-08-14 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116377 --- Comment #2 from Peter Damianov --- I know the testcase contains infinite recursion, what I was reporting was the warning about the strncpy repeating multiple times, with progressively more "inlined from" notes. I couldn't find a way to cons

[Bug middle-end/116377] Warnings emit repeatedly when inlining occurs

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116377 --- Comment #1 from Andrew Pinski --- gimple-warn-recursion.cc: "infinite recursion detected"))

[Bug c/116377] New: Warnings emit repeatedly when inlining occurs

2024-08-14 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116377 Bug ID: 116377 Summary: Warnings emit repeatedly when inlining occurs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/115657] [12/13/14/15 Regression] ICE in tsubst_enum/tsubst_expr during template instantiation

2024-08-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115657 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug fortran/116221] -Wmaybe-uninitialized in symbol.cc's gfc_get_ha_symbol

2024-08-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116221 --- Comment #12 from anlauf at gcc dot gnu.org --- (In reply to Sam James from comment #10) > /var/tmp/portage/sys-devel/gcc-15.0./work/gcc-15.0./gcc/fortran/ > interface.cc: In function ‘gfc_get_formal_from_actual_arglist’: > /var/tmp/po

[Bug fortran/116221] -Wmaybe-uninitialized in symbol.cc's gfc_get_ha_symbol

2024-08-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116221 --- Comment #11 from anlauf at gcc dot gnu.org --- (In reply to Sam James from comment #9) > A handful more: > ``` > In function ‘gfc_restore_backend_locus’, > inlined from ‘gfc_trans_if_1’ at > /var/tmp/portage/sys-devel/gcc-15.0./work/g

[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2024-08-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 --- Comment #10 from Marek Polacek --- Fixed on trunk so far. I think it makes sense to fix this in 14 too.

[Bug c++/116015] ICE in replace_placeholders_r for simple default member initializer

2024-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:d91b6c93f98cac71f5588d73191d08ad788e600c commit r15-2920-gd91b6c93f98cac71f5588d73191d08ad788e600c Author: Marek Polacek Date: Fr

[Bug ipa/116333] unused result of pure function is not optimized out because of inlining

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116333 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > (In reply to Pali Rohár from comment #3) > > Hello Andrew, have you checked if this is really duplicate? > > That is a different issue all together. The origina

[Bug ipa/116333] unused result of pure function is not optimized out because of inlining

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116333 --- Comment #4 from Andrew Pinski --- (In reply to Pali Rohár from comment #3) > Hello Andrew, have you checked if this is really duplicate? That is a different issue all together. The original issue is definitely a dup. The secondary issue loo

[Bug ipa/116333] unused result of pure function is not optimized out because of inlining

2024-08-14 Thread pali at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116333 --- Comment #3 from Pali Rohár --- Hello Andrew, have you checked if this is really duplicate?

[Bug libstdc++/115444] std::copy_n generates more code than needed

2024-08-14 Thread alfredo.correa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115444 Alfredo Correa changed: What|Removed |Added CC||alfredo.correa at gmail dot com --- Co

[Bug target/109329] rs6000: New testcases {mul,div}ic3* should run on systems without QP

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

[Bug d/116373] [14/15 regression] ICE in dmd.expressionsem.resolveLoc since r14-8766-gf204359931866b

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116373 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Status|UN

[Bug d/116373] [14/15 regression] ICE in dmd.expressionsem.resolveLoc since r14-8766-gf204359931866b

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

[Bug target/116374] [LRA] [M68K] Wrong %argptr elimination

2024-08-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116374 Andreas Schwab changed: What|Removed |Added Keywords||ra Target Milestone|---

[Bug middle-end/116375] redundant copy not eliminated with CONSTRUCTOR

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116375 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2024-08-14 00:00:00 | Severity|normal

[Bug middle-end/116375] redundant copy not eliminated with CONSTRUCTOR

2024-08-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116375 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/109329] rs6000: New testcases {mul,div}ic3* should run on systems without QP

2024-08-14 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109329 Peter Bergner changed: What|Removed |Added Last reconfirmed||2024-08-14 CC|

[Bug target/116374] [LRA] [M68K] Wrong %argptr elimination

2024-08-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116374 --- Comment #2 from Andreas Schwab --- FAIL: gcc.c-torture/compile/20050122-2.c -O1 (internal compiler error: in update_reg_eliminate, at lra-eliminations.cc:1215)

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

2024-08-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102217 --- Comment #10 from Arsen Arsenović --- (In reply to John Eivind Helset from comment #9) > Hit this as well on master (9d5c500c4fa) in something like `co_return > co_await f(a, b ? c : d);`, if I lift the conditional out of await it seems > ok.

[Bug middle-end/115859] ICE: in lower_stmt, at gimple-low.cc:724 with -g and __attribute__((optimize(3)))

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

[Bug c++/116376] `genpreds` segmentation fault caused by dereferencing null pointer in `gcc/hash_table.h`

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116376 --- Comment #4 from Andrew Pinski --- What is done for x86_64-mingw is call __main from main

[Bug middle-end/115859] ICE: in lower_stmt, at gimple-low.cc:724 with -g and __attribute__((optimize(3)))

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

[Bug target/116374] [LRA] [M68K] Wrong %argptr elimination

2024-08-14 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116374 Michael Matz changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment #1 f

[Bug c++/116376] `genpreds` segmentation fault caused by dereferencing null pointer in `gcc/hash_table.h`

2024-08-14 Thread radek.barton at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116376 Radek Barton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/106658] [C++23] P2590 - Explicit lifetime management

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

[Bug testsuite/116155] c-c++-common/fam-in-union-alone-in-struct-1.c fails on pru-unknown-elf

2024-08-14 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116155 Dimitar Dimitrov changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #16 from Dimitar

[Bug c++/116376] `genpreds` segmentation fault caused by dereferencing null pointer in `gcc/hash_table.h`

2024-08-14 Thread radek.barton at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116376 --- Comment #2 from Radek Barton --- OK, thanks for the insights, let me investigate further what is going on...

[Bug c++/116376] `genpreds` segmentation fault caused by dereferencing null pointer in `gcc/hash_table.h`

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

[Bug rtl-optimization/112918] [m68k] [LRA] ICE: maximum number of generated reload insns per insn achieved (90)

2024-08-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112918 Andreas Schwab changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116376] New: `genpreds` segmentation fault caused by dereferencing null pointer in `gcc/hash_table.h`

2024-08-14 Thread radek.barton at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116376 Bug ID: 116376 Summary: `genpreds` segmentation fault caused by dereferencing null pointer in `gcc/hash_table.h` Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/116369] [12/13/14/15 Regression] temporary variable bounded to const reference with mutable field incorrectly marked as rodata since r9-869-g5603790dbf233c

2024-08-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug middle-end/116375] New: redundant copy not eliminated with CONSTRUCTOR

2024-08-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116375 Bug ID: 116375 Summary: redundant copy not eliminated with CONSTRUCTOR Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug sanitizer/116203] libsanitizer fails to build for aarch64 with __NR_newfstatat was not declared in this scope

2024-08-14 Thread rudi at heitbaum dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116203 --- Comment #8 from rudi at heitbaum dot com --- Hi Andrew, I can confirm this is now fixed with kernel 6.11-rc3.

[Bug target/116374] New: [LRA] [M68K] Wrong %argptr elimination

2024-08-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116374 Bug ID: 116374 Summary: [LRA] [M68K] Wrong %argptr elimination Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P

[Bug d/116373] [14/15 regression] ICE in dmd.expressionsem.resolveLoc since r14-8766-gf204359931866b

2024-08-14 Thread a.horodniceanu at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116373 --- Comment #2 from Andrei Horodniceanu --- (In reply to Iain Buclaw from comment #1) > Upstream fix. > > https://github.com/dlang/dmd/pull/16408 Oh, I didn't think to look upstream because the code compiled fine with dmd. The example code in

[Bug lto/116361] lto1: fatal error: multiple prevailing defs when using both LTO and OpenMP named critical sections with static libraries

2024-08-14 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116361 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug d/116373] [14/15 regression] ICE in dmd.expressionsem.resolveLoc since r14-8766-gf204359931866b

2024-08-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116373 Iain Buclaw changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Bug c++/116369] [12/13/14/15 Regression] temporary variable bounded to const reference with mutable field incorrectly marked as rodata

2024-08-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug d/116373] New: [14/15 regression] ICE in dmd.expressionsem.resolveLoc since f204359931866b917856fc959c70dbf55f28c14d

2024-08-14 Thread a.horodniceanu at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116373 Bug ID: 116373 Summary: [14/15 regression] ICE in dmd.expressionsem.resolveLoc since f204359931866b917856fc959c70dbf55f28c14d Product: gcc Version: 14.2.1 Status: UNCONF

[Bug c++/114076] list-initialization with assignment expression triggers wrong template instanciation

2024-08-14 Thread benni.buch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114076 --- Comment #4 from Benjamin Buch --- I just tried the Compiler Explorer links from my overview and saw that there is no change in the trunk for GCC. https://stackoverflow.com/a/78101462/4821621 The fact that all three major compilers behave d

[Bug rtl-optimization/116372] [15 Regression] Ada bootstrap failure ada/gcc-interface/trans.cc:6423 since r15-2890-g72c9b5f438f22c

2024-08-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116372 --- Comment #1 from Sam James --- Not that this means much, but as a note for Manolis et. al: Ada bootstraps OK on amd64 (znver2). But I don't do all-FE builds in many places.

[Bug target/113035] RISC-V: regression testsuite errors -mtune=sifive-7-series

2024-08-14 Thread Dusan.Stojkovic--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113035 --- Comment #3 from Dusan Stojkovic --- Upon further investigation into the bug related to the vsetvl-*.c tests (specifically vsetvl-13.c, vsetvl-15.c, and vsetvl-23.c), we found the following: When using the mtune=sifive-7-series tuning, tests

[Bug rtl-optimization/116372] New: [15 Regression] Ada bootstrap failure ada/gcc-interface/trans.cc:6423 since r15-2890-g72c9b5f438f22c

2024-08-14 Thread stefansf at gcc dot gnu.org via Gcc-bugs
/devel/src/gcc/ada/spark_xrefs.adb -o ada/spark_xrefs.o +===GNAT BUG DETECTED==+ | 15.0.0 20240814 (experimental) (s390x-ibm-linux-gnu) GCC error: | | in gnat_to_gnu, at ada/gcc-interface/trans.cc:6423 | | Error

[Bug lto/116361] lto1: fatal error: multiple prevailing defs when using both LTO and OpenMP named critical sections with static libraries

2024-08-14 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116361 H.J. Lu changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment #4 from

[Bug lto/116361] lto1: fatal error: multiple prevailing defs when using both LTO and OpenMP named critical sections with static libraries

2024-08-14 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116361 --- Comment #3 from H.J. Lu --- The BFD linker checks if a symbol in archive member is real definition, not common, before including the archive member in the link output so that a real definition in archive member can override the common symbol

[Bug lto/116361] lto1: fatal error: multiple prevailing defs when using both LTO and OpenMP named critical sections with static libraries

2024-08-14 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116361 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com See Also

[Bug d/115295] [15 regression] Various gdc testsuite regressions

2024-08-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115295 --- Comment #9 from Sam James --- (In reply to Sam James from comment #8) > It looks like pinskia reviewed it and then aoliva respun it at > https://gcc.gnu.org/pipermail/gcc-patches/2024-June/654286.html. It fixes a bunch of issues for me with

[Bug debug/104050] '-fcompare-debug' failure w/ -std=c++20 -O1

2024-08-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104050 --- Comment #8 from Arsen Arsenović --- possibly related to PR c++/101118 (and notably the fix for it)

[Bug debug/104050] '-fcompare-debug' failure w/ -std=c++20 -O1

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

[Bug target/113729] Missing APX NDD optimization

2024-08-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729 Hongtao Liu changed: What|Removed |Added Keywords||missed-optimization Resolution|--

[Bug target/116371] The SME2 svpext intrinsics are missing a _lane suffix

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

[Bug target/116371] New: The SME2 svpext intrinsics are missing a _lane suffix

2024-08-14 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116371 Bug ID: 116371 Summary: The SME2 svpext intrinsics are missing a _lane suffix Product: gcc Version: 14.1.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug target/106438] [13/14/15 regression] powerpc: ICE when building libgfortran with -flto: in insert_value_copy_on_edge, at tree-outof-ssa.cc:334 since r13-1324-g133d0d422ebd18

2024-08-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106438 Sam James changed: What|Removed |Added Last reconfirmed||2024-08-14 Status|UNCONFIRMED

[Bug fortran/116370] New: UBSAN issue in fortran/trans-expr.cc in arrayfunc_assign_needs_temporary - enum value out of range

2024-08-14 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116370 Bug ID: 116370 Summary: UBSAN issue in fortran/trans-expr.cc in arrayfunc_assign_needs_temporary - enum value out of range Product: gcc Version: 15.0

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

2024-08-14 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #169 from Kazumoto Kojima --- (In reply to John Paul Adrian Glaubitz from comment #168) > I am getting a segmentation fault when building libgcc2.c now: > > /<>/build/./gcc/xgcc -B/<>/build/./gcc/ > -B/usr/sh4-linux-gnu/bin/ -B/usr/s

[Bug target/109329] rs6000: New testcases {mul,div}ic3* should run on systems without QP

2024-08-14 Thread jeevitha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109329 --- Comment #1 from Jeevitha --- This test case requires a Power7 or above due to the ieeelongdouble ABI. The test case includes "ppc_float128_sw", but this is not helpful. We can use the target check "ppc_ieee128_ok" to verify IEEE support.

[Bug target/113729] Missing APX NDD optimization

2024-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729 --- Comment #6 from GCC Commits --- The master branch has been updated by Kong Lingling : https://gcc.gnu.org/g:edb2712936368e803fd67aa520323054b2a5c5e7 commit r15-2916-gedb2712936368e803fd67aa520323054b2a5c5e7 Author: Lingling Kong Date: W

[Bug target/113729] Missing APX NDD optimization

2024-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729 --- Comment #5 from GCC Commits --- The master branch has been updated by Kong Lingling : https://gcc.gnu.org/g:d08a5f211135374b3ad700780c46a198cd320328 commit r15-2915-gd08a5f211135374b3ad700780c46a198cd320328 Author: Lingling Kong Date: W

[Bug target/113729] Missing APX NDD optimization

2024-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729 --- Comment #3 from GCC Commits --- The master branch has been updated by Kong Lingling : https://gcc.gnu.org/g:a302cd6abbeccc93784b7ecc86f2e9106aa412ca commit r15-2913-ga302cd6abbeccc93784b7ecc86f2e9106aa412ca Author: Lingling Kong Date: W

[Bug target/113729] Missing APX NDD optimization

2024-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729 --- Comment #4 from GCC Commits --- The master branch has been updated by Kong Lingling : https://gcc.gnu.org/g:1b761744dc3ea6f3d66a9c48f16719ad1c92d5ad commit r15-2914-g1b761744dc3ea6f3d66a9c48f16719ad1c92d5ad Author: Lingling Kong Date: W

[Bug c++/116369] [12/13/14/15 Regression] temporary variable bounded to const reference with mutable field incorrectly marked as rodata

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 --- Comment #5 from Andrew Pinski --- Run test: ``` struct f{ mutable int t; }; const f &g = {1}; int main() { g.t++; } ```

[Bug c++/116369] [12/13/14/15 Regression] temporary variable bounded to const reference with mutable field incorrectly marked as rodata

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |c++ Ever confirmed|0

[Bug libstdc++/116369] [DEBUG MODE,C++20] access to iterators from global empty container defined by "const&" results in SIGSEGV

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 --- Comment #3 from Andrew Pinski --- The difference between the two versions (and even the difference between the refernece and non reference) is the underlying variable for a1234 is in the rodata section for the one with the temporary bounded

[Bug libstdc++/116369] [DEBUG MODE,C++20] access to iterators from global empty container defined by "const&" results in SIGSEGV

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 --- Comment #2 from Andrew Pinski --- It worked with `14.0.0 20231109`

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #20 from Andreas Schwab --- With that patch I can successfully build the C++ target libraries with LRA enabled.

[Bug fortran/77871] [12/13/14/15 Regression] [Coarray] [OOP] ICE in gfc_get_caf_token_offset, at fortran/trans-expr.c:1981

2024-08-14 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77871 Andre Vehreschild changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug libstdc++/116369] [DEBUG MODE,C++20] access to iterators from global empty container defined by "const&" results in SIGSEGV

2024-08-14 Thread piotrwn1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 --- Comment #1 from Piotr Nycz --- (In reply to Piotr Nycz from comment #0) > Starting from C++20 (C++23 too) and gcc14.1, with STL debug mode ON > (-std=c++20 -D_GLIBCXX_DEBUG) the following code starts producing SIGSEGV: > > #include >

[Bug libstdc++/116369] New: [DEBUG MODE,C++20] access to iterators from global empty container defined by "const&" results in SIGSEGV

2024-08-14 Thread piotrwn1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 Bug ID: 116369 Summary: [DEBUG MODE,C++20] access to iterators from global empty container defined by "const&" results in SIGSEGV Product: gcc Version: 14.1.1 Status: UN

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2024-08-14 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 102973, which changed state. Bug 102973 Summary: possible inconsistency in procptr_assignment handling when matching ASSOCIATE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102973 What|Removed

[Bug fortran/102973] possible inconsistency in procptr_assignment handling when matching ASSOCIATE

2024-08-14 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102973 Andre Vehreschild changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug fortran/102973] possible inconsistency in procptr_assignment handling when matching ASSOCIATE

2024-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102973 --- Comment #4 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:54be14bfd6e2dee7cb4e1b3c20dc2677093ee818 commit r15-2911-g54be14bfd6e2dee7cb4e1b3c20dc2677093ee818 Author: Andre Vehreschild D

[Bug c++/116366] the const specifier is dropped when using member object as template parameter

2024-08-14 Thread niqingliang2003 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116366 --- Comment #4 from Yi Qingliang --- (In reply to Andrew Pinski from comment #3) > Note it is unrelated to member objects too as shown by: > ``` > > template > auto declval() -> T&; > > static int x; > > template > using mem_type = decltype(*

[Bug c++/116366] the const specifier is dropped when using member object as template parameter

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116366 --- Comment #3 from Andrew Pinski --- Note it is unrelated to member objects too as shown by: ``` template auto declval() -> T&; static int x; template using mem_type = decltype(*M); template> void set_mem(const T& v) { *M = v; } st

[Bug c++/116366] the const specifier is dropped when using member object as template parameter

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116366 --- Comment #2 from Andrew Pinski --- Interesting EDG and MSVC both accept it though.

[Bug c++/116366] the const specifier is dropped when using member object as template parameter

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116366 --- Comment #1 from Andrew Pinski --- I think this is just a diagnostic error. clang produces: ``` :17:28: error: address of overloaded function 'set_mem' does not match required type 'void (int &)' 17 | static constexpr auto p = &test::set

[Bug c++/116368] placeholder type deduction bug

2024-08-14 Thread delacroix777 at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116368 --- Comment #2 from delacroix777 at proton dot me --- So you've known about the existence of this bug for 7 years now, but still no fix?

[Bug fortran/116292] [15 regression] ICE in build_function_decl, at fortran/trans-decl.cc:2486

2024-08-14 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116292 Andre Vehreschild changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/79624] comma separate auto variables deduce different types under dependent lookup

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

[Bug c++/79009] Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

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

[Bug c++/116368] placeholder type deduction bug

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

[Bug c++/79009] Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2024-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Andrew Pinski changed: What|Removed |Added CC||delacroix777 at proton dot me --- Commen

[Bug fortran/116292] [15 regression] ICE in build_function_decl, at fortran/trans-decl.cc:2486

2024-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116292 --- Comment #12 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:bb2324769c5a03e275de00416659e624c97f1442 commit r15-2910-gbb2324769c5a03e275de00416659e624c97f1442 Author: Andre Vehreschild

  1   2   >