[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue

2025-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120697 --- Comment #8 from Sam James --- Please try: ~/git/gcc/configure CFLAGS="-O2 -fstack-clash-protection" CXXFLAGS="-O2 -fstack-clash-protection" BOOT_CFLAGS="-O2 -fstack-clash-protection" BOOT_CXXFLAGS="-O2 -fstack-clash-protection" CFLAGS_FOR_T

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue

2025-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120697 --- Comment #9 from Sam James --- Ah, thank you Sergei!

[Bug c/109393] Very trivial address calculation does not fold

2025-06-18 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109393 --- Comment #15 from Haochen Jiang --- After some "quick" trial, I would like to say it might not be that easy for backend to handle this if the (x-t) are widely used afterwards in the code, where t could be any integer offset, since compiler mi

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue

2025-06-18 Thread slyfox at gcc dot gnu.org via Gcc-bugs
igured with: /home/slyfox/dev/git/gcc/configure --disable-multilib --disable-bootstrap --disable-lto --disable-libsanitizer --enable-languages=c CFLAGS='-O1 -g0' CXXFLAGS='-O1 -g0' LDFLAGS='-O1 -g0' Thread model: posix Supported LTO compression algorithms: zlib gcc v

[Bug c++/117792] [12 Regression] ICE in tsubst_template_args with function template-id and local static arg

2025-06-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117792 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/120652] [16 Regression] RISC-V: ICE in require, at machmode.h:323 with rv64gcv_zvl256b

2025-06-18 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120652 Li Pan changed: What|Removed |Added CC||pan2.li at intel dot com --- Comment #1 from L

[Bug tree-optimization/120702] Extraneous string constant at -Os

2025-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120702 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/117784] [C++26] P2686R4 - constexpr structured bindings and references to constexpr variables

2025-06-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117784 --- Comment #1 from Jakub Jelinek --- Created attachment 61661 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61661&action=edit gcc16-pr117784-wip.patch Untested patch for the easy part of the paper (namely allowing constexpr and constini

[Bug libgomp/120682] declare mapper does not work with templates

2025-06-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120682 --- Comment #9 from Benjamin Schulz --- Hi@all, thank you for your interesting replies. I guess the problem for the mapper and templates is that there are no pragma templates in C++. So this would probably indeed mean that one would have to ch

[Bug tree-optimization/120702] New: Extraneous string constant at -Os

2025-06-18 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120702 Bug ID: 120702 Summary: Extraneous string constant at -Os Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimizat

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue since r16-1551-g2c30f828e45078

2025-06-18 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120697 --- Comment #14 from cuilili --- Created attachment 61659 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61659&action=edit Update estcase for the patch. Thanks for the reminder. Added #c7 as a new testcase for the patch.

[Bug libgomp/120682] declare mapper does not work with templates

2025-06-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120682 --- Comment #5 from Jakub Jelinek --- The reason why it is invalid is that T lookup fails in the declare mapper definition. You can't take the T literally from the OpenMP standard, that is a a non-literal for any type of certain properties. Say

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue

2025-06-18 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120697 --- Comment #10 from cuilili --- Thanks Sam and Sergei, I created a patch to remove this assertion. However, validating this patch requires running many tests, and if all goes well, it will take 1-2 days to fix this issue.

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue since r16-1551-g2c30f828e45078

2025-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120697 Sam James changed: What|Removed |Added Status|WAITING |NEW

[Bug web/120698] New: ./configure - unclear default for vtable-verify

2025-06-18 Thread dilyan.palauzov at aegee dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120698 Bug ID: 120698 Summary: ./configure - unclear default for vtable-verify Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug web/120698] ./configure - unclear default for vtable-verify

2025-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120698 --- Comment #1 from Sam James --- (In reply to Дилян Палаузов from comment #0) > https://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html says: > > > --enable-vtable-verify[default] > > which means, that by default vtable-verify is enabl

[Bug web/120699] New: ./configure --enable-languages documentation skips rust

2025-06-18 Thread dilyan.palauzov at aegee dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120699 Bug ID: 120699 Summary: ./configure --enable-languages documentation skips rust Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/120700] New: -with-system-libunwind not documented

2025-06-18 Thread dilyan.palauzov at aegee dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120700 Bug ID: 120700 Summary: -with-system-libunwind not documented Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug rust/120699] ./configure --enable-languages documentation skips rust

2025-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120699 Sam James changed: What|Removed |Added CC||dkm at gcc dot gnu.org, |

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue since r16-1551-g2c30f828e45078

2025-06-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120697 --- Comment #13 from H.J. Lu --- (In reply to cuilili from comment #12) > Created attachment 61658 [details] > 0001-x86-Handle-fstack-clash-protection-for-shrink-wrap-s.patch > > I have reproduced and solved this problem locally. It would be gr

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue since r16-1551-g2c30f828e45078

2025-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120697 Sam James changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |lili.cui at intel dot com

[Bug libgomp/120682] declare mapper does not work with templates

2025-06-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120682 --- Comment #3 from Benjamin Schulz --- oh of course withotu std, so typedef myvec doublevec; If one has to specify the datatype explicitly before one can use the openmp mapper, then the mapper pragma of openmp makes not much sense with templ

[Bug tree-optimization/120701] New: ICE at -O{2,3} on x86_64-linux-gnu: in verify_range, at value-range.cc:1546

2025-06-18 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 16.0.0 20250618 (experimental) (GCC) [514] % [514] % gcctk -O2 small.c during

[Bug middle-end/120609] printf fails for a decimal type if variable is unmodified

2025-06-18 Thread madams846 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120609 --- Comment #4 from Marc Adams --- A simpler report would have been "printf fails for decimal constant". Statement printf(" %Df ",2.0dd) produces output "%Df" on my system. That basic statement should work on any system. It should be "nee

[Bug c++/120700] -with-system-libunwind not documented

2025-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120700 Andrew Pinski changed: What|Removed |Added Resolution|--- |WORKSFORME Status|UNCONFIRM

[Bug c++/120655] c++17 CTAD, alias template in a constructor render a non-deducible context

2025-06-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120655 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org Ever confi

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue since r16-1551-g2c30f828e45078

2025-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120697 --- Comment #11 from Sam James --- Thanks Lili. I am happy to test a patch (I am not sure if just that assert should go, or if it is that same assert in various places), or to just workaround it locally.

[Bug libgomp/120682] declare mapper does not work with templates

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

[Bug libgomp/120682] declare mapper does not work with templates

2025-06-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120682 --- Comment #6 from Benjamin Schulz --- Jakub Jelinek wrote: > The reason why it is invalid is that T lookup fails in the declare mapper > > definition. Yes, And that exactly is the problem. > #pragma omp declare mapper(myvec v) map(v, v.data

[Bug target/120587] [OpenRISC] ICE in ce1 due to emit_move_multi_word assert failure

2025-06-18 Thread shorne at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120587 --- Comment #3 from Stafford Horne --- One comment left by Dimitar on the mail chain was: > Another patch I intend to merge tomorrow will tighten the checks even > more: https://gcc.gnu.org/pipermail/gcc-patches/2025-June/685837.html > > Seein

[Bug c++/114303] [12 Regression] ICE with constexpr if and accessing captures across nested generic lambdas

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114303 --- Comment #9 from GCC Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a8027d611bf76ed73614c5f126b046d140047f74 commit r12-11204-ga8027d611bf76ed73614c5f126b046d140047f74 Author: Patrick Palka

[Bug c++/116320] [12 Regression] ICE: Segmentation fault (perform_or_defer_access_check) since r11-1350

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116320 --- Comment #8 from GCC Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6b4e1abd36acdf30c6f3808ad89ba55f835ff16b commit r12-11205-g6b4e1abd36acdf30c6f3808ad89ba55f835ff16b Author: Patrick Palka

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue since r16-1551-g2c30f828e45078

2025-06-18 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120697 --- Comment #15 from cuilili --- (In reply to Sam James from comment #11) > Thanks Lili. I am happy to test a patch (I am not sure if just that assert > should go, or if it is that same assert in various places), or to just > workaround it local

[Bug c++/117792] [12 Regression] ICE in tsubst_template_args with function template-id and local static arg

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117792 --- Comment #7 from GCC Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:0a20ad9351c64c6dc6b65c0ff2c465adb941b6a0 commit r12-11206-g0a20ad9351c64c6dc6b65c0ff2c465adb941b6a0 Author: Patrick Palka

[Bug c++/114303] [12 Regression] ICE with constexpr if and accessing captures across nested generic lambdas

2025-06-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114303 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116320] [12 Regression] ICE: Segmentation fault (perform_or_defer_access_check) since r11-1350

2025-06-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116320 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libgomp/120682] declare mapper does not work with templates

2025-06-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120682 --- Comment #4 from Benjamin Schulz --- Also the Openmp specification for mapper says: https://www.openmp.org/spec-html/5.2/openmpsu61.html A structure type T has a predefined default mapper that is defined as if by a declare mapper The quest

[Bug libgomp/120682] declare mapper does not work with templates

2025-06-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120682 --- Comment #8 from Tobias Burnus --- > If you are asking for a new OpenMP feature, this is not the right forum, > GCC bugzilla is for reporting bugs. While I want to echo what Jakub wrote, I have nonetheless filed the OpenMP specification issu

[Bug libgcc/120691] _Decimal128 arithmetic error under FE_UPWARD

2025-06-18 Thread madams846 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120691 --- Comment #1 from Marc Adams --- I tested my larger program on a wide range of input values and it only failed when it converted integer value '9825' to Decimal128 then divide by '1'. A work-around could be to convert int to double then

[Bug middle-end/120544] [15/16 Regression] extend.texi causes a build failure for makeinfo 4.13 (and before)

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120544 --- Comment #10 from GCC Commits --- The master branch has been updated by Jan Beulich : https://gcc.gnu.org/g:e1a2af290155e0e6ad73aadf178c1a1860223be4 commit r16-1556-ge1a2af290155e0e6ad73aadf178c1a1860223be4 Author: Jan Beulich Date: Wed

[Bug middle-end/120544] [15/16 Regression] extend.texi causes a build failure for makeinfo 4.13 (and before)

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120544 --- Comment #11 from GCC Commits --- The releases/gcc-15 branch has been updated by Jan Beulich : https://gcc.gnu.org/g:bd020583b649158b2939350be03ff31af797ba9a commit r15-9843-gbd020583b649158b2939350be03ff31af797ba9a Author: Jan Beulich Dat

[Bug modula2/120673] Mutually dependent types crash the compiler

2025-06-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120673 --- Comment #4 from Gaius Mulley --- $ cat cyclictypes4.mod MODULE cyclictypes4 ; TYPE A = B ; B = C ; C = D ; D = A ; VAR v: A ; BEGIN END cyclictypes4. $ gm2 -c cyclictypes4.mod cyclictypes4.mod:4:4: error: circular depende

[Bug libgomp/120682] declare mapper does not work with templates

2025-06-18 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120682 --- Comment #2 from Benjamin Schulz --- Hi there, if that testcase is "invalid", then that means that the mapper statement does not work with template classes at all It would mean that for a struct with a template datatype template struct my

[Bug c++/120655] c++17 CTAD, alias template in a constructor render a non-deducible context

2025-06-18 Thread jack.cui2 at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120655 --- Comment #2 from jack --- (In reply to Patrick Palka from comment #1) > Implicitly generated deduction guides that refer to class members are kind > of a weird corner case. > > What would the deduction guide look like if it were explicitly w

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue since r16-1551-g2c30f828e45078

2025-06-18 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120697 --- Comment #12 from cuilili --- Created attachment 61658 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61658&action=edit 0001-x86-Handle-fstack-clash-protection-for-shrink-wrap-s.patch I have reproduced and solved this problem locally.

[Bug libgomp/120682] declare mapper does not work with templates

2025-06-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120682 --- Comment #1 from Jakub Jelinek --- Declare mapper support has been added to GCC for C++ only in GCC 16, with r16-983-g48973e8783e59462ab6e34d5d48b74a2146a05f1 And your testcase is invalid and correctly rejected by trunk: pr120682.C:8:34: erro

[Bug fortran/94109] [8/9/10/11 Regression] Memory leak introduced in 8.3.0->8.3.1

2025-06-18 Thread antony at cosmologist dot info via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94109 --- Comment #24 from Antony Lewis --- It seems these are related: In 15.1.1 reverting the finalization state tracking in the fix for this PR seems to solve #PR120637, now without introducing leak for the case test here.

[Bug fortran/120637] Memory leak in finalization gfortran 9.5-16.0

2025-06-18 Thread antony at cosmologist dot info via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120637 --- Comment #3 from Antony Lewis --- I tested just removing the was_finalization test, and it seems to work. This is basically reverting the change in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94109 https://gcc.gnu.org/cgit/gcc/commit/?id=1a

[Bug tree-optimization/120704] [14/15/16 regression] Wrong O3 optimization leads to UBs and SIGSEGV

2025-06-18 Thread congli at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120704 --- Comment #2 from congli --- Sorry I didn't follow you. The following two statements seem contradictory to me? > I am 100% sure this is undefined behavior free. UB free. > And with cst not being 0 or 1, this is almost definitely undefin

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue since r16-1551-g2c30f828e45078

2025-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120697 --- Comment #16 from Sam James --- Regtested on a few machines and all is fine. Thank you!

[Bug tree-optimization/120704] [14/15/16 regression] Wrong O3 optimization leads to UBs and SIGSEGV

2025-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120704 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > I am 100% sure this is undefined behavior free. > Sorry missing not in the first sentence. That it should be: I am not 100% sure this is undefined behavior fr

[Bug ada/120705] New: Assertion failure on Finalizable aspect and discriminant-dependent String bounds

2025-06-18 Thread dennis at przytarski dot com via Gcc-bugs
end Z; Y : Z.B := Z.Make; -- this line would normally be in a procedure, but it's here to keep the code short and reproduce the GNAT bug end Example; fails with +===GNAT BUG DETECTED======+ | 16.0.0 20250618 (experimental) (x86_64-linux-

[Bug cobol/119975] clock_gettime in genapi.cc is unportable

2025-06-18 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119975 James K. Lowden changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug c++/95615] [coroutines] Coroutine frame and promise is leaked if exception thrown from promise.initial_suspend()

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95615 --- Comment #8 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:43e408f675f8e998c94462346f4306cd4716e138 commit r16-1564-g43e408f675f8e998c94462346f4306cd4716e138 Author: Iain Sandoe Date: Sat

[Bug tree-optimization/120704] [14/15/16 regression] Wrong O3 optimization leads to UBs and SIGSEGV

2025-06-18 Thread congli at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120704 --- Comment #4 from congli --- By the C standard "The behavior is defined only if both the original pointer and the result pointer are pointing at elements of the same array or one past the end of that array", yes, "The only defined value for l

[Bug libgcc/120691] _Decimal128 arithmetic error under FE_UPWARD

2025-06-18 Thread madams846 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120691 --- Comment #5 from Marc Adams --- (In reply to Thomas Koenig from comment #3) > Hm, strange.. I get > > x1/x2 %DDf > > This is with > > GNU C Library (Ubuntu GLIBC 2.39-0ubuntu8.4) stable release version 2.39. > > with > > gcc (GCC) 1

[Bug libgcc/120691] _Decimal128 arithmetic error under FE_UPWARD

2025-06-18 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120691 --- Comment #3 from Thomas Koenig --- Hm, strange.. I get x1/x2 %DDf This is with GNU C Library (Ubuntu GLIBC 2.39-0ubuntu8.4) stable release version 2.39. with gcc (GCC) 16.0.0 20250530 (experimental) Unrelated / configuration error

[Bug libgcc/120691] _Decimal128 arithmetic error under FE_UPWARD

2025-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120691 --- Comment #4 from Sam James --- If using Ubuntu, please be aware of the issue mentioned in PR120609.

[Bug middle-end/120687] RISC-V: very poor vector code gen for LMbench bw_mem test case

2025-06-18 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120687 Peter Bergner changed: What|Removed |Added Target|riscv64-unknown-linux-gnu |riscv64-unknown-linux-gnu,

[Bug fortran/82480] KIND array returned by STAT too small for many values on CygWin platforms (and probably others)

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82480 --- Comment #8 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:ce6abe54ff1548b744ce7cd216d820e48a062c3d commit r16-1560-gce6abe54ff1548b744ce7cd216d820e48a062c3d Author: Harald Anlauf Date: Tu

[Bug c++/118074] [coroutine] Initialize return value before destruction of coroutine

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118074 --- Comment #12 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:43e408f675f8e998c94462346f4306cd4716e138 commit r16-1564-g43e408f675f8e998c94462346f4306cd4716e138 Author: Iain Sandoe Date: Sa

[Bug c++/115908] [coroutines] Wrong behavior of using get_return_object() when creating coroutines

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115908 --- Comment #13 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:43e408f675f8e998c94462346f4306cd4716e138 commit r16-1564-g43e408f675f8e998c94462346f4306cd4716e138 Author: Iain Sandoe Date: Sa

[Bug c/120703] GCC internal compiler error in verify_cgraph_node: "Alias and target's section differs" when processing function alias with different sections

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

[Bug c/119177] target_clones with section vs alias attribute

2025-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119177 --- Comment #2 from Andrew Pinski --- *** Bug 120703 has been marked as a duplicate of this bug. ***

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

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119966 --- Comment #13 from GCC Commits --- The master branch has been updated by Dimitar Dimitrov : https://gcc.gnu.org/g:2dcc6dbd8a00caf7cfa8cac17b3fd1c33d658016 commit r16-1565-g2dcc6dbd8a00caf7cfa8cac17b3fd1c33d658016 Author: Dimitar Dimitrov Da

[Bug cobol/120621] COBOL isn't built with STRICT_WARN

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120621 --- Comment #7 from GCC Commits --- The master branch has been updated by James K. Lowden : https://gcc.gnu.org/g:14b8f077e4409ca0d188f0ed55891a18ba2ecd7d commit r16-1559-g14b8f077e4409ca0d188f0ed55891a18ba2ecd7d Author: James K. Lowden Date:

[Bug cobol/119805] FE: COMP-5 / COMP-X issues

2025-06-18 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119805 James K. Lowden changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug tree-optimization/119039] Improve simplify_switch_using_ranges

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119039 --- Comment #2 from GCC Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:e60c1793efd81571e408e875f5e42f441ea311e8 commit r16-1561-ge60c1793efd81571e408e875f5e42f441ea311e8 Author: Andrew MacLeod Date:

[Bug tree-optimization/119039] Improve simplify_switch_using_ranges

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119039 --- Comment #3 from GCC Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:9560cd83671a32ee2253f307112ac39b40aa712c commit r16-1562-g9560cd83671a32ee2253f307112ac39b40aa712c Author: Andrew MacLeod Date:

[Bug tree-optimization/120704] New: [14/15/16 regression] Wrong O3 optimization leads to UBs and SIGSEGV

2025-06-18 Thread congli at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120704 Bug ID: 120704 Summary: [14/15/16 regression] Wrong O3 optimization leads to UBs and SIGSEGV Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal

[Bug c/120703] New: GCC internal compiler error in verify_cgraph_node: "Alias and target's section differs" when processing function alias with different sections

2025-06-18 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120703 Bug ID: 120703 Summary: GCC internal compiler error in verify_cgraph_node: "Alias and target's section differs" when processing function alias with different sections Produ

[Bug libgcc/120691] _Decimal128 arithmetic error under FE_UPWARD

2025-06-18 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120691 Uroš Bizjak changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #2

[Bug libgdiagnostics/120706] New: Incorrect underlining for -Wformat when the type has a user-defined copy constructor

2025-06-18 Thread abbeyj+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120706 Bug ID: 120706 Summary: Incorrect underlining for -Wformat when the type has a user-defined copy constructor Product: gcc Version: 14.1.0 Status: UNCONFIRMED S

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue since r16-1551-g2c30f828e45078

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120697 --- Comment #17 from GCC Commits --- The master branch has been updated by Lili Cui : https://gcc.gnu.org/g:1f2e4058e57c68b5ea91ab2bac469d5e57b6ff46 commit r16-1569-g1f2e4058e57c68b5ea91ab2bac469d5e57b6ff46 Author: Lili Cui Date: Thu Jun 19

[Bug fortran/51961] [OOP] ALLOCATE with MOLD= rejects if source-expr has a different rank

2025-06-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51961 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|-

[Bug fortran/51961] [OOP] ALLOCATE with MOLD= rejects if source-expr has a different rank

2025-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51961 --- Comment #7 from GCC Commits --- The releases/gcc-15 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f34f1b1d6c451604645e2e42cf57b876f3d955df commit r15-9845-gf34f1b1d6c451604645e2e42cf57b876f3d955df Author: Harald Anlauf D

[Bug tree-optimization/120704] [14/15/16 regression] Wrong O3 optimization leads to UBs and SIGSEGV

2025-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120704 --- Comment #1 from Andrew Pinski --- I am 100% sure this is undefined behavior free. We have: &c +l + cst The only defined value for l is 0 or 1. And with cst not being 0 or 1, this is almost definitely undefined.

[Bug tree-optimization/120654] [14/15/16 Regression] Crash at -O3: during GIMPLE pass: ivopts

2025-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120654 Andrew Pinski changed: What|Removed |Added Known to work||13.4.0 Known to fail|

[Bug tree-optimization/120704] [14/15/16 regression] Wrong code at -O3

2025-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120704 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rust/120707] New: Comparing stage 2 and 3 fails because of rust-tyty-subst.o

2025-06-18 Thread dilyan.palauzov at aegee dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707 Bug ID: 120707 Summary: Comparing stage 2 and 3 fails because of rust-tyty-subst.o Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/120697] [16 regression] Bootstrap fails in ix86_expand_prologue since r16-1551-g2c30f828e45078

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

[Bug tree-optimization/120704] [14/15/16 regression] Wrong code at -O3

2025-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120704 Andrew Pinski changed: What|Removed |Added Known to work||13.4.0 Summary|[14/15/16 reg

[Bug tree-optimization/120704] [14/15/16 regression] Wrong O3 optimization leads to UBs and SIGSEGV

2025-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120704 --- Comment #5 from Andrew Pinski --- Created attachment 61663 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61663&action=edit Self contained testcase without the questionable coce