[Bug target/115661] [15 Regression] wrong code at -O{2,3} on x86_64-linux-gnu since r15-1599-g63512c72df09b4

2024-06-27 Thread Evgeny.Karpov at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115661 --- Comment #8 from Evgeny Karpov --- Thank you for reporting the issues and discussing the root causes. It helped in preparing the patch. The patch is under review. https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655807.html

[Bug bootstrap/115635] [15 regression] Bootstrap fails with failed self-test with the rust fe (diagnostic-path.cc:1153: test_empty_path: FAIL: ASSERT_FALSE ((path.interprocedural_p ()))) since r15-159

2024-06-27 Thread Evgeny.Karpov at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115635 --- Comment #11 from Evgeny Karpov --- Thank you for reporting the issues and discussing the root causes. It helped in preparing the patch. The patch is under review. https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655807.html

[Bug target/115643] [15 regression] aarch64-w64-mingw32 support today breaks x86_64-w64-mingw32 build cannot represent relocation type BFD_RELOC_64 since r15-1602-ged20feebd9ea31

2024-06-27 Thread Evgeny.Karpov at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115643 --- Comment #12 from Evgeny Karpov --- Thank you for reporting the issues and discussing the root causes. It helped in preparing the patch. The patch is under review. https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655807.html

[Bug c++/79424] dtor synthesized before abstractness correctly determined

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

[Bug rtl-optimization/90343] ICE: in verify_dominators, at dominance.c:1184 (error: dominator of 7 status unknown)

2024-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90343 --- Comment #3 from Andrew Pinski --- Note changing the definition of initializer_list to: ``` template class initializer_list { public: const int *i2 () { return uk; } const int *w2 () { return uk + in; } private: const E *uk; unsigned

[Bug target/107432] __builtin_convertvector generates inefficient code

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107432 --- Comment #10 from GCC Commits --- The master branch has been updated by Hu : https://gcc.gnu.org/g:c320a7efcd35ba6c6be70dc9b2fe562a9673e363 commit r15-1677-gc320a7efcd35ba6c6be70dc9b2fe562a9673e363 Author: Hu, Lin1 Date: Thu Feb 1 15:15:

[Bug target/107432] __builtin_convertvector generates inefficient code

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107432 --- Comment #12 from GCC Commits --- The master branch has been updated by Hu : https://gcc.gnu.org/g:4385dc97b0d28e54541eb2418d6e68fc672441d7 commit r15-1679-g4385dc97b0d28e54541eb2418d6e68fc672441d7 Author: Hu, Lin1 Date: Wed Mar 6 19:58:

[Bug target/107432] __builtin_convertvector generates inefficient code

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107432 --- Comment #10 from GCC Commits --- The master branch has been updated by Hu : https://gcc.gnu.org/g:c320a7efcd35ba6c6be70dc9b2fe562a9673e363 commit r15-1677-gc320a7efcd35ba6c6be70dc9b2fe562a9673e363 Author: Hu, Lin1 Date: Thu Feb 1 15:15:

[Bug tree-optimization/115669] [15 Regression] rv64gcv/aarch64+sve -fwrapv miscompile since r15-1006-gd93353e6423

2024-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115669 --- Comment #5 from Richard Biener --- I think we use a wrong ELSE value: vect_b.19_54 = VIEW_CONVERT_EXPR(vect_b_lsm.18_53); vect__15.20_56 = .COND_ADD (loop_mask_55, { -1, ... }, vect_b.19_54, { -1, ... }); ^^^ vect__8.21_57 = .COND_SUB

[Bug middle-end/115675] New: truncv4hiv4qi affect r14-1402-gd8545fb2c71683's optimization.

2024-06-27 Thread lin1.hu at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115675 Bug ID: 115675 Summary: truncv4hiv4qi affect r14-1402-gd8545fb2c71683's optimization. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/115669] [15 Regression] rv64gcv/aarch64+sve -fwrapv miscompile since r15-1006-gd93353e6423

2024-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115669 --- Comment #6 from Richard Biener --- OK, so the issue is the SLP child order is different than the scalar stmt operand order and inconsistent with what we have recorded in reduc_idx. Likely because we do t.c:6:23: note: pre-sorted chains of

[Bug libstdc++/103191] vector doesn't have any checks enabled by _GLIBCXX_ASSERTIONS

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103191 --- Comment #1 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8fd84bc009b3073666a24047c78a04c19eeab752 commit r15-1689-g8fd84bc009b3073666a24047c78a04c19eeab752 Author: Jonathan Wakely Date:

[Bug libstdc++/111250] __glibcxx_requires_subscript assertions are not checked during constant evaluation

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111250 --- Comment #3 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cfc9fa3bdddc1af59b7854937b99516067fd8c63 commit r15-1688-gcfc9fa3bdddc1af59b7854937b99516067fd8c63 Author: Jonathan Wakely Date:

[Bug libstdc++/115668] Cannot format chrono::duration

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115668 --- Comment #2 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:dafa750c8a6f0a088677871bfaad054881737ab1 commit r15-1690-gdafa750c8a6f0a088677871bfaad054881737ab1 Author: Jonathan Wakely Date:

[Bug tree-optimization/115659] powerpc fallout from removing vcond{,u,eq} patterns

2024-06-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115659 --- Comment #7 from Kewen Lin --- > > > (simplify > > > (vec_cond @0 @1 integer_all_ones_p) > > > (bit_ior (view_convert @0) @1)) > > > ``` > > > > Missing negate for the vector one? > > No because vector true is already -1 :). I could be w

[Bug libstdc++/111250] __glibcxx_requires_subscript assertions are not checked during constant evaluation

2024-06-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111250 --- Comment #4 from Jonathan Wakely --- Fixed on trunk. I think this would be good to backport so that we diagnose more errors during constant evaluation.

[Bug libstdc++/103191] vector doesn't have any checks enabled by _GLIBCXX_ASSERTIONS

2024-06-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103191 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/115676] New: gcc allows invalid calling to implicitly-deleted default constructor of a template derived class in template function

2024-06-27 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115676 Bug ID: 115676 Summary: gcc allows invalid calling to implicitly-deleted default constructor of a template derived class in template function Product: gcc Versio

[Bug rtl-optimization/115677] New: ICE when building argon2 with -flate-combine-instructions on amd64

2024-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
LTO compression algorithms: zlib zstd gcc version 15.0.0 20240627 (experimental) b55798c0fc5cb02512b58502961d8425fb60588f (Gentoo 15.0. p, commit 7760ff0bf2fd5fa05385fc11158cb7efd7a05cc5) ```

[Bug rtl-optimization/115677] ICE when building argon2 with -flate-combine-instructions on amd64

2024-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115677 --- Comment #1 from Sam James --- Created attachment 58529 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58529&action=edit core.i.xz

[Bug rtl-optimization/115677] ICE when building argon2 with -flate-combine-instructions on amd64

2024-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115677 --- Comment #2 from Sam James --- ``` ==240== Command: /usr/libexec/gcc/x86_64-pc-linux-gnu/15/cc1 -fpreprocessed core.i -quiet -dumpbase core.i -dumpbase-ext .i -mtune=generic -march=x86-64 -flate-combine-instructions -o /tmp/ccLQtrdV.s ==2

[Bug target/115678] New: MIPS: Condition trap can optimize

2024-06-27 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115678 Bug ID: 115678 Summary: MIPS: Condition trap can optimize Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug rtl-optimization/115677] ICE when building argon2 with -flate-combine-instructions on amd64

2024-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115677 --- Comment #3 from Sam James --- Reduced: ``` void initialize() {} ```

[Bug rtl-optimization/115677] ICE when building argon2 with -flate-combine-instructions on amd64

2024-06-27 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115677 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug tree-optimization/115659] powerpc fallout from removing vcond{,u,eq} patterns

2024-06-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115659 --- Comment #8 from Kewen Lin --- Inspired by Andrew's comments, it looks we can have: c = x CMP y r = c ? 0 : z => r = ~c & z (1) r = c ? z : 0 => r = c & z (2) r = c ? -1 : z => r = c | z (3) r

[Bug c++/115664] -Wnonnull-compare breaks templated methods

2024-06-27 Thread ossman at cendio dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115664 --- Comment #6 from Pierre Ossman --- Is there a cleaner way to can work around this than duplicating the affected methods? I tried adding a #pragma, but that breaks older versions of gcc that don't have -Wnonnull-compare.

[Bug libstdc++/115454] std::experimental::find_last_set is buggy on x86-64-v4

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115454 --- Comment #8 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:95faa1bea7bdc7f92fcccb3543bfcbc8184c5e5b commit r15-1692-g95faa1bea7bdc7f92fcccb3543bfcbc8184c5e5b Author: Alexandre Oliva Date:

[Bug tree-optimization/115659] powerpc fallout from removing vcond{,u,eq} patterns

2024-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115659 --- Comment #9 from Richard Biener --- I think the inversion code wants to check invert_tree_comparison and see if the inverted compare is supported and only if not fall back to inverting the comparison result (there is of course the multi-use c

[Bug ada/115666] Cloaking access to subprogram in a record allows storing anonymous access-to-subprogram value

2024-06-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115666 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/115679] New: inlining failed in call to 'foo': function not considered for inlining

2024-06-27 Thread Changqing.Li at windriver dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115679 Bug ID: 115679 Summary: inlining failed in call to 'foo': function not considered for inlining Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: norma

[Bug ada/115666] Cloaking access to subprogram in a record allows storing anonymous access-to-subprogram value

2024-06-27 Thread saulius.grazulis at bti dot vu.lt via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115666 --- Comment #3 from Saulius Gražulis --- Hi, Eric, thank you for updating the bug #115666 status! I am bit puzzled by your comment "nobody should write this sort of things". Could you please let me know in somewhat more detail what was wrong

[Bug c++/115664] -Wnonnull-compare breaks templated methods

2024-06-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115664 --- Comment #7 from Jonathan Wakely --- if constexpr (not is_same_v) if (dynamic_cast(this) == nullptr) throw Exception("Bad callback");

[Bug c/115680] New: ICE in on_ranges, at analyzer/constraint-manager.cc:3166

2024-06-27 Thread gcc.hall at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115680 Bug ID: 115680 Summary: ICE in on_ranges, at analyzer/constraint-manager.cc:3166 Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Pr

[Bug ada/115630] Bounded queue does not finalize controlled components

2024-06-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115630 Eric Botcazou changed: What|Removed |Added Last reconfirmed||2024-06-27 Ever confirmed|0

[Bug c/115680] ICE in on_ranges, at analyzer/constraint-manager.cc:3166

2024-06-27 Thread gcc.hall at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115680 --- Comment #1 from Jeremy --- Created attachment 58531 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58531&action=edit .i file from save-temps containing pre-processed source

[Bug ada/115666] Cloaking access to subprogram in a record allows storing anonymous access-to-subprogram value

2024-06-27 Thread saulius.grazulis at bti dot vu.lt via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115666 --- Comment #4 from Saulius Gražulis --- Hi, Eric, thank you for updating the bug #115666 status! I am bit puzzled by your comment "nobody should write this sort of things". Could you please let me know in somewhat more detail what was wrong

[Bug c/115680] ICE in on_ranges, at analyzer/constraint-manager.cc:3166

2024-06-27 Thread gcc.hall at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115680 --- Comment #2 from Jeremy --- gcc -std=gnu23 g.c -DEDITOR=0 -O3 -Wall -Wextra -Wconversion -Wunused -Wuninitialized -Wcast-qual -Wcast-align -Werror -march=native -mcpu=native -mtune=native -pipe -funsigned-char -fwrapv -ffinite-math-only -mcmo

[Bug c++/115664] -Wnonnull-compare breaks templated methods

2024-06-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115664 --- Comment #8 from Jonathan Wakely --- Even if you can't use C++17, it still works like this: if (not std::is_same::value) if (dynamic_cast(this) == nullptr)

[Bug ada/115666] Cloaking access to subprogram in a record allows storing anonymous access-to-subprogram value

2024-06-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115666 --- Comment #5 from Eric Botcazou --- I probably should have said "but nobody should write this sort of code."

[Bug libstdc++/104395] ext/bitmap_allocator.h is not C++98 friendly when using with -faligned-new

2024-06-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104395 Jonathan Wakely changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug c/115680] ICE in on_ranges, at analyzer/constraint-manager.cc:3166

2024-06-27 Thread gcc.hall at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115680 --- Comment #3 from Jeremy --- $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/aarch64-unknown-linux-gnu/14.1.0/lto-wrapper Target: aarch64-unknown-linux-gnu Configured with: ../configure --with-cpu=cort

[Bug analyzer/115680] ICE in on_ranges, at analyzer/constraint-manager.cc:3166

2024-06-27 Thread gcc.hall at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115680 Jeremy changed: What|Removed |Added Attachment #58530|a-g.i |a-g.s filename|

[Bug libstdc++/37475] codecvt::do_in/do_out functions return "ok" when the output sequence has zero length

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37475 --- Comment #16 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:73ad57c244c283bf6da0c16630212f11b945eda5 commit r15-1693-g73ad57c244c283bf6da0c16630212f11b945eda5 Author: Jonathan Wakely Date:

[Bug analyzer/115680] ICE in on_ranges, at analyzer/constraint-manager.cc:3166

2024-06-27 Thread gcc.hall at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115680 Jeremy changed: What|Removed |Added Attachment #58530|0 |1 is obsolete|

[Bug libstdc++/37475] codecvt::do_in/do_out functions return "ok" when the output sequence has zero length

2024-06-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37475 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug ada/115666] Cloaking access to subprogram in a record allows storing anonymous access-to-subprogram value

2024-06-27 Thread saulius.grazulis at bti dot vu.lt via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115666 --- Comment #6 from Saulius Gražulis --- On 2024-06-27 13:58, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115666 > > --- Comment #5 from Eric Botcazou --- > I probably should have said "but nobody should

[Bug libstdc++/115454] std::experimental::find_last_set is buggy on x86-64-v4

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115454 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:b70af0bd2e33e9cc20dae45c131429a402fc8845 commit r14-10352-gb70af0bd2e33e9cc20dae45c131429a402fc8845 Author: Alexandre Ol

[Bug ada/115630] Bounded queue does not finalize controlled components

2024-06-27 Thread saulius.grazulis at bti dot vu.lt via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115630 --- Comment #2 from Saulius Gražulis --- OK, I can confirm that GNAT 15.0 from the git://gcc.gnu.org/git/gcc.git master no longer gas the bug, the finalization behaves as expected: saulius@pterodaktilis queue-finlisation/ $ PATH=$HOME/install/g

[Bug ada/115630] Bounded queue does not finalize controlled components

2024-06-27 Thread saulius.grazulis at bti dot vu.lt via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115630 --- Comment #3 from Saulius Gražulis --- PS All other queues also behave as expected when compiled with GNAT 15.0.

[Bug ada/115630] Bounded queue does not finalize controlled components

2024-06-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115630 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug libstdc++/115454] std::experimental::find_last_set is buggy on x86-64-v4

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115454 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:3de1c4985bebd1882b6643789daba24f2d11bafe commit r13-8872-g3de1c4985bebd1882b6643789daba24f2d11bafe Author: Alexandre Ol

[Bug libstdc++/115454] std::experimental::find_last_set is buggy on x86-64-v4

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115454 --- Comment #11 from GCC Commits --- The releases/gcc-12 branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:95ca5f458251e21123e45ec52c38d629d39cd0e4 commit r12-10585-g95ca5f458251e21123e45ec52c38d629d39cd0e4 Author: Alexandre O

[Bug ipa/114531] Feature proposal for an `-finline-functions-aggressive` compiler option

2024-06-27 Thread rvmallad at amazon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114531 --- Comment #19 from Rama Malladi --- Thank you Hubicka@ for the inputs. I see your intent and that we have to revisit the inline parameter tuning. As I and Richard S mentioned, the intent of this feature request or PR is to expose such an optio

[Bug tree-optimization/115669] [15 Regression] rv64gcv/aarch64+sve -fwrapv miscompile since r15-1006-gd93353e6423

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115669 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7886830bb45c4f5dca0496d4deae9a45204d78f5 commit r15-1694-g7886830bb45c4f5dca0496d4deae9a45204d78f5 Author: Richard Biener Date:

[Bug tree-optimization/115669] [15 Regression] rv64gcv/aarch64+sve -fwrapv miscompile since r15-1006-gd93353e6423

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

[Bug libstdc++/115444] std::copy_n generates more code than needed

2024-06-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115444 --- Comment #3 from Jonathan Wakely --- (In reply to Arthur O'Dwyer from comment #0) > But if you compile with `-std=c++20 -ULESS`, you get more verbose codegen: > first a call to `It::operator+(int)`, then a call to `It::operator-(It)`, > and t

[Bug libffi/115681] New: libffi.closures/single_entry_structs2.c FAILs on 32-bit SPARC

2024-06-27 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115681 Bug ID: 115681 Summary: libffi.closures/single_entry_structs2.c FAILs on 32-bit SPARC Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug libffi/115681] libffi.closures/single_entry_structs2.c FAILs on 32-bit SPARC

2024-06-27 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115681 Rainer Orth changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/115669] [12/13/14 Regression] rv64gcv/aarch64+sve -fwrapv miscompile since r15-1006-gd93353e6423

2024-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115669 Richard Biener changed: What|Removed |Added Known to work||15.0 Status|RESOLVED

[Bug middle-end/115675] [15 Regression] truncv4hiv4qi affect r14-1402-gd8545fb2c71683's optimization.

2024-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115675 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Version

[Bug rtl-optimization/115677] ICE when building argon2 with -flate-combine-instructions on amd64

2024-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115677 Richard Biener changed: What|Removed |Added Version|unknown |15.0 --- Comment #5 from Richard Biene

[Bug libstdc++/115444] std::copy_n generates more code than needed

2024-06-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115444 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > We could just use while (__first != __last) instead, but that would remove a > very intentional "optimization" that's explicitly mentioned in a comment: > >

[Bug tree-optimization/115679] inlining failed in call to 'foo': function not considered for inlining

2024-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115679 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug fortran/99308] [OOP] passing array of object as class(TYPE) to procedure leads to incorrect length of array

2024-06-27 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99308 Andre Vehreschild changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |vehre at gcc dot gnu.org

[Bug target/115682] New: nvptx vs. "fwprop: invoke change_is_worthwhile to judge if a replacement is worthwhile"

2024-06-27 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115682 Bug ID: 115682 Summary: nvptx vs. "fwprop: invoke change_is_worthwhile to judge if a replacement is worthwhile" Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug libstdc++/115444] std::copy_n generates more code than needed

2024-06-27 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115444 --- Comment #5 from Arthur O'Dwyer --- > Yes, so that std::copy_n benefits from the same memmove optimization as > std::copy. Right, I'm not objecting to the memmove optimization, just to the current codebase's approach of "slightly pessimize

[Bug c++/99710] coroutines: co_yield and co_await should only be allowed in suspension context

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99710 --- Comment #4 from GCC Commits --- The releases/gcc-11 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:57482cadeb12af2dd52b381b0766776d1e8ec59b commit r11-11541-g57482cadeb12af2dd52b381b0766776d1e8ec59b Author: Iain Sandoe Da

[Bug c++/100772] Templated coroutine new function's arguments have incorrect value categories/overload selection

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100772 --- Comment #4 from GCC Commits --- The releases/gcc-11 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:f647906ef227bc22af224d955a408d776cfddb04 commit r11-11542-gf647906ef227bc22af224d955a408d776cfddb04 Author: Iain Sandoe D

[Bug c++/101765] ICE when using a VLA inside of a coroutine

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101765 --- Comment #7 from GCC Commits --- The releases/gcc-11 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:1d5779274ce9807358f9e04f1112b65c6ed6c284 commit r11-11543-g1d5779274ce9807358f9e04f1112b65c6ed6c284 Author: Iain Sandoe D

[Bug c++/104051] [coroutines] ICE: tree check: expected target_expr, have call_expr in coro_diagnose_throwing_final_aw_expr, at cp/coroutines.cc:880 since r11-7528-g9ee91079fd5879cb

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104051 --- Comment #4 from GCC Commits --- The releases/gcc-11 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:f4cdbf1f757fa9525d70780546d7daa43dfb129f commit r11-11544-gf4cdbf1f757fa9525d70780546d7daa43dfb129f Author: Iain Sandoe D

[Bug c++/99710] coroutines: co_yield and co_await should only be allowed in suspension context

2024-06-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99710 Iain Sandoe changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/100772] Templated coroutine new function's arguments have incorrect value categories/overload selection

2024-06-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100772 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/101765] ICE when using a VLA inside of a coroutine

2024-06-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101765 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/16994] [meta-bug] VLA and C++

2024-06-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 101765, which changed state. Bug 101765 Summary: ICE when using a VLA inside of a coroutine https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101765 What|Removed |Added --

[Bug c++/104051] [coroutines] ICE: tree check: expected target_expr, have call_expr in coro_diagnose_throwing_final_aw_expr, at cp/coroutines.cc:880 since r11-7528-g9ee91079fd5879cb

2024-06-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104051 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/115618] [11/12/13 only] should define __ARM_FEATURE_CRYPTO with +aes+sha2

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115618 --- Comment #4 from GCC Commits --- The releases/gcc-13 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:c93a9bba743ac236f6045ba7aafbc12a83726c48 commit r13-8873-gc93a9bba743ac236f6045ba7aafbc12a83726c48 Author: Andrew Carlott

[Bug target/115683] New: SSE2 regressions after obselete of vcond{,u,eq}.

2024-06-27 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115683 Bug ID: 115683 Summary: SSE2 regressions after obselete of vcond{,u,eq}. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/115675] [15 Regression] truncv4hiv4qi affect r14-1402-gd8545fb2c71683's optimization.

2024-06-27 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115675 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug libstdc++/104259] libstdc++ fails for epiphany-elf

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104259 --- Comment #6 from GCC Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6e33ffd543257a1a599b51201e9db95b070dbf84 commit r11-11545-g6e33ffd543257a1a599b51201e9db95b070dbf84 Author: Martin Liska

[Bug libstdc++/104259] libstdc++ fails for epiphany-elf

2024-06-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104259 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.5

[Bug tree-optimization/108860] [12/13/14/15 regression] New (since gcc 12) false positive null-dereference in vector.resize

2024-06-27 Thread adl at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108860 Alexandre Duret-Lutz changed: What|Removed |Added CC||adl at gnu dot org --- Comment #

[Bug analyzer/115680] ICE in on_ranges, at analyzer/constraint-manager.cc:3166

2024-06-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115680 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/115679] inlining failed in call to 'foo': function not considered for inlining

2024-06-27 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115679 --- Comment #2 from Jan Hubicka --- > With -Og it's usually that the always-inline function is called indirectly - > that's an unsupported case. We can probably add CIF code for functions that were called indirectly but are no more, so this is r

[Bug middle-end/115345] [12/13/14/15 Regression] Different outputs compared to GCC 11- and MSVC/Clang

2024-06-27 Thread djordje.baljozovic at ac dot rwth-aachen.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115345 Djordje Baljozovic changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/115634] [15 regression] s390 bootstrap failure since r15-1579-g792f97b44ffc5e

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115634 --- Comment #6 from GCC Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:187eeb99ec5289538923668de9d61a3138376817 commit r15-1695-g187eeb99ec5289538923668de9d61a3138376817 Author: Stefan Sch

[Bug rtl-optimization/115677] ICE when building argon2 with -flate-combine-instructions on amd64

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115677 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:f6081ee665fd5e4e7d37e02c69d16df0d3eead10 commit r15-1696-gf6081ee665fd5e4e7d37e02c69d16df0d3eead10 Author: Richard Sandiford Da

[Bug rtl-optimization/115677] ICE when building argon2 with -flate-combine-instructions on amd64

2024-06-27 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115677 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/115457] AArch64 should define __ARM_FEATURE_BF16

2024-06-27 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115457 ktkachov at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot

[Bug target/115475] AArch64 should define __ARM_FEATURE_SVE_BF16 when appropriate

2024-06-27 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115475 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assigne

[Bug c++/115364] [11/12/13/14/15 Regression] ICE-on-invalid when calling non-const template member on const object

2024-06-27 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115364 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c/115684] New: No warning for pointer and enum field comparison

2024-06-27 Thread Hi-Angel at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115684 Bug ID: 115684 Summary: No warning for pointer and enum field comparison Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug fortran/115685] New: [OpenMP][5.1][OpenACC] Permit named constants ("PARAMETER") in firstprivate, shared and copyin clauses

2024-06-27 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115685 Bug ID: 115685 Summary: [OpenMP][5.1][OpenACC] Permit named constants ("PARAMETER") in firstprivate, shared and copyin clauses Product: gcc Version: 15.0

[Bug c/115684] No warning for pointer and enum field comparison

2024-06-27 Thread Hi-Angel at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115684 --- Comment #1 from Konstantin Kharlamov --- FWIW, IRL these cases happen during refactoring, when you factor out a code to a smaller function, and some variables from the original function become pointers. I honestly never even check the parame

[Bug c/115684] No warning for pointer and enum field comparison

2024-06-27 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115684 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Commen

[Bug libstdc++/115444] std::copy_n generates more code than needed

2024-06-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115444 --- Comment #6 from Jonathan Wakely --- If the compile wants to vectorize the loop, knowing there are N iterations helps. Using first != last as the condition isn't necessarily just a pointer comparison for arbitrary random access iterators, so

[Bug tree-optimization/110498] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector::reserve

2024-06-27 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110498 Rogério de Souza Moraes changed: What|Removed |Added Version|13.1.0 |12.4.0 --- Comment #4 from Ro

[Bug c++/115686] New: gcc cannot generate weak link function for thread_local variable `TLS init function`

2024-06-27 Thread MacroModel at trajectronix dot onmicrosoft.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115686 Bug ID: 115686 Summary: gcc cannot generate weak link function for thread_local variable `TLS init function` Product: gcc Version: 15.0 Status: UNCONFIRMED Sev

[Bug target/103100] [11/12/13 Regression] unaligned access generated with memset or {} and -O2 -mstrict-align

2024-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103100 --- Comment #27 from GCC Commits --- The releases/gcc-13 branch has been updated by Wilco Dijkstra : https://gcc.gnu.org/g:5aa9ed0f353f835005c3df8932c7bc6e26f53904 commit r13-8874-g5aa9ed0f353f835005c3df8932c7bc6e26f53904 Author: Wilco Dijkstr

[Bug c++/115670] auto placeholder for return type should change the linkage of the function if the type becomes local linkage too

2024-06-27 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115670 --- Comment #3 from Federico Kircheis --- I've collected the example mentioned here and in my original report https://godbolt.org/z/o4893zhPs struct { int i = 42; } const a; auto foo0(){ return a; } int foo1(decltype(a)&){

[Bug c++/115670] auto placeholder for return type should change the linkage of the function if the type becomes local linkage too

2024-06-27 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115670 --- Comment #4 from Federico Kircheis --- Sorry, I've posted the wrong link in the previous reply, this is the correct one https://godbolt.org/z/nhrM46ajs Also struct s2{ s i; //s is in anonymous namespace }; s2 foo6(){ return

  1   2   >