[Bug c++/117782] template ICE in write_unscoped_name while using autofda bootstrap on aarch64

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117782 --- Comment #3 from Andrew Pinski --- (In reply to kugan from comment #2) > --- a/gcc/cp/mangle.cc > +++ b/gcc/cp/mangle.cc > @@ -1194,6 +1194,7 @@ write_unscoped_name (const tree decl) > in a local function scope. A lambda can also be

[Bug c++/117782] template ICE in write_unscoped_name while using autofda bootstrap on aarch64

2024-11-25 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117782 --- Comment #2 from kugan at gcc dot gnu.org --- --- a/gcc/cp/mangle.cc +++ b/gcc/cp/mangle.cc @@ -1194,6 +1194,7 @@ write_unscoped_name (const tree decl) in a local function scope. A lambda can also be mangled in the scope of

[Bug c++/117782] template ICE in write_unscoped_name while using autofda bootstrap on aarch64

2024-11-25 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117782 --- Comment #1 from kugan at gcc dot gnu.org --- Created attachment 59705 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59705&action=edit profile gcov

[Bug c/117781] New: typeof_unqual should not remove atomic from an array of atomic type

2024-11-25 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117781 Bug ID: 117781 Summary: typeof_unqual should not remove atomic from an array of atomic type Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/117782] New: template ICE in write_unscoped_name while using autofda bootstrap on aarch64

2024-11-25 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117782 Bug ID: 117782 Summary: template ICE in write_unscoped_name while using autofda bootstrap on aarch64 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: n

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

2024-11-25 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 116675, which changed state. Bug 116675 Summary: No blend constant permute for V8HImode with just SSE2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116675 What|Removed |Added ---

[Bug target/116675] No blend constant permute for V8HImode with just SSE2

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

[Bug target/116675] No blend constant permute for V8HImode with just SSE2

2024-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116675 --- Comment #4 from GCC Commits --- The master branch has been updated by Lili Cui : https://gcc.gnu.org/g:60b708a9c878aff9a76ec0d446ae63e6527327a6 commit r15-5666-g60b708a9c878aff9a76ec0d446ae63e6527327a6 Author: Cui, Lili Date: Tue Nov 26

[Bug tree-optimization/117780] -fsanitize=undefined -O1 false positive ‘%s’ directive argument is null [-Wformat-truncation=]

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117780 --- Comment #2 from Andrew Pinski --- if (c_5 == 0B) goto ; [0.00%] else goto ; [100.00%] [count: 0]: __builtin___ubsan_handle_nonnull_arg (&*.Lubsan_data0); _14 = strlen (0B); snprintf (&aj, _14, &am, 0B); It comes from

[Bug tree-optimization/117780] -fsanitize=undefined -O1 false positive ‘%s’ directive argument is null [-Wformat-truncation=]

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117780 --- Comment #1 from Andrew Pinski --- Note the documentation mentions fsanitize cam cause some extra warnings.

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

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

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

2024-11-25 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 113600, which changed state. Bug 113600 Summary: [14/15 regression] 525.x264_r run-time regresses by 8% with PGO -Ofast -march=znver4 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113600 What|Removed

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

2024-11-25 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 113600, which changed state. Bug 113600 Summary: [14/15 regression] 525.x264_r run-time regresses by 8% with PGO -Ofast -march=znver4 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113600 What|Removed

[Bug sanitizer/117780] New: -fsanitize=undefined -O1 false positive ‘%s’ directive argument is null [-Wformat-truncation=]

2024-11-25 Thread yansendao at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117780 Bug ID: 117780 Summary: -fsanitize=undefined -O1 false positive ‘%s’ directive argument is null [-Wformat-truncation=] Product: gcc Version: 14.2.0 Status: UNCONFIRMED

[Bug tree-optimization/99956] loop interchange fails when altering bwaves inner loop

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99956 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c/117755] ICE: Segmentation fault

2024-11-25 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117755 Joseph S. Myers changed: What|Removed |Added Known to work||15.0 Resolution|---

[Bug middle-end/100624] ICE: Segmentation fault, gimplify_target_expr

2024-11-25 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100624 Bug 100624 depends on bug 98195, which changed state. Bug 98195 Summary: ICE after `void value not ignored as it ought to be` error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98195 What|Removed |Added ---

[Bug c/98195] ICE after `void value not ignored as it ought to be` error

2024-11-25 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98195 Joseph S. Myers changed: What|Removed |Added Target Milestone|--- |15.0 Known to work|

[Bug c/98195] ICE after `void value not ignored as it ought to be` error

2024-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98195 --- Comment #10 from GCC Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:980929bdb80f1a1490caab5acc6d9740e0f9b539 commit r15-5664-g980929bdb80f1a1490caab5acc6d9740e0f9b539 Author: Joseph Myers Date: Tue

[Bug c/117755] ICE: Segmentation fault

2024-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117755 --- Comment #3 from GCC Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:980929bdb80f1a1490caab5acc6d9740e0f9b539 commit r15-5664-g980929bdb80f1a1490caab5acc6d9740e0f9b539 Author: Joseph Myers Date: Tue

[Bug tree-optimization/117779] New: abs is not removed from a loop

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117779 Bug ID: 117779 Summary: abs is not removed from a loop Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Prior

[Bug target/117608] [15 Regression] ICE: in extract_insn, at recog.cc:2882 (unrecognizable insn) with __builtin_ia32_prefetch(0, 2, 0, 0)

2024-11-25 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117608 --- Comment #2 from Hongtao Liu --- @hulin please take a look.

[Bug target/117562] [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 --- Comment #16 from GCC Commits --- The releases/gcc-12 branch has been updated by hongtao Liu : https://gcc.gnu.org/g:89a27cf6b1354cc80d834d71f7a3aa137d605e94 commit r12-10832-g89a27cf6b1354cc80d834d71f7a3aa137d605e94 Author: liuhongt Date:

[Bug target/117562] [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 --- Comment #15 from GCC Commits --- The releases/gcc-13 branch has been updated by hongtao Liu : https://gcc.gnu.org/g:0eb8c19cb45fc004b7039fa22ff9021604d80dbc commit r13-9216-g0eb8c19cb45fc004b7039fa22ff9021604d80dbc Author: liuhongt Date:

[Bug c++/117778] ICE maybe_add_lambda_conv_op

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117778 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Ever confirmed|0

[Bug c++/116914] [15 regression] ICE when building plasma-nm-6.1.5 (gimplify_var_or_parm_decl, at gimplify.cc:3309) with -std=gnu++20

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116914 --- Comment #19 from Andrew Pinski --- *** Bug 117773 has been marked as a duplicate of this bug. ***

[Bug c++/117773] ICE in gimplify_var_or_parm_decl, co_yleld

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

[Bug c++/117778] New: ICE maybe_add_lambda_conv_op

2024-11-25 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117778 Bug ID: 117778 Summary: ICE maybe_add_lambda_conv_op Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Ass

[Bug tree-optimization/117776] [12/13/14/15 Regression] Missed optimization/vectorization opportunity (adding a even/odd check to an accumulator)

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117776 --- Comment #8 from Andrew Pinski --- I have a patch but I need to write up a few testcases. Basically I modified case for `(convert (convert` where the inner and outer types were nop conversion to allow for the outer conversion to be greater t

[Bug c/117755] ICE: Segmentation fault

2024-11-25 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117755 Joseph S. Myers changed: What|Removed |Added CC||141242068 at smail dot nju.edu.cn --

[Bug middle-end/111921] [12/13/14/15 Regression] ICE with nested function after an error since r6-205-g5c4abbb8e80153

2024-11-25 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111921 Joseph S. Myers changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/111600] [14/15 Regression] RISC-V bootstrap time regression

2024-11-25 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111600 --- Comment #40 from Jeffrey A. Law --- Just an FYI. My BPI will pick this up and bootstrap it on Wednesday. So we should be able to see concretely if it improved things.

[Bug target/110908] [aarch64] Internal compiler error when using -ffixed-x30

2024-11-25 Thread zach-gcc at cs dot stanford.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110908 --- Comment #7 from zach-gcc at cs dot stanford.edu --- FYI: the behavior requested in this issue used to be supported by LLVM/Clang with the -ffixed-x30 flag, but has now been renamed to -mlr-for-calls-only. See https://clang.llvm.org/docs/Clang

[Bug c/98195] ICE after `void value not ignored as it ought to be` error

2024-11-25 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98195 Joseph S. Myers changed: What|Removed |Added CC||141242068 at smail dot nju.edu.cn ---

[Bug c/117724] [15 regression] ICE when building libgit2 (error: ‘TYPE_CANONICAL’ is not compatible)

2024-11-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117724 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #7 from Sam James ---

[Bug modula2/117777] m2 does not allow single const string in asm volatile

2024-11-25 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/117777] m2 does not allow single const string in asm volatile

2024-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:e6d26a21e0369081491941552900ab3cbfdd18a4 commit r15-5662-ge6d26a21e0369081491941552900ab3cbfdd18a4 Author: Gaius Mulley Date: Mon

[Bug target/117608] [15 Regression] ICE: in extract_insn, at recog.cc:2882 (unrecognizable insn) with __builtin_ia32_prefetch(0, 2, 0, 0)

2024-11-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117608 --- Comment #1 from Sam James --- Noticed this as well with builtin-prefetch-1.c.

[Bug target/117608] [15 Regression] ICE: in extract_insn, at recog.cc:2882 (unrecognizable insn) with __builtin_ia32_prefetch(0, 2, 0, 0)

2024-11-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117608 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/117755] ICE: Segmentation fault

2024-11-25 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117755 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c/110737] GCC: internal compiler error: Segmentation fault when processing __builtin_isinf and _Atomic long double together

2024-11-25 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110737 Joseph S. Myers changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/98195] ICE after `void value not ignored as it ought to be` error

2024-11-25 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98195 Joseph S. Myers changed: What|Removed |Added Assignee|pinskia at gcc dot gnu.org |jsm28 at gcc dot gnu.org --- Co

[Bug libstdc++/117751] [15 regression] 18_support/50594.cc fails since r15-5595-g27778979c9a1e3 with -D_GLIBCXX_ASSERTIONS

2024-11-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117751 --- Comment #11 from Jonathan Wakely --- Hmm, the docs for the new option say: "With -fno-assume-sane-operators-new-delete option GCC must assume all these calls (whether from new or delete expressions or called directly) may read and write glo

[Bug target/117771] [15 Regression] RISC-V: stage1 fails to build using gcc-9.4 since r15-5603-gb3f1b9e2aa0

2024-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117771 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:f6e00226a4ca63e76e3e0b3a09a4ce6223980981 commit r15-5661-gf6e00226a4ca63e76e3e0b3a09a4ce6223980981 Author: Andrew Pinski Date: Mo

[Bug target/117771] [15 Regression] RISC-V: stage1 fails to build using gcc-9.4 since r15-5603-gb3f1b9e2aa0

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

[Bug libstdc++/117751] [15 regression] 18_support/50594.cc fails since r15-5595-g27778979c9a1e3 with -D_GLIBCXX_ASSERTIONS

2024-11-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117751 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug preprocessor/117118] [12/13/14/15 Regression] ICE with pragma message and raw strings since r11-498

2024-11-25 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117118 Lewis Hyatt changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug preprocessor/117118] [12/13/14/15 Regression] ICE with pragma message and raw strings since r11-498

2024-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117118 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:9f0c207d4534a909ec04f9ffa306718154e67d70 commit r13-9214-g9f0c207d4534a909ec04f9ffa306718154e67d70 Author: Lewis Hyatt Date

[Bug tree-optimization/117776] [12/13/14/15 Regression] Missed optimization/vectorization opportunity (adding a even/odd check to an accumulator)

2024-11-25 Thread nicula.iccc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117776 --- Comment #7 from Ionuț Nicula --- I see that if I replace the condition with `n%3==0`, or `n>3`, the code is vectorized. So GCC is clearly capable of vectorizing this `accumulator += boolean` pattern.

[Bug fortran/117774] ICE passing imaginary part of complex array to assumed rank dummy

2024-11-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117774 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug tree-optimization/117776] [12/13/14/15 Regression] Missed optimization/vectorization opportunity (adding a even/odd check to an accumulator)

2024-11-25 Thread nicula.iccc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117776 --- Comment #6 from Ionuț Nicula --- Good point, my previous title was too generic, while the actual problem seems to be very specific (i.e. related to the even/odd check, like you said).

[Bug middle-end/117098] Tail call doesn't work in some cases

2024-11-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117098 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug tree-optimization/117776] [12/13/14/15 Regression] Missed optimization/vectorization opportunity (adding a even/odd check to an accumulator)

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117776 --- Comment #5 from Andrew Pinski --- Note this is specificly related to the even odd/check rather than anything else.

[Bug tree-optimization/117776] Missed optimization/vectorization opportunity (adding a bool to an accumulator)

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117776 Andrew Pinski changed: What|Removed |Added Keywords||TREE --- Comment #3 from Andrew Pinski

[Bug middle-end/117098] Tail call doesn't work in some cases

2024-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117098 --- Comment #4 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:c61576d89eb0fead37be39fcf0764bb915ea201f commit r15-5660-gc61576d89eb0fead37be39fcf0764bb915ea201f Author: H.J. Lu Date: Sun Oct 13 04

[Bug target/114942] [14 Regression] ICE on valid code at -O1 with "-fno-tree-sra -fno-guess-branch-probability": in extract_constrain_insn, at recog.cc:2713

2024-11-25 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114942 --- Comment #10 from Uroš Bizjak --- (In reply to Richard Biener from comment #9) > Fixed on trunk, re-confirmed on the branch. Can't say whether it's safe to > backport this - was there any fallout? PR 115521 and PR 117105 are related and fix

[Bug tree-optimization/117776] [12/13/14/15 Regression] Missed optimization/vectorization opportunity (adding a bool to an accumulator)

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117776 Andrew Pinski changed: What|Removed |Added Known to work||7.5.0, 8.5.0 Keywords|TREE

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

2024-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117645 --- Comment #7 from GCC Commits --- The master branch has been updated by John David Anglin : https://gcc.gnu.org/g:22b13b1d4e3dce6bbc8792ffa08cefeb5e125a03 commit r15-5659-g22b13b1d4e3dce6bbc8792ffa08cefeb5e125a03 Author: John David Anglin D

[Bug preprocessor/117118] [12/13/14/15 Regression] ICE with pragma message and raw strings since r11-498

2024-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117118 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:9214e3fdf914dd2b687f13980c39ac2db7b1565f commit r14-10980-g9214e3fdf914dd2b687f13980c39ac2db7b1565f Author: Lewis Hyatt Dat

[Bug modula2/117777] m2 does not allow single const string in asm volatile

2024-11-25 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 --- Comment #2 from Gaius Mulley --- Created attachment 59702 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59702&action=edit Proposed fix Here is the proposed fix. The bug was a missing grammar optional term to allow a ':' AsmList afte

[Bug target/117771] [15 Regression] RISC-V: stage1 fails to build using gcc-9.4 since r15-5603-gb3f1b9e2aa0

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117771 --- Comment #4 from Andrew Pinski --- (In reply to Edwin Lu from comment #3) > I was able to build stage2 with gcc-9 with this patch applied. I've also > been able to build stage1 with gcc-11 with no problems so far. Ok, thanks I will push this

[Bug target/117771] [15 Regression] RISC-V: stage1 fails to build using gcc-9.4 since r15-5603-gb3f1b9e2aa0

2024-11-25 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117771 --- Comment #3 from Edwin Lu --- (In reply to Andrew Pinski from comment #2) > Created attachment 59699 [details] > Patch to test > > Can you test this patch? It moves the include of sstream above safe-ctype.h. > I don't know why it worked befo

[Bug modula2/117777] m2 does not allow single const string in asm volatile

2024-11-25 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug modula2/117777] New: m2 does not allow single const string in asm volatile

2024-11-25 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Bug ID: 11 Summary: m2 does not allow single const string in asm volatile Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug fortran/117774] ICE passing imaginary part of complex array to assumed rank dummy

2024-11-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117774 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #3) > I am currently regtesting a third patch: Regtests OK (so far). Need to work on a more elaborate testcase now.

[Bug target/117105] [15 regression] ICE on valid code at -O3 with "-fno-code-hoisting -fno-tree-fre -fno-tree-dominator-opts -fno-tree-pre -fno-tree-sra" on x86_64-linux-gnu: in extract_constrain_insn

2024-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117105 --- Comment #3 from GCC Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:4b09e2c67ef593db171b0755b46378964421782b commit r15-5658-g4b09e2c67ef593db171b0755b46378964421782b Author: Vladimir N. Makarov

[Bug target/117771] [15 Regression] RISC-V: stage1 fails to build using gcc-9.4 since r15-5603-gb3f1b9e2aa0

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117771 --- Comment #2 from Andrew Pinski --- Created attachment 59699 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59699&action=edit Patch to test Can you test this patch? It moves the include of sstream above safe-ctype.h. I don't know why it

[Bug tree-optimization/117776] Missed optimization/vectorization opportunity (adding a bool to an accumulator)

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117776 --- Comment #2 from Andrew Pinski --- >(i.e. we have "u32 *data" and "u32 ret", for example) ` That is because we do handle `(same_type)((bool)a)` -> `a & 1` already.

[Bug tree-optimization/117767] [15 Regression] ICE: in rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.cc:5103

2024-11-25 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117767 --- Comment #14 from Sergey Fedorov --- (In reply to Richard Biener from comment #13) > Fixed. Thank you! This was quick. I will complete the rebuild tomorrow, but I think it passed the point of this failure already when I left it. So all shou

[Bug tree-optimization/117776] Missed optimization/vectorization opportunity (adding a bool to an accumulator)

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

[Bug fortran/117774] ICE passing imaginary part of complex array to assumed rank dummy

2024-11-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117774 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug c++/117775] New: Internal compiler error when deriving from lambda function with invalid body

2024-11-25 Thread thor at stheno dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117775 Bug ID: 117775 Summary: Internal compiler error when deriving from lambda function with invalid body Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity:

[Bug c++/117775] [13/14/15 Regression] Internal compiler error when deriving from lambda function with invalid body

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

[Bug tree-optimization/117776] New: Missed optimization/vectorization opportunity (adding a bool to an accumulator)

2024-11-25 Thread nicula.iccc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117776 Bug ID: 117776 Summary: Missed optimization/vectorization opportunity (adding a bool to an accumulator) Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severi

[Bug fortran/117774] ICE passing imaginary part of complex array to assumed rank dummy

2024-11-25 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117774 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug fortran/117774] ICE passing imaginary part of complex array to assumed rank dummy

2024-11-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117774 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug fortran/114021] ICE with allocation of scalar pointer entity where SOURCE=f() with f() returning a pointer

2024-11-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114021 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug c++/117773] ICE in gimplify_var_or_parm_decl, co_yleld

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

[Bug fortran/114021] ICE with allocation of scalar pointer entity where SOURCE=f() with f() returning a pointer

2024-11-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114021 --- Comment #2 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #1) > Confirmed. > > Replacing > >allocate(x, source = f()) > > by a plain > >x => f() > > works as expected. OTOH, this is not semantically identica

[Bug fortran/117774] New: ICE passing imaginary part of complex array to assumed rank dummy

2024-11-25 Thread neil.n.carlson at gmail dot com via Gcc-bugs
COMPILER ERROR end The traceback: $ gfortran gfortran-20241125.f90 gfortran-20241125.f90:11:40: 11 | call foo(x%im) ! INTERNAL COMPILER ERROR |1 internal compiler error: Segmentation fault 0xdff61f crash_signal ../../gcc/toplev.cc:319

[Bug translation/80760] Suggested clarification of an error message

2024-11-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80760 David Malcolm changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org

[Bug c++/117773] New: ICE in gimplify_var_or_parm_decl, co_yleld

2024-11-25 Thread sberg.fun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117773 Bug ID: 117773 Summary: ICE in gimplify_var_or_parm_decl, co_yleld Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug translation/90160] missing quote in diagnostic

2024-11-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90160 --- Comment #6 from David Malcolm --- (In reply to Roland Illig from comment #2) > From gcn.c: > > error ("unknown specifier %s in amdgpu_hsa_kernel attribute", str); (In reply to Roland Illig from comment #3) > From gcn.c, one more: > > e

[Bug c++/117772] New: constrained auto in decl-specifier accepted for function return type despite trailing-return-type

2024-11-25 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117772 Bug ID: 117772 Summary: constrained auto in decl-specifier accepted for function return type despite trailing-return-type Product: gcc Version: 14.2.0 Status: UNCONFIRME

[Bug translation/90160] missing quote in diagnostic

2024-11-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90160 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org

[Bug fortran/115788] [F2018] Implement OUT_OF_RANGE

2024-11-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115788 --- Comment #1 from anlauf at gcc dot gnu.org --- Regarding the optional ROUND argument there is interpretation F23/004, see: https://j3-fortran.org/doc/year/25/25-100.txt The program: Program test Call s(1.5,2.5) Contains

[Bug c/117629] Redefinition of bool type in C23 could have better diagnostic

2024-11-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117629 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug target/56986] config/epiphany/epiphany.opt:108: "floatig"

2024-11-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56986 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c/117629] Redefinition of bool type in C23 could have better diagnostic

2024-11-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117629 David Malcolm changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org

[Bug rtl-optimization/117770] FAIL: g++.dg/torture/pr37922.C -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test

2024-11-25 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117770 --- Comment #3 from John David Anglin --- I suspect explicitly setting hard registers prior to reload confuses LRA: ;;; Division and mod. (define_expand "divsi3" [(set (reg:SI 26) (match_operand:SI 1 "move_src_operand" "")) (set (reg:SI 25

[Bug fortran/117765] Impure function within a BLOCK construct within a DO CONCURRENT

2024-11-25 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117765 --- Comment #9 from kargls at comcast dot net --- (In reply to kargls from comment #8) > > Nice catch. I did not consider impure subroutines (obviously). > It seems that resolve.cc does not have a check_pure_subroutine() > like it does for func

[Bug fortran/117765] Impure function within a BLOCK construct within a DO CONCURRENT

2024-11-25 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117765 --- Comment #8 from kargls at comcast dot net --- (In reply to anlauf from comment #7) > The patch catches functions but misses subroutine calls, as in: > > ! { dg-do compile } > ! > program foo > >implicit none > >integer i >integ

[Bug c/112841] typeof_unqual is not removing qualifiers from the element type of array types

2024-11-25 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112841 --- Comment #6 from Joseph S. Myers --- Please file a new bug for this.

[Bug target/117771] [15 Regression] RISC-V: stage1 fails to build using gcc-9.4 since r15-5603-gb3f1b9e2aa0

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

[Bug target/117771] [15 Regression] RISC-V: stage1 fails to build using gcc-9.4 since r15-5603-gb3f1b9e2aa0

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117771 Andrew Pinski changed: What|Removed |Added Keywords||build Summary|[9 Regression]

[Bug target/117771] New: [9 Regression] RISC-V: stage1 fails to build using gcc-9.5 since r15-5603-gb3f1b9e2aa0

2024-11-25 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117771 Bug ID: 117771 Summary: [9 Regression] RISC-V: stage1 fails to build using gcc-9.5 since r15-5603-gb3f1b9e2aa0 Product: gcc Version: 9.5.0 Status: UNCONFIRMED

[Bug target/99410] Nios II Error: branch offset out of range

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX Status|SUSPENDED

[Bug target/93847] Nios II ICE

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

[Bug target/88284] nios2: pessimistic ldw-to-stwio scheduling

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

[Bug target/58205] ../../gcc-4.1/gcc/crtstuff.c:323: internal compiler error

2024-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58205 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX Status|SUSPENDED

  1   2   >