[Bug rtl-optimization/120284] inline assembly operand constraint not comply with document

2025-05-14 Thread huiba.lhb--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120284 --- Comment #5 from Huiba Li --- > Marking x as an output without tieing it to another register will have > garbage in the variable after the inline-asm. That is explicitly mentioned. Oh, I see. Thanks!

[Bug rtl-optimization/120284] inline assembly operand constraint not comply with document

2025-05-14 Thread huiba.lhb--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120284 --- Comment #3 from 鲁七 --- > Note the 0 there rather than r. r in the input means any register while 0 > means it needs to match the same register as the 0th operand which in this > case is the output operand. Thanks for your quick response. Us

[Bug rtl-optimization/120284] inline assembly operand constraint not comply with document

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120284 --- Comment #4 from Andrew Pinski --- (In reply to Huiba Li from comment #3) > > Note the 0 there rather than r. r in the input means any register while 0 > > means it needs to match the same register as the 0th operand which in this > > case is

[Bug tree-optimization/120283] `Transform comparisons of the form X +- C1 CMP C2 to X CMP C2 -+ C1` gimple depends on single use

2025-05-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120283 --- Comment #4 from Richard Biener --- I think this specific case is overly restrictive - it was likely added for some loop IV test related regression.

[Bug tree-optimization/111415] [12/13/14 Regression] False positive array-bounds warning with -O3

2025-05-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111415 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.5

[Bug c++/120285] New: ice in digest_init_r, at cp/typeck2.cc:1397

2025-05-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120285 Bug ID: 120285 Summary: ice in digest_init_r, at cp/typeck2.cc:1397 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/120279] Missed DCE for __builtin_{clzg,ctzg} when bitshift

2025-05-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120279 --- Comment #1 from Richard Biener --- I'm not sure what you are after? That in f1() the earlier of both shifts can be removed?

[Bug tree-optimization/120280] ABS < 0 is not optimized to false by match

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120280 --- Comment #5 from Andrew Pinski --- Created attachment 61427 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61427&action=edit Patch which I am testing

[Bug rtl-optimization/120284] inline assembly operand constraint not comply with document

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120284 --- Comment #2 from Andrew Pinski --- The documentation is clear there too: >From the page you linked: https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Output-Operands "When using ‘=’, do not assume the location contains the existing value

[Bug rtl-optimization/120284] inline assembly operand constraint not comply with document

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

[Bug rtl-optimization/120284] New: inline assembly operand constraint not comply with document

2025-05-14 Thread huiba.lhb--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120284 Bug ID: 120284 Summary: inline assembly operand constraint not comply with document Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/120280] ABS < 0 is not optimized to false by match

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120280 --- Comment #4 from Andrew Pinski --- ``` diff --git a/gcc/match.pd b/gcc/match.pd index 79485f9678a..7b2cad9d605 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -2598,6 +2598,15 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT) ) ) +/* Convert ABS_EX

[Bug lto/51859] Linker option effects not reflected in symbol resolution file

2025-05-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51859 Sam James changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug lto/88643] -Wl,--wrap not supported with LTO

2025-05-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643 Sam James changed: What|Removed |Added CC||ncahill_alt at yahoo dot com --- Comment #16

[Bug tree-optimization/120280] ABS < 0 is not optimized to false by match

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120280 --- Comment #3 from Andrew Pinski --- The full list of failures due to this missing optimization: gcc.dg/tree-ssa/vrp12.c gcc.dg/tree-ssa/vrp60.c gcc.dg/tree-ssa/pr20139.c

[Bug tree-optimization/120283] `Transform comparisons of the form X +- C1 CMP C2 to X CMP C2 -+ C1` gimple depends on single use

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120283 --- Comment #3 from Andrew Pinski --- Seems like many of the single use with respect to comparisons need to be all relooked into as they are mostly ignored for forwprop in many cases.

[Bug tree-optimization/120283] `Transform comparisons of the form X +- C1 CMP C2 to X CMP C2 -+ C1` gimple depends on single use

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120283 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > I forgot to say this comes from gcc.dg/tree-ssa/vrp89.c and gcc.dg/tree-ssa/vrp93.c .

[Bug tree-optimization/120283] `Transform comparisons of the form X +- C1 CMP C2 to X CMP C2 -+ C1` gimple depends on single use

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120283 Andrew Pinski changed: What|Removed |Added Blocks||93006 --- Comment #1 from Andrew Pinski

[Bug tree-optimization/120283] `Transform comparisons of the form X +- C1 CMP C2 to X CMP C2 -+ C1` gimple depends on single use

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120283 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/120283] New: `Transform comparisons of the form X +- C1 CMP C2 to X CMP C2 -+ C1` gimple depends on single use

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120283 Bug ID: 120283 Summary: `Transform comparisons of the form X +- C1 CMP C2 to X CMP C2 -+ C1` gimple depends on single use Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug libstdc++/108630] build failure in libstdc++ with LTO enabled

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108630 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/119439] gcc_assert and gcc_checking_assert should use [[assume(x)]];

2025-05-14 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119439 Bug 119439 depends on bug 117287, which changed state. Bug 117287 Summary: [13 Regression] assume attribute related miscompilation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117287 What|Removed |Added ---

[Bug libstdc++/108630] build failure in libstdc++ with LTO enabled

2025-05-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108630 Sam James changed: What|Removed |Added CC||qubos at outlook dot de --- Comment #7 from

[Bug libstdc++/120266] libstdc++ doesn't support LTO for static linking

2025-05-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120266 Sam James changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/117287] [13 Regression] assume attribute related miscompilation

2025-05-14 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117287 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug tree-optimization/117287] [13 Regression] assume attribute related miscompilation

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117287 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:dce408e28c416f3a34f487e4f8bb2a1e1e586c69 commit r13-9657-gdce408e28c416f3a34f487e4f8bb2a1e1e586c69 Author: Andrew MacLeo

[Bug libstdc++/120266] newly introduced problems when using lto'ed libstdc++-v3 in a static link

2025-05-14 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120266 Oleg Endo changed: What|Removed |Added Resolution|INVALID |--- Ever confirmed|0

[Bug c++/120282] New: -Warray-bounds triggered incorrectly

2025-05-14 Thread dominick.allen1989 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120282 Bug ID: 120282 Summary: -Warray-bounds triggered incorrectly Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug ipa/120098] [16 regression] g++.dg/lto/devirt-23 FAILs since r16-372-g064cac730f88dc

2025-05-14 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120098 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment

[Bug cobol/119377] cobol.dg/group1/declarative_1.cob fails (segfaults, uninitialised vars)

2025-05-14 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119377 --- Comment #18 from James K. Lowden --- The logic slated for obliteration is in symbol_declaratives_add() and anything associated with it. That was the old way -- now weeks and weeks outdated -- to move declarative descriptors to the library.

[Bug c++/113773] coroutines: promise deconstructed twice if throwing from return object

2025-05-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113773 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug testsuite/120251] cobol tests depend on locale

2025-05-14 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120251 James K. Lowden changed: What|Removed |Added CC||jklowden at gcc dot gnu.org --- Comme

[Bug tree-optimization/120281] -Warray-bounds produces an incorrect warning when compiled with -O3 and --coverage

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120281 --- Comment #1 from Andrew Pinski --- [local count: 1073741824]: # size_34 = PHI <[/app/example.cpp:123:12] 0(2), [/app/example.cpp:127:9] size_35(3)> # DEBUG size => size_34 [/app/example.cpp:126:29] # DEBUG BEGIN_STMT [/app/example

[Bug c++/113773] coroutines: promise deconstructed twice if throwing from return object

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113773 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:54846260bf9ac1e6253f3ce7ffa7baca049efcdd commit r14-11784-g54846260bf9ac1e6253f3ce7ffa7baca049efcdd Author: Iain Sandoe D

[Bug c++/120281] New: -Warray-bounds produces an incorrect warning when compiled with -O3 and --coverage

2025-05-14 Thread dominick.allen1989 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120281 Bug ID: 120281 Summary: -Warray-bounds produces an incorrect warning when compiled with -O3 and --coverage Product: gcc Version: 14.2.1 Status: UNCONFIRMED Sev

[Bug libstdc++/99832] std::chrono::system_clock::to_time_t needs ABI tag for 32-bit time_t

2025-05-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99832 --- Comment #7 from Jonathan Wakely --- https://inbox.sourceware.org/libc-alpha/88fdef1f-66fc-48d1-a2a4-7e719711a...@linaro.org/ Maybe there is a way, I'll revisit this and look at what current glibc does.

[Bug libstdc++/99832] std::chrono::system_clock::to_time_t needs ABI tag for 32-bit time_t

2025-05-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99832 --- Comment #6 from Jonathan Wakely --- The addition to c++config.h works need to be before os_defines.h is included. But as I said I'm comment 2, I don't think either of the suggestions in comment 1 works. IIRC the way glibc ended up doing the

[Bug middle-end/120278] [12/13/14/15 Regression] Switch expansion generates extra compares with -fno-jump-tables

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120278 Andrew Pinski changed: What|Removed |Added Keywords|missed-optimization | Resolution|---

[Bug middle-end/120278] [12/13/14/15 Regression] Switch expansion generates extra compares with -fno-jump-tables

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120278 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/120278] [12/13/14/15 Regression] Switch expansion generates extra compares with -fno-jump-tables

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120278 --- Comment #2 from Andrew Pinski --- -O0 code generation is not important.

[Bug c++/120126] ICE in GCC with pack-dependent decltype in lambda: cp_type_quals

2025-05-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120126 Patrick Palka changed: What|Removed |Added Target Milestone|--- |15.0

[Bug c++/117887] [12/13/14 regression] ICE when building qtwebengine-6.8.1 (add_extra_args, at cp/pt.cc:13682) since r11-3261-gb28b621ac67bee

2025-05-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117887 --- Comment #18 from Patrick Palka --- (In reply to Richard Biener from comment #17) > r15-3530-gdfb63765e994be is listed as dependent, but is it? Can this be > backported? The patch applies cleanly, but unfortunately it doesn't help with this

[Bug c++/118245] [14 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

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

[Bug c++/118245] [14 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 --- Comment #13 from GCC Commits --- The releases/gcc-14 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:9a16584beb312bfc493977e472dcb9d11ad5bc76 commit r14-11783-g9a16584beb312bfc493977e472dcb9d11ad5bc76 Author: Nathaniel S

[Bug libstdc++/99832] std::chrono::system_clock::to_time_t needs ABI tag for 32-bit time_t

2025-05-14 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99832 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org --- Comme

[Bug tree-optimization/120280] ABS < 0 is not optimized to false by match

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120280 --- Comment #2 from Andrew Pinski --- fold_binary_loc does: ``` /* Convert ABS_EXPR >= 0 to true. */ strict_overflow_p = false; if (code == GE_EXPR && (integer_zerop (arg1) || (! HONOR_NANS (arg0)

[Bug fortran/85750] [12/13/14/15/16 Regression] Default initialization of derived type array missing

2025-05-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85750 anlauf at gcc dot gnu.org changed: What|Removed |Added CC|anlauf at gmx dot de |anlauf at gcc dot gnu.

[Bug tree-optimization/120280] New: ABS < 0 is not optimized to false by match

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120280 Bug ID: 120280 Summary: ABS < 0 is not optimized to false by match Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug tree-optimization/120280] ABS < 0 is not optimized to false by match

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120280 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/120206] Removal of forward_propagate_into_gimple_cond/forward_propagate_into_comparison

2025-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120206 --- Comment #4 from Andrew Pinski --- With this patch (and the match part of the patch attached): ``` [apinski@xeond2 gcc]$ git diff diff --git a/gcc/tree-ssa-forwprop.cc b/gcc/tree-ssa-forwprop.cc index 3187314390f..741d62135ac 100644 --- a/gcc

[Bug c++/120126] ICE in GCC with pack-dependent decltype in lambda: cp_type_quals

2025-05-14 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120126 Simon Martin changed: What|Removed |Added Version|14.2.1 |15.1.0 Status|ASSIGNED

[Bug c++/114292] [12 Regression] ICE with a generic (templated) lambda capturing a constant for VLA allocation

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114292 --- Comment #16 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:7ec6f7da7064a6ab9f443e3a03d4401d8bc5ae23 commit r16-639-g7ec6f7da7064a6ab9f443e3a03d4401d8bc5ae23 Author: Simon Martin Date: Wed

[Bug c++/120126] ICE in GCC with pack-dependent decltype in lambda: cp_type_quals

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120126 --- Comment #3 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:7ec6f7da7064a6ab9f443e3a03d4401d8bc5ae23 commit r16-639-g7ec6f7da7064a6ab9f443e3a03d4401d8bc5ae23 Author: Simon Martin Date: Wed

[Bug tree-optimization/120278] [12/13/14/15 Regression] Switch expansion generates extra compares with -fno-jump-tables

2025-05-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120278 Sam James changed: What|Removed |Added Summary|[9/10/11/12/13/14/15|[12/13/14/15 Regression]

[Bug fortran/120139] [15/16 Regression] -fc-prototypes emits incorrect type for arrays with variable extents

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120139 --- Comment #1 from GCC Commits --- The master branch has been updated by Thomas Koenig : https://gcc.gnu.org/g:4f9c7b5258f2af89bba8e954c277981d2e2ee1ef commit r16-638-g4f9c7b5258f2af89bba8e954c277981d2e2ee1ef Author: Thomas Koenig Date: We

[Bug fortran/120107] [15/16 regression] -fc-prototypes for ISO_FORTRAN_ENV generates duplicate typedefs

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120107 --- Comment #3 from GCC Commits --- The master branch has been updated by Thomas Koenig : https://gcc.gnu.org/g:fa0dff8e99e81bc7a3db1dc57d4fc340e0525b1d commit r16-637-gfa0dff8e99e81bc7a3db1dc57d4fc340e0525b1d Author: Thomas Koenig Date: Tu

[Bug rtl-optimization/120279] New: Missed DCE for __builtin_{clzg,ctzg} when bitshift

2025-05-14 Thread kaelfandrew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120279 Bug ID: 120279 Summary: Missed DCE for __builtin_{clzg,ctzg} when bitshift Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug tree-optimization/120278] New: [9/10/11/12/13/14/15 Regression] Switch expansion generates extra compares with -fno-jump-tables

2025-05-14 Thread selectstriker2 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120278 Bug ID: 120278 Summary: [9/10/11/12/13/14/15 Regression] Switch expansion generates extra compares with -fno-jump-tables Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 --- Comment #29 from Jerry DeLisle --- Steve, I am still working on it. Always other things getting me in the time domain. (poles and zeros so to speak, LOL) I do like some of the checks in Comment #27.

[Bug c/112556] Null pointer constants with enumeration type are not accepted

2025-05-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112556 Sam James changed: What|Removed |Added Known to fail||14.2.0 Resolution|---

[Bug c/112556] Null pointer constants with enumeration type are not accepted

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112556 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Sam James : https://gcc.gnu.org/g:05db28033e4377466bb19f317e67ed91b92fd4a9 commit r14-11782-g05db28033e4377466bb19f317e67ed91b92fd4a9 Author: Joseph Myers Dat

[Bug c++/115645] [12/13/14 Regression] new S[1][1]() requires non-explicit default ctor since r11-3092

2025-05-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115645 --- Comment #11 from Richard Biener --- (In reply to Marek Polacek from comment #10) > I'm a little nervous about backporting this one. Fine - you know more about this than me ;)

[Bug target/110812] Check availability of builtins at expand time

2025-05-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #10 from Andreas Schwab --- That doesn't fix anything. https://build.opensuse.org/project/monitor/home:Andreas_Schwab:riscv:gcc

[Bug libstdc++/120160] Implicitly import std if standard library header is included

2025-05-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120160 --- Comment #4 from Jonathan Wakely --- (In reply to Jiang An from comment #1) > `import std;` in every header looks too heavy to me. IMO it's undesired to > import std::cin and its friends from . If you're thinking about the global static init

[Bug libstdc++/120266] newly introduced problems when using lto'ed libstdc++-v3 in a static link

2025-05-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120266 --- Comment #7 from Jonathan Wakely --- You can use it for all your own code, and and other libraries you rely on, you just can't build libstdc++.a with LTO. Last I heard, the same is true for glibc. But sure, if you think it's not worth using

[Bug c++/117501] [14 Regression] Consteval constructor does not initialize the variable

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117501 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:1dc1c1e7f0bb3a295eff1bc8c5d4f4d4b2898d50 commit r14-11779-g1dc1c1e7f0bb3a295eff1bc8c5d4f4d4b2898d50 Author: Marek Polacek

[Bug c++/115645] [12/13/14 Regression] new S[1][1]() requires non-explicit default ctor since r11-3092

2025-05-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115645 --- Comment #10 from Marek Polacek --- I'm a little nervous about backporting this one.

[Bug c++/116379] [12/13/14 Regression] Type deduction error on decltype(auto) of parenthesized non-static data member since r12-5778

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116379 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c11cb308c1e2aae427d6f32a1144ae8907dc2649 commit r14-11780-gc11cb308c1e2aae427d6f32a1144ae8907dc2649 Author: Marek Polacek

[Bug c++/117501] [14 Regression] Consteval constructor does not initialize the variable

2025-05-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117501 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/55004] [meta-bug] constexpr issues

2025-05-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 117501, which changed state. Bug 117501 Summary: [14 Regression] Consteval constructor does not initialize the variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117501 What|Removed

[Bug c++/117778] [14 Regression] ICE maybe_add_lambda_conv_op

2025-05-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117778 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/117778] [14 Regression] ICE maybe_add_lambda_conv_op

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117778 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:52202e42919d0d95c13889bed9e69b954e4376af commit r14-11778-g52202e42919d0d95c13889bed9e69b954e4376af Author: Marek Polacek

[Bug c++/116960] ICE: Error reporting routines re-entered

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:9ce96b683a40a12299c1d0e02727e747c00ad883 commit r14-11777-g9ce96b683a40a12299c1d0e02727e747c00ad883 Author: Marek Polacek

[Bug c++/119303] [12/13/14 Regression] ICE: error reporting routines re-entered. in warning_at (diagnostic-global-context.cc:185)

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119303 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:9ce96b683a40a12299c1d0e02727e747c00ad883 commit r14-11777-g9ce96b683a40a12299c1d0e02727e747c00ad883 Author: Marek Polacek

[Bug c++/118775] [12/13/14 Regression] ICE in tree_to_uhwi with unique_ptr and addresss of var converted to an integer

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118775 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:97121b135530b15bc7d1b9e24daa566d9b0473b0 commit r14-11776-g97121b135530b15bc7d1b9e24daa566d9b0473b0 Author: Marek Polacek

[Bug middle-end/120276] [16 Regression] ICE in partial_subreg_p with SVE

2025-05-14 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120276 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug libstdc++/117905] PSTL algos in require copy-constructible

2025-05-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117905 --- Comment #3 from Jonathan Wakely --- As noted at https://github.com/oneapi-src/oneDPL/issues/1955 the standard has some defects regarding the requirements for these numeric algos. It's necessary to assume some additional requirements such as

[Bug libstdc++/120259] Using Incomplete&& as argument in invoke_r/move_only_function fails to compile

2025-05-14 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120259 --- Comment #1 from Tomasz Kamiński --- We should use _Arg&& in is_invokable checks here: ``` template constexpr enable_if_t, _Res> __invoke_r(_Callable&& __fn, _Args&&... __args) noexcept(is_nothrow_invocable_r_v<_Res, _Callable,

[Bug tree-optimization/120277] [16 Regression] Crash at -O2: in upper_bound, at value-range.h:1181

2025-05-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120277 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Last reconfirmed|

[Bug c++/118775] [12/13/14 Regression] ICE in tree_to_uhwi with unique_ptr and addresss of var converted to an integer

2025-05-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118775 --- Comment #9 from Marek Polacek --- On it now.

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-05-14 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #24 from Levi Zim --- (In reply to Sam James from comment #23) > (In reply to Levi Zim from comment #11) > > It comes with a similar pattern that .gnu.lto_.jmpfuncs.1 is the most > > different section ignoring offset differences and

[Bug libstdc++/110339] Implement C++26 library features

2025-05-14 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110339 Bug 110339 depends on bug 119125, which changed state. Bug 119125 Summary: [C++26] Implement P2548R6 copyable_function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119125 What|Removed |Added ---

[Bug libstdc++/119125] [C++26] Implement P2548R6 copyable_function

2025-05-14 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119125 Tomasz Kamiński changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug libstdc++/119125] [C++26] Implement P2548R6 copyable_function

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119125 --- Comment #3 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:d9055d010475fa1c624d6036881eee9c37034b21 commit r16-620-gd9055d010475fa1c624d6036881eee9c37034b21 Author: Tomasz KamiÅski Date:

[Bug libstdc++/120266] newly introduced problems when using lto'ed libstdc++-v3 in a static link

2025-05-14 Thread qubos at outlook dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120266 --- Comment #6 from Quentin Boswank --- Why does LTO even exists when I can use it to its full potential. I might not use it like this. /rant

[Bug target/120215] [16 Regression] FAIL: gcc.target/i386/pr78794.c scan-assembler pandn by r16-517-g993aa0bd28722c

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

[Bug target/120215] [16 Regression] FAIL: gcc.target/i386/pr78794.c scan-assembler pandn by r16-517-g993aa0bd28722c

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120215 --- Comment #2 from GCC Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:f0d36c822c8b0918583c6bc3b1db01f2bb7f226b commit r16-619-gf0d36c822c8b0918583c6bc3b1db01f2bb7f226b Author: liuhongt Date: Tue Dec 1

[Bug c++/119844] Incomplete types are displayed after the import module

2025-05-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119844 --- Comment #4 from Nathaniel Shead --- (In reply to printfne from comment #3) > Thank you for the solution you proposed. It is indeed very useful. Besides, > I want to know if the C++ standard has any regulations on the symbols > exported in th

[Bug libstdc++/119125] [C++26] Implement P2548R6 copyable_function

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119125 --- Comment #2 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:0e93f7cd4ed0cf6bcfda90ed4dcad51a1f65b4b6 commit r16-618-g0e93f7cd4ed0cf6bcfda90ed4dcad51a1f65b4b6 Author: Tomasz KamiÅski Date:

[Bug c/120277] New: Crash at -O2: in upper_bound, at value-range.h:1181

2025-05-14 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120277 Bug ID: 120277 Summary: Crash at -O2: in upper_bound, at value-range.h:1181 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug libstdc++/120160] Implicitly import std if standard library header is included

2025-05-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120160 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug libstdc++/119125] [C++26] Implement P2548R6 copyable_function

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119125 --- Comment #1 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:708d40ff109c6e49d02b684a368571722a160af8 commit r16-617-g708d40ff109c6e49d02b684a368571722a160af8 Author: Tomasz KamiÅski Date:

[Bug libstdc++/88322] Implement C++20 library features.

2025-05-14 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88322 Bug 88322 depends on bug 119246, which changed state. Bug 119246 Summary: Result basic_format_arg::check_dynamic_spec is incorrect for extended floating point types https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119246 What|Removed

[Bug libstdc++/119246] Result basic_format_arg::check_dynamic_spec is incorrect for extended floating point types

2025-05-14 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119246 Tomasz Kamiński changed: What|Removed |Added Target Milestone|--- |16.0 Status|NEW

[Bug c++/118245] [14 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2025-05-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 --- Comment #12 from Nathaniel Shead --- (In reply to Richard Biener from comment #11) > (In reply to Nathaniel Shead from comment #10) > > This is fixed for GCC 15. Unfortunately this patch isn't appropriate for > > backporting as it will caus

[Bug libstdc++/119246] Result basic_format_arg::check_dynamic_spec is incorrect for extended floating point types

2025-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119246 --- Comment #3 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:9c9a7316adb99693e237164908893a78b86ba000 commit r16-616-g9c9a7316adb99693e237164908893a78b86ba000 Author: Tomasz KamiÅski Date:

[Bug middle-end/120276] New: [16 Regression] ICE in partial_subreg_p with SVE

2025-05-14 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120276 Bug ID: 120276 Summary: [16 Regression] ICE in partial_subreg_p with SVE Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: aarch64-sve, ice-on-valid-code Severity

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

2025-05-14 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 120125, which changed state. Bug 120125 Summary: [15/16 Regression] ICE in add_to_same_comdat_group when using -Os or -fdeclone-ctor-dtor since r15-521-g6ad7ca1bb90573 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120125

[Bug c++/120125] [15/16 Regression] ICE in add_to_same_comdat_group when using -Os or -fdeclone-ctor-dtor since r15-521-g6ad7ca1bb90573

2025-05-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120125 Nathaniel Shead changed: What|Removed |Added Target Milestone|15.0|15.2 Status|ASSIGNED

[Bug middle-end/120276] [16 Regression] ICE in partial_subreg_p with SVE

2025-05-14 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120276 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||jschmitz at gcc dot gnu.org

  1   2   >