[Bug c/119264] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_nonzero_bits, at fold-const.cc:16688

2025-03-12 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119264 Bug ID: 119264 Summary: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_nonzero_bits, at fold-const.cc:16688 Product: gcc Version

[Bug c/119263] New: ICE: gimplify_expr (gimplify.cc:20209) triggered by __builtin_assoc_barrier with volatile struct

2025-03-12 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119263 Bug ID: 119263 Summary: ICE: gimplify_expr (gimplify.cc:20209) triggered by __builtin_assoc_barrier with volatile struct Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug middle-end/118627] gcc/omp-general.cc:4197: The code looks like reading uninitialised data

2025-03-12 Thread kaadenruman at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118627 --- Comment #6 from Kaaden Ruman --- Created attachment 60735 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60735&action=edit Patch to handle false returned case.

[Bug target/118966] [15 Regression] 6% slowdown of 464.h264ref on Aarch64

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118966 --- Comment #3 from Andrew Pinski --- Looks like this was fixed between r15-7776-gff38712bcba97f and r15-7897-ge6e7b477bbdbfb Most likely https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=f870302515d5fcf7355f0108c3ead0038ff326fd .

[Bug target/119238] [15 Regression] error: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Werror=c++17-extensions]

2025-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119238 --- Comment #4 from GCC Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:4e6967aba1aaa9dfc362ce59b3d9358a6a15603c commit r15-8017-g4e6967aba1aaa9dfc362ce59b3d9358a6a15603c Author: Xi Ruoyao Date: Wed Mar 1

[Bug c++/90814] gcc accept invalid constexpr defaulted constructor when the defaulted constructor would cause to be deleted

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90814 Andrew Pinski changed: What|Removed |Added Summary|gcc accept invalid |gcc accept invalid |co

[Bug c++/94061] defaulted member operator <=> defined as deleted if a base has protected member operator <=>

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94061 --- Comment #8 from Andrew Pinski --- https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2568

[Bug c++/94061] defaulted member operator <=> defined as deleted if a base has protected member operator <=>

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

[Bug target/119238] [15 Regression] error: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Werror=c++17-extensions]

2025-03-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119238 Xi Ruoyao changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/119259] compilation error: *constexpr* operator==(const T&) const = default` forces compilation of std::vector's operator== function

2025-03-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119259 --- Comment #9 from Patrick Palka --- Defaulted special member functions seem similarly affected. The following should be valid in C++23 mode after P2448R2: struct A { A(); }; struct B { A a; constexpr B() = default; }; :5:13: error: expl

[Bug middle-end/118627] gcc/omp-general.cc:4197: The code looks like reading uninitialised data

2025-03-12 Thread kaadenruman at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118627 --- Comment #5 from Kaaden Ruman --- (In reply to Tobias Burnus from comment #3) > Crossref: That code was added in commit > r14-6515-g5fdb150cd4bf8f > OpenMP/OpenACC: Rework clause expansion and nested struct handling > > The called func

[Bug c++/119259] compilation error: *constexpr* operator==(const T&) const = default` forces compilation of std::vector's operator== function

2025-03-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119259 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug rtl-optimization/117645] [15 Regression] FAIL: gcc.dg/graphite/pr29581-2.c execution test with late-combine

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117645 Andrew Pinski changed: What|Removed |Added Keywords||ra --- Comment #8 from Andrew Pinski -

[Bug middle-end/118627] gcc/omp-general.cc:4197: The code looks like reading uninitialised data

2025-03-12 Thread kaadenruman at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118627 Kaaden Ruman changed: What|Removed |Added CC||kaadenruman at hotmail dot com --- Comme

[Bug target/119261] The mcpu parameter does not accept the star-mc1++cdecp expansion when using arm-none-eabi.

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

[Bug tree-optimization/119223] GCC does not optimize with AVX in bitshift with if condition

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119223 --- Comment #8 from Andrew Pinski --- *** Bug 119262 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/119262] Missed vectorize loop within bitshift when using one bool rather than two

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

[Bug c++/119239] GCC fail to reject odr-use of local constant in template lambda without capture

2025-03-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119239 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Resol

[Bug target/119261] The mcpu parameter does not accept the star-mc1++cdecp expansion when using arm-none-eabi.

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119261 --- Comment #4 from Andrew Pinski --- The support was added with r15-5941-g237fdf51fbfcfa .

[Bug target/119261] The mcpu parameter does not accept the star-mc1++cdecp expansion when using arm-none-eabi.

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119261 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html#index-mcpu-2 Is the documentation for gcc trunk and not the version you are using.

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-12 Thread rdubner at symas dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 --- Comment #12 from Robert Dubner --- "Obvious," the man says. Do you know the story about the professor doing a proof at the blackboard? He finishes a step, then says, "It's obvious from step three that..." A student interrupts. "Professor

[Bug tree-optimization/119262] Missed vectorize loop within bitshift when using one bool rather than two

2025-03-12 Thread kaelfandrew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119262 --- Comment #1 from Kael Franco --- Created attachment 60733 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60733&action=edit Generated assembly

[Bug c/119261] The mcpu parameter does not accept the star-mc1++cdecp expansion when using arm-none-eabi.

2025-03-12 Thread halfsweet at halfsweet dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119261 --- Comment #1 from halfsweet at halfsweet dot cn --- This is my gcc version information Using built-in specs. COLLECT_GCC=arm-none-eabi-gcc COLLECT_LTO_WRAPPER=/Applications/ArmGNUToolchain/14.2.rel1/arm-none-eabi/bin/../libexec/gcc/arm-none-ea

[Bug tree-optimization/119262] New: Missed vectorize loop within bitshift when using one bool rather than two

2025-03-12 Thread kaelfandrew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119262 Bug ID: 119262 Summary: Missed vectorize loop within bitshift when using one bool rather than two Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: no

[Bug c/119261] New: The mcpu parameter does not accept the star-mc1++cdecp expansion when using arm-none-eabi.

2025-03-12 Thread halfsweet at halfsweet dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119261 Bug ID: 119261 Summary: The mcpu parameter does not accept the star-mc1++cdecp expansion when using arm-none-eabi. Product: gcc Version: 14.2.1 Status: UNCONFIRMED

[Bug c++/119233] [12/13/14/15 Regression] templated member function used as a template argument via pointer to member function from inside a template causes an undefined symbol since r12-6075-g2decd2c

2025-03-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119233 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/119260] reinterpret_cast function pointer to integer and applying and incorrectly calculated

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

[Bug cobol/119256] Capture source ranges for tokens in gcobol

2025-03-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119256 --- Comment #2 from David Malcolm --- BTW, should the source range be: hello.cob:2:8: error: syntax error, unexpected NAME, expecting FUNCTION or PROGRAM-ID 2 |porgram-id. hello. |^~ rather than: hello.cob:2:

[Bug cobol/119256] Capture source ranges for tokens in gcobol

2025-03-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119256 David Malcolm changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org

[Bug analyzer/117262] [15 regression] Analyzer doesn't handle RAW_DATA_CST properly

2025-03-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117262 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/117262] [15 regression] Analyzer doesn't handle RAW_DATA_CST properly

2025-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117262 --- Comment #10 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:8015a72ae496401e05942f4d33c94aa45174f841 commit r15-8016-g8015a72ae496401e05942f4d33c94aa45174f841 Author: David Malcolm Date:

[Bug c++/119260] reinterpret_cast function pointer to integer and applying and incorrectly calculated

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

[Bug c++/119260] reinterpret_cast function pointer to integer and applying and incorrectly calculated

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119260 --- Comment #1 from Andrew Pinski --- Most casued by r0-108016-gdaade2060caf31 .

[Bug c++/119260] New: reinterpret_cast function pointer to integer and applying and incorrectly calculated

2025-03-12 Thread geza.herman at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119260 Bug ID: 119260 Summary: reinterpret_cast function pointer to integer and applying and incorrectly calculated Product: gcc Version: 14.2.0 Status: UNCONFIRMED S

[Bug target/117092] [15 regression] gcc.target/aarch64/pr109072_1.c check-function-bodies s16x4_2 fail since r15-4235-gbcccc3221b838e

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117092 Andrew Pinski changed: What|Removed |Added CC||pzheng at gcc dot gnu.org Ass

[Bug c/116545] Support old style statement attributes

2025-03-12 Thread lucier at math dot purdue.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116545 --- Comment #6 from lucier at math dot purdue.edu --- (In reply to Jakub Jelinek from comment #4) > > does that for C. I built mainline with these changes, and the resulting compiler builds Gambit without complaint or error. I'm now running ma

[Bug c++/119150] [14/15 Regression] Optimization causes function call arguments to consteval functions to not be manifestly constant-evaluated since r14-4140

2025-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119150 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ebf6e6241f5658a3cae462b1314f4a8f2bc71760 commit r15-8014-gebf6e6241f5658a3cae462b1314f4a8f2bc71760 Author: Jakub Jelinek Date: T

[Bug c++/119259] compilation error: *constexpr* operator==(const T&) const = default` forces compilation of std::vector's operator== function

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119259 --- Comment #7 from Andrew Pinski --- I am suspecting GCC doing the correct thing. In my last reduced testcase, move intermidiate below not_equatable and change the type of the field t to not_equatable and see that all 3 now reject the code.

[Bug c++/119259] compilation error: *constexpr* operator==(const T&) const = default` forces compilation of std::vector's operator== function

2025-03-12 Thread awia00 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119259 --- Comment #6 from Anders Wind --- To give an example as to why it would be beneficial to not eagerly fail in this case: We have a template type which, just like my example, has operator==()=default (as well as other functionality). This enable

[Bug libstdc++/119258] New: All uses of relative timeouts should correctly handle overflow in duration conversions

2025-03-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119258 Bug ID: 119258 Summary: All uses of relative timeouts should correctly handle overflow in duration conversions Product: gcc Version: 15.0 Status: UNCONFIRMED K

[Bug c++/119259] compilation error: *constexpr* operator==(const T&) const = default` forces compilation of std::vector's operator== function

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119259 --- Comment #5 from Andrew Pinski --- Created attachment 60731 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60731&action=edit Slightly more reduced, move the operator== to be a member function of intermidiate

[Bug c++/118799] [15 Regression] [modules] error on typedefs in anonymous namespace

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

[Bug c++/119259] compilation error: *constexpr* operator==(const T&) const = default` forces compilation of std::vector's operator== function

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119259 --- Comment #4 from Andrew Pinski --- Created attachment 60730 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60730&action=edit reduced testcase (no using std::vector)

[Bug c++/119259] compilation error: *constexpr* operator==(const T&) const = default` forces compilation of std::vector's operator== function

2025-03-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119259 --- Comment #3 from Jonathan Wakely --- Yes clang (with both libstdc++ and libc++) and MSVC compile the example successfully. I suppose since the defaulted operator== isn't actually being used, it shouldn't instantiate anything. That said, I'm

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

2025-03-12 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 118799, which changed state. Bug 118799 Summary: [15 Regression] [modules] error on typedefs in anonymous namespace https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118799 What|Removed |A

[Bug c++/118799] [15 Regression] [modules] error on typedefs in anonymous namespace

2025-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118799 --- Comment #3 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:2eb3d7454ee578335b7719aadfb9e37a8456f1f1 commit r15-8013-g2eb3d7454ee578335b7719aadfb9e37a8456f1f1 Author: Nathaniel Shead Date:

[Bug c++/119154] GCC 15.0 std module with compiled with -O3 breaks when loaded with -O0 (not -O1, -O2 and -Ofast)

2025-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119154 --- Comment #11 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:4cd99e41ef687fd62d6908f4807de277c7dc9803 commit r15-8012-g4cd99e41ef687fd62d6908f4807de277c7dc9803 Author: Nathaniel Shead Date

[Bug c++/119259] compilation error: *constexpr* operator==(const T&) const = default` forces compilation of std::vector's operator== function

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119259 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #2 from Andrew Pinski

[Bug libstdc++/119259] compilation error: *constexpr* operator==(const T&) const = default` forces compilation of std::vector's operator== function

2025-03-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119259 --- Comment #1 from Jonathan Wakely --- operator== for std::vector is not constrained, so this is the expected behaviour. If you default your operator== then it will try to use equality for std::vector, which isn't constrained so is instantiate

[Bug libstdc++/119259] New: compilation error: *constexpr* operator==(const T&) const = default` forces compilation of std::vector's operator== function

2025-03-12 Thread awia00 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119259 Bug ID: 119259 Summary: compilation error: *constexpr* operator==(const T&) const = default` forces compilation of std::vector's operator== function Product: gcc Version: 14.2.1

[Bug target/117092] [15 regression] gcc.target/aarch64/pr109072_1.c check-function-bodies s16x4_2 fail since r15-4235-gbcccc3221b838e

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117092 Andrew Pinski changed: What|Removed |Added Assignee|pzheng at gcc dot gnu.org |pinskia at gcc dot gnu.org ---

[Bug testsuite/119220] [15 Regression] FAIL: gcc.dg/debug/dwarf2/inline2.c scan-assembler-times DW_AT_entry_pc 6

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119220 Andrew Pinski changed: What|Removed |Added Target|hppa64-hp-hpux11.11 |hppa64-hp-hpux11.11 |

[Bug c++/119236] GCC incorrectly accepts alignof() operator applied to function type

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

[Bug target/119234] openblas miscompiled with -mcpu=power8

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119234 --- Comment #4 from Andrew Pinski --- Looks like openblass has been having issues with power8 for years now.

[Bug libstdc++/113327] std::sleep_for(std::chrono::hours::max()) returns immediately

2025-03-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113327 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |15.0 Status|NEW

[Bug target/91905] OpenBLAS LAPACK icamax miscompiled

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91905 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|WAITING

[Bug target/119234] openblas miscompiled with -mcpu=power8

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119234 Andrew Pinski changed: What|Removed |Added CC||dje at gcc dot gnu.org --- Comment #3 f

[Bug fortran/119106] Crash with character array constructor + implicit loop + data from `parameter` variable

2025-03-12 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119106 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug c++/117512] [14/15 Regression] ICE on x86_64-linux-gnu: in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with aligned on a field

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

[Bug c++/117512] [14/15 Regression] ICE on x86_64-linux-gnu: in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with aligned on a field

2025-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117512 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:a27b24c9f4ee7fc12d077ea111200223e4a95c7d commit r14-11406-ga27b24c9f4ee7fc12d077ea111200223e4a95c7d Author: Marek Polacek

[Bug c++/117512] [14/15 Regression] ICE on x86_64-linux-gnu: in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with aligned on a field

2025-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117512 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:3dd7b598065ea0280fc65ce656c575c5142fa4fc commit r15-8011-g3dd7b598065ea0280fc65ce656c575c5142fa4fc Author: Marek Polacek Date: We

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 --- Comment #11 from Jakub Jelinek --- There are many passes which can duplicate asm stmts, e.g. loop unrolling.

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 --- Comment #10 from Jakub Jelinek --- The obvious way to check for -O0 is if (!optimize)

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-12 Thread rdubner at symas dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 --- Comment #9 from Robert Dubner --- Having said all that, I finally got around to confirming the behavior, which I did. After noting that the problem doesn't manifest with "-O0 -ftracer", and noting further that there is no way obvious to me

[Bug cobol/119237] building a cobol cross compiler fails to build the compiler fully

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

[Bug libstdc++/116110] Transitions obtained from chrono::time_zone::get_info should not treat times as UTC

2025-03-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116110 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2025-03-12 Ever confirmed|0

[Bug libstdc++/113327] std::sleep_for(std::chrono::hours::max()) returns immediately

2025-03-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113327 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug gcov-profile/110827] C++20 coroutines aren't being measured by gcov

2025-03-12 Thread mwd at md5i dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110827 --- Comment #14 from Michael Duggan --- So, I applied the following patch instead, with identical results. Pro: doesn't change the artificiality status of the function. Con: more complex code. 1 file changed, 34 insertions(+), 2 deletions(-)

[Bug other/119250] GCC configure fails to find the declaration of basename() on hosts that need

2025-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119250 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug c/116545] Support old style statement attributes

2025-03-12 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116545 --- Comment #5 from Andi Kleen --- Something like this untested patch would likely also fix the test case: diff --git a/gcc/c-family/c-lex.cc b/gcc/c-family/c-lex.cc index e450c9a57f0..e1f78431210 100644 --- a/gcc/c-family/c-lex.cc +++ b/gcc/c

[Bug other/119250] GCC configure fails to find the declaration of basename() on hosts that need

2025-03-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119250 --- Comment #4 from Iain Sandoe --- there seems to be a fundamental inconsistency here; * libiberty is configured (and determines the availability of the POSIX basename). If that is not found, then it provides and publishes the fall-back (but

[Bug other/119218] libiberty configure test fails for basename on targets which declare it in .

2025-03-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119218 --- Comment #14 from Iain Sandoe --- Created attachment 60727 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60727&action=edit Patch under test Please could you let me know if this works for Solaris too. (note that this does not fix the

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 --- Comment #8 from Jakub Jelinek --- It would work the same as volatile int v; static inline __attribute__((always_inline)) int foo (int x) { ++v; ++v; ++v; return x; } int main () { int x; x = foo (1); x += foo (2); x += foo (3

[Bug rtl-optimization/117128] [14/15 regression] GCC trunk generates larger code than GCC 14 at -Os/Oz since r14-2161-g237e83e2158a3d

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117128 Andrew Pinski changed: What|Removed |Added Summary|[15 regression] GCC trunk |[14/15 regression] GCC

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-12 Thread rdubner at symas dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 --- Comment #7 from Robert Dubner --- Well, I did ask for suggestions. I suppose it's not surprising I don't really understand them. Yet. I should explain, a little further, the underlying problems. This, for example, is a modified sample fr

[Bug fortran/115316] [PDT] valgrind error in insert_parameter_exprs

2025-03-12 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115316 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comm

[Bug cobol/119214] debug volatile asm breaks assembling

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

[Bug c++/110584] [12/13/14/15 Regression] Constant is not visible in nested lambda with outer lambda having a default capture

2025-03-12 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110584 Simon Martin changed: What|Removed |Added Known to work||15.0 Target Milestone|12.5

[Bug c++/110584] [12/13/14/15 Regression] Constant is not visible in nested lambda with outer lambda having a default capture

2025-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110584 --- Comment #5 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:90e53ecdbfcc482ad3d0090658427de6d44a5d49 commit r15-8009-g90e53ecdbfcc482ad3d0090658427de6d44a5d49 Author: Simon Martin Date: Wed

[Bug c/119251] New diagnostic: -Wcompound-literal-address

2025-03-12 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119251 --- Comment #10 from Alejandro Colomar --- (In reply to Jakub Jelinek from comment #8) > In that case the warning should be also restricted to the case when ({ comes > from macro expansion and the compound literal from macro argument (not sure >

[Bug target/117931] gcc.target/arm/lp1243022.c fails since gcc-6-4265-g477ee35f511

2025-03-12 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117931 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/117931] gcc.target/arm/lp1243022.c fails since gcc-6-4265-g477ee35f511

2025-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117931 --- Comment #1 from GCC Commits --- The master branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:9ee6c2619b256878d43800a16f7b98b3ddf59e52 commit r15-8008-g9ee6c2619b256878d43800a16f7b98b3ddf59e52 Author: Richard Earnshaw Dat

[Bug cobol/119257] Version of GCC COBOL on Compiler Explorer

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119257 --- Comment #1 from Andrew Pinski --- https://github.com/compiler-explorer/cobol-builder

[Bug cobol/119257] New: Version of GCC COBOL on Compiler Explorer

2025-03-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119257 Bug ID: 119257 Summary: Version of GCC COBOL on Compiler Explorer Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: cob

[Bug c/119170] Add operators _Widthof, _Minof, _Maxof

2025-03-12 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119170 --- Comment #20 from Alejandro Colomar --- (In reply to Kang-Che Sung from comment #19) > I personally don't like when there is an "oligopoly" on the compilers (C and > C++ should have a less centralized ecosystem than Java or Python), but this

[Bug c/119251] New diagnostic: -Wcompound-literal-address

2025-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119251 --- Comment #9 from Jakub Jelinek --- (In reply to Andrew Pinski from comment #7) > GCC already has Wdangling-pointer which is done at optimization time too so > I suspect it should catch most of these. Though it should be improved for > handlin

[Bug c/119251] New diagnostic: -Wcompound-literal-address

2025-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119251 --- Comment #8 from Jakub Jelinek --- In that case the warning should be also restricted to the case when ({ comes from macro expansion and the compound literal from macro argument (not sure if the last one can be differentiated from locations).

[Bug cobol/119256] New: Capture source ranges for tokens in gcobol

2025-03-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119256 Bug ID: 119256 Summary: Capture source ranges for tokens in gcobol Product: gcc Version: unknown URL: https://gcc.gnu.org/pipermail/gcc-patches/2025-March/6 77314.htm

[Bug c/119251] New diagnostic: -Wcompound-literal-address

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119251 Andrew Pinski changed: What|Removed |Added Blocks||104077 --- Comment #7 from Andrew Pinsk

[Bug c++/119255] [15 Regression] Seg fault after errors

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119255 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 --- Comment #1 from Andrew Pinski

[Bug target/119225] avr-mmcu.texi:15: warning: @anchor should not appear on @item line

2025-03-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119225 Jonathan Wakely changed: What|Removed |Added Resolution|--- |MOVED Status|UNCONFIRMED

[Bug c++/119255] New: [15 Regression] Seg fault after errors

2025-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119255 Bug ID: 119255 Summary: [15 Regression] Seg fault after errors Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: error-recovery, ice-on-invalid-code Severity: nor

[Bug c/119251] New diagnostic: -Wcompound-literal-address

2025-03-12 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119251 --- Comment #6 from Alejandro Colomar --- (In reply to uecker from comment #5) > Maybe a more targeted warning would make sense, e.g. taking the address of a > compound literal inside ({ }). Maybe even checking whether it escapes? > And/or onl

[Bug cobol/119254] New: ICE on unterminated cobol string due to use of cbl_internal_error

2025-03-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119254 Bug ID: 119254 Summary: ICE on unterminated cobol string due to use of cbl_internal_error Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c/116545] Support old style statement attributes

2025-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116545 --- Comment #4 from Jakub Jelinek --- --- gcc/c/c-parser.cc.jj2025-03-11 22:45:16.638352045 +0100 +++ gcc/c/c-parser.cc 2025-03-12 19:24:45.614217984 +0100 @@ -1820,6 +1820,7 @@ static void c_parser_objc_at_dynamic_dec static bool c_p

[Bug target/119225] avr-mmcu.texi:15: warning: @anchor should not appear on @item line

2025-03-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119225 --- Comment #4 from Jonathan Wakely --- 7.1.1 is very recent though, so I don't think we can require it, only recommend it. The versions with the error are not very "old".

[Bug c/116545] Support old style statement attributes

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

[Bug c/119170] Add operators _Widthof, _Minof, _Maxof

2025-03-12 Thread Explorer09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119170 --- Comment #19 from Kang-Che Sung --- (In reply to Alejandro Colomar from comment #17) > > There are less compilers than programs that use it, so there will be less > points of failure if this is implemented in the compiler instead of in each

[Bug c++/67491] [meta-bug] concepts issues

2025-03-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 119134, which changed state. Bug 119134 Summary: [12 Regression] ICE segfault on capturing lambda in fold expression in requires clause https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134 What|Removed

[Bug c++/119134] [12 Regression] ICE segfault on capturing lambda in fold expression in requires clause

2025-03-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134 Marek Polacek changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12 Regression] ICE |

  1   2   3   >