[Bug c/119950] __builtin_constant_p warning with -Wdeprecated-non-prototype inconsistent

2025-04-27 Thread quentin at armitage dot org.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119950 --- Comment #2 from Quentin Armitage --- Wow, that was quick. Many thanks.

[Bug libstdc++/119501] std::ranges::copy_n advances InputIterator one more time than necessary

2025-04-27 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119501 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #2 from Jian

[Bug bootstrap/119967] mips: build faillure gcc/config/mips/mips.cc:20681:7: error: 'is_micromips' was not declared in this scope

2025-04-27 Thread manuel.lauss at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119967 Manuel Lauss changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug bootstrap/119967] New: mips: build faillure gcc/config/mips/mips.cc:20681:7: error: 'is_micromips' was not declared in this scope

2025-04-27 Thread manuel.lauss at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119967 Bug ID: 119967 Summary: mips: build faillure gcc/config/mips/mips.cc:20681:7: error: 'is_micromips' was not declared in this scope Product: gcc Version: 16.0 Status: UNC

[Bug target/119929] [16 Regression] build fails on mips64el-linux-gnu (and other mips targets) since r16-51-g727a43e0a66052

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119929 Sam James changed: What|Removed |Added Last reconfirmed||2025-04-27 Ever confirmed|0

[Bug c++/119939] [modules] Constraints attached to defaulted friend functions don't work correctly

2025-04-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119939 --- Comment #1 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:1c5cf7cc82d3a2afa5d4fb90049456be408c2a7a commit r16-175-g1c5cf7cc82d3a2afa5d4fb90049456be408c2a7a Author: Nathaniel Shead Date:

[Bug c++/119939] [modules] Constraints attached to defaulted friend functions don't work correctly

2025-04-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119939 --- Comment #2 from GCC Commits --- The releases/gcc-15 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:57feb6afcade6b066477359bee41d071225ab499 commit r15-9594-g57feb6afcade6b066477359bee41d071225ab499 Author: Nathaniel She

[Bug c/119968] New: miscompliation at -O1 or higher

2025-04-27 Thread urs at akk dot org via Gcc-bugs
head -n 1 ; for i in $(seq 1 3) ; do gcc -O$i -W -Wall -Wextra -g -o rege regex.c -lpcre2-8 ; ./rege ; echo $? ; done ; done gcc-13 (Debian 13.3.0-13) 13.3.0 y_ecrc: 17994587, y_epcrc: 17994587 0 y_ecrc: 17994587, y_epcrc: 0 1 y_ecrc: 17994587, y_epcrc: 0 1 gcc-16 (GCC) 16.0.0 20250427 (experiment

[Bug c/119968] miscompliation at -O1 or higher

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119968 Sam James changed: What|Removed |Added Keywords||needs-source, wrong-code --- Comment #1 fro

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2025-04-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 --- Comment #20 from Eric Botcazou --- > So it looks like enabling SSE somehow forces realigning ESP. Yes, see comment #5 the audit trail.

[Bug c/119968] miscompliation at -O1 or higher

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119968 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/119929] [16 Regression] build fails on mips64el-linux-gnu (and other mips targets) since r16-51-g727a43e0a66052

2025-04-27 Thread manuel.lauss at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119929 Manuel Lauss changed: What|Removed |Added CC||manuel.lauss at googlemail dot com ---

[Bug c++/119863] [15 Regression][modules] Bogus conflicting friend template declaration

2025-04-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119863 --- Comment #8 from GCC Commits --- The releases/gcc-15 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:947e0d1811805468116b0d497bd62779273bfa2b commit r15-9593-g947e0d1811805468116b0d497bd62779273bfa2b Author: Nathaniel She

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

2025-04-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 119939, which changed state. Bug 119939 Summary: [modules] Constraints attached to defaulted friend functions don't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119939 What|Removed

[Bug c++/119939] [modules] Constraints attached to defaulted friend functions don't work correctly

2025-04-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119939 Nathaniel Shead changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nshead at gcc dot gnu.org

[Bug c++/119964] [15/16 regression] GCC 15 does not delete explicitly-defaulted move constructor with (const T&&) parameter

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119964 Sam James changed: What|Removed |Added Target Milestone|--- |15.2 Summary|GCC 15 does not del

[Bug c++/119863] [15 Regression][modules] Bogus conflicting friend template declaration

2025-04-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119863 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2025-04-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 119863, which changed state. Bug 119863 Summary: [15 Regression][modules] Bogus conflicting friend template declaration https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119863 What|Removed

[Bug c++/119969] [12/13/14/15 regression] incorrectly omitted initialization at -O2

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119969 Sam James changed: What|Removed |Added Known to work||11.5.0 Summary|incorrectly omitt

[Bug c++/119969] New: incorrectly omitted initialization at -O2

2025-04-27 Thread bbi5291 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119969 Bug ID: 119969 Summary: incorrectly omitted initialization at -O2 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/119969] [12/13/14/15 regression] incorrectly omitted initialization at -O2

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119969 --- Comment #1 from Sam James --- ``` $ clang++ -fsanitize=type -ggdb3 -O0 a.cxx -o a ; ./a ; echo $? ==3871530==ERROR: TypeSanitizer: type-aliasing-violation on address 0x6029869e1970 (pc 0x602986099344 bp 0x7ffd53fde640 sp 0x7ffd53fde5d0 tid 3

[Bug libstdc++/119970] New: [15 Regression] mingw builds fail as libstdc++-v3/include/ostream:224:65: error: could not convert '__out' since r16-142-g01e5ef3e8b9128

2025-04-27 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119970 Bug ID: 119970 Summary: [15 Regression] mingw builds fail as libstdc++-v3/include/ostream:224:65: error: could not convert '__out' since r16-142-g01e5ef3e8b9128 Product: gc

[Bug c++/119964] New: GCC 15 does not delete explicitly-defaulted move constructor with (const T&&) parameter

2025-04-27 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119964 Bug ID: 119964 Summary: GCC 15 does not delete explicitly-defaulted move constructor with (const T&&) parameter Product: gcc Version: 15.1.0 Status: UNCONFIRMED

[Bug libstdc++/119962] : __maybe_present_t misses initialization

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119962 --- Comment #1 from Andrew Pinski --- libstdc++: [[no_unique_address]] __detail::__maybe_present_t, iterator_t<_Base>> _M_current; vs libc++: using _MaybeCurrent [[__gnu__::__no

[Bug fortran/119948] Source allocation of pure function result rejected

2025-04-27 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119948 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #5 f

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2025-04-27 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 LIU Hao changed: What|Removed |Added CC||lh_mouse at 126 dot com --- Comment #18 from

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2025-04-27 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 --- Comment #19 from LIU Hao --- test.c: ``` void foo(int* p); int bar(int x, int y) { _Alignas(16) int t[4] = { x, y, x, y }; foo(t); return 42; } ``` With SSE (not default): ``` E:\lh_mouse\Desktop>gcc test.c -O2 -c -msse && objdump

[Bug tree-optimization/119959] [15/16 regression] simple loop miscompiled into an endless loop since r15-580-gf3e5f4c58591f5

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119959 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/118779] [15 Regression] clisp miscompilation since r15-580

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118779 Sam James changed: What|Removed |Added CC||bruno at clisp dot org --- Comment #5 from

[Bug tree-optimization/119959] [15/16 regression] simple loop miscompiled into an endless loop since r15-580-gf3e5f4c58591f5

2025-04-27 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119959 --- Comment #9 from mcccs at gmx dot com --- Also to make sure my bisections are correct, after running the script automatically, I manually checkout to the bad commit and its parent and compare them. My previously pasted commit was my previous

[Bug libstdc++/119970] [16 Regression] mingw builds fail as libstdc++-v3/include/ostream:224:65: error: could not convert '__out' since r16-142-g01e5ef3e8b9128

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119970 Andrew Pinski changed: What|Removed |Added Target||mingw Target Milestone|---

[Bug tree-optimization/119959] [15/16 regression] simple loop miscompiled into an endless loop

2025-04-27 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119959 --- Comment #5 from mcccs at gmx dot com --- Bisection points at r15-988-g5316c35b13cf53 also target aarch64 as well .L8: add x19, x19, 8 cmp x20, x19 beq .L16 versus .L7: add x19, x19, 8

[Bug tree-optimization/119959] [15/16 regression] simple loop miscompiled into an endless loop

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119959 --- Comment #6 from Sam James --- I think that's a bogus bisection plus that pass is only on arm64 right now.

[Bug tree-optimization/119959] [15/16 regression] simple loop miscompiled into an endless loop

2025-04-27 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119959 --- Comment #7 from mcccs at gmx dot com --- Sorry right that's the parent commit! I pasted the wrong hash. Bisection says r15-580-gf3e5f4c58591f5

[Bug tree-optimization/119959] [15/16 regression] simple loop miscompiled into an endless loop since r15-580-gf3e5f4c58591f5

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119959 Sam James changed: What|Removed |Added Summary|[15/16 regression] simple |[15/16 regression] simple

[Bug c++/119969] [12/13/14/15 regression] incorrectly omitted initialization at -O2

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119969 --- Comment #2 from Andrew Pinski --- (In reply to Sam James from comment #1) > ``` > $ clang++ -fsanitize=type -ggdb3 -O0 a.cxx -o a ; ./a ; echo $? This could still be a type sanitizer issue. Changing PMF to any other type besides a pointer

[Bug c++/119969] [12/13/14/15 regression] incorrectly omitted initialization at -O2 with pointer to member functions

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119969 Andrew Pinski changed: What|Removed |Added Known to fail||12.1.0 Status|UNCONFIRMED

[Bug c/119968] miscompliation at -O1 or higher

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119968 --- Comment #3 from Andrew Pinski --- uint32_t y_epcrc = 0L; sscanf((const char *) named_buf, "%lx", (unsigned long *) &y_epcrc); yes this code is not LP64 ready.

[Bug tree-optimization/67797] builtin functions should be able to know when their first argument is returned for tail calls

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67797 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > Patch posted: > https://gcc.gnu.org/pipermail/gcc-patches/2025-April/681484.html Newest version: https://gcc.gnu.org/pipermail/gcc-patches/2025-April/681911.html

[Bug libstdc++/119962] : __maybe_present_t misses initialization

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

[Bug target/119925] [15/16 Regression] 4% slowdown of 538.imagick_r and 10% of 433.milc on Aarch64

2025-04-27 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119925 --- Comment #3 from Filip Kastl --- (In reply to Filip Kastl from comment #1) > I've just noticed that there is also a 10% slowdown of 433.milc SPEC 2006 > benchmark also with -Ofast -march=native PGO. Looking at the graphs, I'd > say these two

[Bug tree-optimization/119965] New: [16 Regression] 531.deepsjeng_r binary is 50% bigger since r16-116-gcfb04e0de6aa43

2025-04-27 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119965 Bug ID: 119965 Summary: [16 Regression] 531.deepsjeng_r binary is 50% bigger since r16-116-gcfb04e0de6aa43 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywo

[Bug tree-optimization/119924] [16 Regression] ICE when building 531.deepsjeng_r during ipa-cp since r16-101-g132d01d96ea9d6

2025-04-27 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119924 Filip Kastl changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/119966] pru: Invalid register in RTL expression starting with r16-160-ge6f89d78c1a752

2025-04-27 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119966 Dimitar Dimitrov changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |dimitar at gcc dot gnu.org

[Bug target/119966] New: pru: Invalid register in RTL expression starting with r16-160-ge6f89d78c1a752

2025-04-27 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119966 Bug ID: 119966 Summary: pru: Invalid register in RTL expression starting with r16-160-ge6f89d78c1a752 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity:

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

2025-04-27 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 119924, which changed state. Bug 119924 Summary: [16 Regression] ICE when building 531.deepsjeng_r during ipa-cp since r16-101-g132d01d96ea9d6 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119924 What|Remov

[Bug target/119966] [16 regression] pru: Invalid register in RTL expression starting with r16-160-ge6f89d78c1a752

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119966 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0 Summary|pru: Invalid re

[Bug tree-optimization/119963] New: [16 Regression

2025-04-27 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119963 Bug ID: 119963 Summary: [16 Regression Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assig

[Bug tree-optimization/119963] [16 Regression

2025-04-27 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119963 Filip Kastl changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/114411] [14/15/16 Regression] 12% exec time slowdown of 433.milc on aarch64

2025-04-27 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114411 --- Comment #5 from Filip Kastl --- Soon after I reported this, the graph went to roughly the original values. So if no one minds, I'll close this.

[Bug libstdc++/119754] std::uninitialized_value_construct does not begin lifetime of trivial types

2025-04-27 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119754 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #5 from Jian

[Bug target/119929] [16 Regression] build fails on mips64el-linux-gnu (and other mips targets) since r16-51-g727a43e0a66052

2025-04-27 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119929 Filip Kastl changed: What|Removed |Added CC||pheeck at gcc dot gnu.org Summ

[Bug c/116082] -Wunterminated-string-initialization should not warn about strings that end with "\0" but should warn still for -Wc++-compat

2025-04-27 Thread steffen at sdaoden dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116082 --- Comment #13 from Steffen Nurpmeso --- I am!! *Luckily* nothing before 2010/1 (ie anything C++) uses this notation! Thank you. (godbolt.org is an interesting link, thanks.)

[Bug middle-end/87403] [Meta-bug] Issues that suggest a new warning

2025-04-27 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 108694, which changed state. Bug 108694 Summary: need a new warning option for preparing migration to ISO C23 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108694 What|Removed |Added

[Bug c/108694] need a new warning option for preparing migration to ISO C23

2025-04-27 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108694 Bruno Haible changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/119832] RISC-V: Redundant floating point rounding mode store/restore

2025-04-27 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119832 --- Comment #5 from Kito Cheng --- > To double confirm, is it a mis-optimized issue instead of correctness? Yes, That is mis-optimized issue, not correctness issue :)

[Bug c++/119916] [15/16 Regression] folly (2025.04.14.00 and earlier): coroutine tests fail with GCC 15 since r15-3153-g68ee624bc52ba1

2025-04-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119916 --- Comment #12 from Iain Sandoe --- noting the CWG issue, this is a tricky area since [current] tests might be expecting either the existing clang/MSVC (and previous GCC) behaviour - or the revised GCC behaviour. What seems clear to me is that

[Bug c++/119916] [15/16 Regression] folly (2025.04.14.00 and earlier): coroutine tests fail with GCC 15 since r15-3153-g68ee624bc52ba1

2025-04-27 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119916 --- Comment #11 from mcccs at gmx dot com --- Created attachment 61216 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61216&action=edit reduction.cpp Probably correct reduction

[Bug tree-optimization/119959] [15/16 regression] simple loop miscompiled into an endless loop since r15-580-gf3e5f4c58591f5

2025-04-27 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119959 --- Comment #11 from Bruno Haible --- (In reply to Sam James from comment #10) > Dupe. See https://gitlab.com/gnu-clisp/clisp/-/merge_requests/12 too. > > *** This bug has been marked as a duplicate of bug 118779 *** Thanks Sam, 1. for the ana

[Bug c/118838] _Pragma diagnostic ignored inside macro

2025-04-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118838 --- Comment #4 from GCC Commits --- The master branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:78673484b4055b93207eee0efd60a434b0bf96ab commit r16-179-g78673484b4055b93207eee0efd60a434b0bf96ab Author: Lewis Hyatt Date: Tue Fe

[Bug c/118838] _Pragma diagnostic ignored inside macro

2025-04-27 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118838 Lewis Hyatt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/103101] testsuite/gfortran.dg/vector_subscript_1.f90 fails with -fipa-pta (apparently due to dom bug)

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103101 --- Comment #3 from Andrew Pinski --- *** This bug has been marked as a duplicate of bug 102043 ***

[Bug middle-end/81191] `-fsplit-paths` is listed as `-O2`instead of `-O3` flag

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

[Bug target/77579] Missed multiple add (int) for CSEd case

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77579 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug c++/119916] [15/16 Regression] folly (2025.04.14.00 and earlier): coroutine tests fail with GCC 15 since r15-3153-g68ee624bc52ba1

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119916 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/cplusplu

[Bug tree-optimization/59660] We fail to optimize common boolean checks pre-inlining

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59660 --- Comment #19 from Andrew Pinski --- Created attachment 61217 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61217&action=edit Patch which fixes the C front-end part Still looking into the C++ (or post this patch) part. But at least we

[Bug target/119971] New: RISC-V: Wrong code with bitmanip extension

2025-04-27 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119971 Bug ID: 119971 Summary: RISC-V: Wrong code with bitmanip extension Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug bootstrap/119972] [15/16 regression] MacOS 10.15 profiledbootstrap fails with 15.1.0

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119972 Sam James changed: What|Removed |Added Target Milestone|--- |15.2 Keywords|

[Bug fortran/102043] [11 Regression] Wrong array types used for negative stride accesses, gfortran.dg/vector_subscript_1.f90 FAILs

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 Andrew Pinski changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug c++/119916] [15/16 Regression] folly (2025.04.14.00 and earlier): coroutine tests fail with GCC 15 since r15-3153-g68ee624bc52ba1

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119916 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/119971] [15/16 Regression] RISC-V: Wrong code with bitmanip extension

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119971 Andrew Pinski changed: What|Removed |Added Summary|RISC-V: Wrong code with |[15/16 Regression] RISC-V:

[Bug ipa/117695] lto got zero score on unixbench dhry2reg on trunk

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695 Sam James changed: What|Removed |Added Keywords||wrong-code --- Comment #11 from Sam James

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2025-04-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 --- Comment #21 from GCC Commits --- The master branch has been updated by Jonathan Yong : https://gcc.gnu.org/g:dea7b9a78b11b5ca0c85b971521144ba07a66aca commit r16-178-gdea7b9a78b11b5ca0c85b971521144ba07a66aca Author: LIU Hao Date: Sun Apr

[Bug bootstrap/119972] New: MacOS 10.15 profiledbootstrap fails with 15.1.0

2025-04-27 Thread hbent at cs dot oberlin.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119972 Bug ID: 119972 Summary: MacOS 10.15 profiledbootstrap fails with 15.1.0 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug tree-optimization/99997] Missed optimisation with -Os

2025-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 112877, which changed state. Bug 112877 Summary: TARGET_PROMOTE_PROTOTYPES is not honored consistently, should maybe not apply to builtins https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112877 What|Removed

[Bug c/48274] C frontend emit invalid promotions (TARGET_PROMOTE_PROTOTYPES )

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48274 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/112877] TARGET_PROMOTE_PROTOTYPES is not honored consistently, should maybe not apply to builtins

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112877 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/119910] [15/16 regression] Commit 'combine: Allow 2->2 combinations...' causes regression in Snappy workload for -mcpu=neoverse-v2

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119910 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.2 Summary|[15 regression

[Bug rtl-optimization/119913] Incorrect code with -ftrivial-auto-var-init=zero

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119913 Richard Biener changed: What|Removed |Added Target|x96_64 |x86_64-*-* Status|UNCONFIR

[Bug target/119929] [16 Regression] build fails on mips64el-linux-gnu (and other mips targets) since r16-51-g727a43e0a66052

2025-04-27 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119929 Xi Ruoyao changed: What|Removed |Added CC||syq at gcc dot gnu.org, |

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2025-04-27 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 --- Comment #22 from LIU Hao --- (In reply to Zeb Figura from comment #0) > Minimal example: > > typedef int myint[4] __attribute__((aligned(16))); > > extern void g(void *); > > void f(void) > { > myint a; > g(&a); > } > > Would yo

[Bug middle-end/119951] Exception and std::stoi behaves abnormally in a rare occasion

2025-04-27 Thread invisparent at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119951 --- Comment #3 from Chenyi Wang --- (In reply to Andrew Pinski from comment #2) > The problem is the same as PR 109267. Can you try the patch in PR 109267 > which I just attached, it is against GCC 16 but this area in the file has > not changed

[Bug libstdc++/119970] [16 Regression] mingw builds fail as libstdc++-v3/include/ostream:224:65: error: could not convert '__out' since r16-142-g01e5ef3e8b9128

2025-04-27 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119970 --- Comment #1 from LIU Hao --- Created attachment 61218 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61218&action=edit this isn't specific to mingw, right?

[Bug ipa/119973] [15/16 Regression] Wrong code at -O1 -fipa-pta -flto

2025-04-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119973 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org Keyword

[Bug ipa/119973] New: [15/16 Regression] Wrong code at -O1 -fipa-pta -flto

2025-04-27 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119973 Bug ID: 119973 Summary: [15/16 Regression] Wrong code at -O1 -fipa-pta -flto Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/119925] [15/16 Regression] 4% slowdown of 538.imagick_r and 10% of 433.milc on Aarch64

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119925 Richard Biener changed: What|Removed |Added Target Milestone|16.0|15.2

[Bug c++/119930] [16 regression] g++.dg/coroutines/torture/pr103953.C FAILs with -O3 since r16-101-g132d01d96ea9d6

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/119929] [16 Regression] build fails on mips64el-linux-gnu (and other mips targets) since r16-51-g727a43e0a66052

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119929 Richard Biener changed: What|Removed |Added Priority|P2 |P1 Target|

[Bug cobol/119932] cobol builds on s390x-linux-gnu with test failures

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119932 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/119931] [16 regression] gcc.dg/vla-1.c FAILs

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119931 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/119938] [15/16 Regression][modules] Class type NTTPs are not considered constant when imported

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119938 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.2

[Bug cobol/119364] building a cobol cross compiler on i686-linux-gnu targeting x86_64-linux-gnu fails

2025-04-27 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119364 Simon Sobisch changed: What|Removed |Added CC||simonsobisch at gnu dot org --- Comment

[Bug libstdc++/119970] [16 Regression] mingw builds fail as libstdc++-v3/include/ostream:224:65: error: could not convert '__out' since r16-142-g01e5ef3e8b9128

2025-04-27 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119970 Tomasz Kamiński changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tkaminsk at gcc dot gnu.org

[Bug tree-optimization/119945] [14/15/16 Regression] missed tail call due to IPA-VRP and different type but same mode

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119945 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.3

[Bug libstdc++/119970] [16 Regression] mingw builds fail as libstdc++-v3/include/ostream:224:65: error: could not convert '__out' since r16-142-g01e5ef3e8b9128

2025-04-27 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119970 --- Comment #2 from Tomasz Kamiński --- The fails only occurs on WIN32, i.e. if defined(_WIN32) && !defined(__CYGWIN__).

[Bug c++/119954] "a < b < c < d < ..." taking long time to process to generate error message

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119954 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-04-28 Ever confirmed|0

[Bug c++/119964] [15/16 regression] GCC 15 does not delete explicitly-defaulted move constructor with (const T&&) parameter

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119964 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/119965] [16 Regression] 531.deepsjeng_r binary is 50% bigger since r16-116-gcfb04e0de6aa43

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119965 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0

[Bug c++/119969] [12/13/14/15 regression] incorrectly omitted initialization at -O2 with pointer to member functions

2025-04-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119969 Richard Biener changed: What|Removed |Added Priority|P3 |P2

  1   2   >