[Bug tree-optimization/115925] [14/15 regression] wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115925 --- Comment #1 from Andrew Pinski --- /* x | C -> C if we know that x & ~C == 0. */ (simplify (bit_ior SSA_NAME@0 INTEGER_CST@1) (if (INTEGRAL_TYPE_P (TREE_TYPE (@0)) && wi::bit_and_not (get_nonzero_bits (@0), wi::to_wide (@1)) == 0)

[Bug tree-optimization/115494] [14/15 Regression] wrong code at -O{2,3} on x86_64-linux-gnu since r14-3485

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115494 --- Comment #9 from Andrew Pinski --- *** Bug 115925 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/115925] [14/15 regression] wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu

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

[Bug tree-optimization/115872] [12/13/14/15 regression] ICE in fab pass (error: missing definition with -g & -O3)

2024-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115872 --- Comment #7 from GCC Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:f27bf48e0204524ead795fe618cd8b1224f72fd4 commit r15-2038-gf27bf48e0204524ead795fe618cd8b1224f72fd4 Author: liuhongt Date: Fri Jul

[Bug fortran/99798] ICE when compiling a variant of pr87907

2024-07-15 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99798 Mikael Morin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/115494] [14/15 Regression] wrong code at -O{2,3} on x86_64-linux-gnu since r14-3485

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115494 --- Comment #10 from Andrew Pinski --- Created attachment 58663 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58663&action=edit Reduced testcase based on suggestion Reduced testcase based on comment #8. Notes on it, you need a and b be d

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #12 from Richard Biener --- (In reply to Li Pan from comment #8) > (In reply to Richard Biener from comment #7) > > (In reply to Uroš Bizjak from comment #6) > > > Please note that w/o .SAT_TRUNC the compiler is able to optimize hot

[Bug sanitizer/81598] -fsanitize=enum does not detect range violation

2024-07-15 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81598 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug tree-optimization/115843] [14/15 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 Richard Biener changed: What|Removed |Added Summary|531.deepsjeng_r fails to|[14/15 Regression] |

[Bug rtl-optimization/115049] [14/15 Regression] Silent severe miscompilation around inline functions

2024-07-15 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #13 from LIU Hao --- (In reply to LIU Hao from comment #12) > Created attachment 58662 [details] > test patch This fixes the issue for me on x86_64-w64-mingw32. Note this is actually not target-specific; all targets that implement

[Bug tree-optimization/115933] New: wrong code at -O1 with "-fno-tree-loop-optimize -ftree-vrp -fno-tree-ch -fgcse" on x86_64-linux-gnu

2024-07-15 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
trunk/configure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240715 (experimental) (GCC)

[Bug tree-optimization/115766] [12/13/14 Regression] wrong code at optimization levels -O2, -O3

2024-07-15 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115766 --- Comment #3 from Bi6c --- Created attachment 58664 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58664&action=edit reduced testcase I reduced the testcase and removed the csmith dependency.

[Bug tree-optimization/115766] [12/13/14 Regression] wrong code at optimization levels -O2, -O3

2024-07-15 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115766 --- Comment #4 from Bi6c --- Created attachment 58665 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58665&action=edit preprocessed file w/o csmith.h dependency Preprocessed file w/o csmith.h dependency

[Bug tree-optimization/115766] [12/13/14 Regression] wrong code at optimization levels -O2, -O3

2024-07-15 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115766 --- Comment #5 from Bi6c --- The discrepancy also appeared when compiling with optimization level -Os

[Bug middle-end/115913] [11/12/13/14/15 Regression] ICE with pragma GCC pop_options with diagnostic

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115913 Richard Biener changed: What|Removed |Added Target Milestone|15.0|11.5

[Bug middle-end/115916] [15 Regression] wrong code on highway-1.2.0 since r15-2011-ga6f551d079de1d

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115916 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug ada/115918] [15 regression] Bootstrap failure in GNAT with --with-build-config=bootstrap-lto --enable-languages=c,ada,c++,lto

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115918 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug rtl-optimization/115933] [15 Regression] wrong code at -O1 with "-fno-tree-loop-optimize -ftree-vrp -fno-tree-ch -fgcse" on x86_64-linux-gnu

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

[Bug rtl-optimization/115928] [15 regression] ICE on valid code at -O2 with "-fgcse-sm" on x86_64-linux-gnu: in merge_clobber_groups, at rtl-ssa/accesses.cc:757

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115928 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Version|unknown

[Bug rtl-optimization/115932] [15 Regression] performance regression after r15-1619-g3b9b8d6cfdf593

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115932 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Keywords|

[Bug rtl-optimization/115928] [15 regression] ICE on valid code at -O2 with "-fgcse-sm" on x86_64-linux-gnu: in merge_clobber_groups, at rtl-ssa/accesses.cc:757

2024-07-15 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115928 Richard Sandiford changed: What|Removed |Added Last reconfirmed||2024-07-15 Status|UNCON

[Bug tree-optimization/115843] [14/15 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/115843] [14/15 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 --- Comment #4 from Richard Biener --- The loops are for (i = 0; i < 64; i++) { KnightMoves[i] = 0; if (Rank(i) > 0) { if (Rank(i) > 1) { if (File(i) > 0) KnightMoves[i] |= Mask[i-17];

[Bug tree-optimization/115843] [14/15 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #5 from Richard Biener

[Bug c++/101992] new object was created erroneously when co_await on function call that return lvalue reference

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101992 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org

[Bug c++/105406] [11 Regression] coroutines: since 11.3 co_await attempts to copy a move-only value when await_transform(T &) exists

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105406 Arsen Arsenović changed: What|Removed |Added CC||lbqq at gmail dot com --- Comment

[Bug c++/105989] Coroutine frame space for temporaries in a co_await expression is not reused

2024-07-15 Thread michal.jankovic59 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105989 --- Comment #7 from Michal Jankovič --- (In reply to Arsen Arsenović from comment #6) > hi, thanks for the patch. could you propose it on the ML? patches seldom > get noticed here on BZ (see also https://gcc.gnu.org/contribute.html ) Hi, I ha

[Bug ipa/110057] Missed devirtualization opportunities

2024-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #17 from Jonathan Wakely --- (In reply to user202729 from comment #16) > That sound like a good idea, thanks. I thought about this some time earlier > (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115413#c3) but I did not know > how

[Bug c++/115923] different diagnostic if using qualified name vs not for missing template arguments

2024-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115923 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2024-07-15 Status|UNCONFI

[Bug c++/115915] gcc fails to detect invalid friend declaration of classes in different namespaces

2024-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115915 --- Comment #3 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #1) > The question is does that friend is naming `::extent` or is naming > `std_1::extent` using the `using namespace` statement. I suspect GCC and EDG > think it is

[Bug sanitizer/81598] -fsanitize=enum does not detect range violation

2024-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81598 --- Comment #11 from Jonathan Wakely --- (In reply to Julien Blanc from comment #9) > But i’d expect both checkers to detect such misuse. No, Nathaniel is correct that there is no UB here, so nothing for the sanitizer to complain about. The docu

[Bug c++/102707] template coroutine generated code failed

2024-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102707 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Known to fail|

[Bug target/115934] New: [15 Regression] nvptx vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932]

2024-07-15 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115934 Bug ID: 115934 Summary: [15 Regression] nvptx vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932] Product: gcc Version:

[Bug fortran/115935] New: Extend lowering memset for array when it's a component reference

2024-07-15 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115935 Bug ID: 115935 Summary: Extend lowering memset for array when it's a component reference Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/115934] [15 Regression] nvptx vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932]

2024-07-15 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115934 --- Comment #1 from Tamar Christina --- Hi, thanks for the report, could you tell me a target triple I can use for nvptx?

[Bug ipa/110057] Missed devirtualization opportunities

2024-07-15 Thread user202729 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #18 from user202729 --- (In reply to Jonathan Wakely from comment #17) > I don't think that optimization would be valid. Users could do disgusting > things like this (as long as sizeof(Base) == sizeof(Derived)): > > std::vector v(1)

[Bug target/115934] [15 Regression] nvptx vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932]

2024-07-15 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115934 --- Comment #2 from Thomas Schwinge --- The most simple one: '--target=nvptx-none'. :-)

[Bug target/115936] New: [15 Regression] GCN vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932]

2024-07-15 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115936 Bug ID: 115936 Summary: [15 Regression] GCN vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932] Product: gcc Version: 15

[Bug ipa/110057] Missed devirtualization opportunities

2024-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #19 from Jonathan Wakely --- (In reply to user202729 from comment #18) > (In reply to Jonathan Wakely from comment #17) > The clause seems to apply just as well, you cannot access the newly > constructed `Derived` object through `p`.

[Bug c++/105989] Coroutine frame space for temporaries in a co_await expression is not reused

2024-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105989 Jonathan Wakely changed: What|Removed |Added Keywords||patch URL|

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-15 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #13 from Li Pan --- Thanks Richard and Bizjak. Got the point here, and let me have a try for the improvement.

[Bug c/115937] New: duplicate .plt in module's elf header

2024-07-15 Thread ellery1016 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 Bug ID: 115937 Summary: duplicate .plt in module's elf header Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2024-07-15 Thread Mayshao-oc at zhaoxin dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #37 from Mayshao-oc at zhaoxin dot com --- vmovdqu is also atomic in Zhaoxin processors if it meets three requirements: 1. the address of its memory operand must be 16-byte aligned 2. vmovdqu is vex.128 not vex.256 3. the memory type

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2024-07-15 Thread Mayshao-oc at zhaoxin dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #38 from Mayshao-oc at zhaoxin dot com --- vmovdqu is also atomic in Zhaoxin processors if it meets three requirements: 1. the address of its memory operand must be 16-byte aligned 2. vmovdqu is vex.128 not vex.256 3. the memory type

[Bug c++/110635] Segmentation fault when the awaiter's await_resume in initial-suspend returns a class type.

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110635 Arsen Arsenović changed: What|Removed |Added Last reconfirmed||2024-07-15 Ever confirmed|0

[Bug target/115934] [15 Regression] nvptx vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932]

2024-07-15 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115934 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org

[Bug target/115936] [15 Regression] GCN vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932]

2024-07-15 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115936 Tamar Christina changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug rtl-optimization/115929] [15 regression] ICE on valid code at -O{2,3} with "-fschedule-insns" on x86_64-linux-gnu: Segmentation fault

2024-07-15 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115929 Richard Sandiford changed: What|Removed |Added Last reconfirmed||2024-07-15 Status|UNCON

[Bug c++/115938] New: gcc allows inheriting base class with private destructor during virtual inheritance

2024-07-15 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115938 Bug ID: 115938 Summary: gcc allows inheriting base class with private destructor during virtual inheritance Product: gcc Version: 13.2.0 Status: UNCONFIRMED Ke

[Bug tree-optimization/115843] [14/15 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 --- Comment #6 from Richard Biener --- t.c:9:17: note: misalignment for fully-masked loop: 15 so in the first iteration only the last element should be active. But # loop_mask_58 = PHI <_100(10), { 0, 0, 0, 0, 0, 0, 0, 0 }(2)> # loop_mas

[Bug c++/105989] Coroutine frame space for temporaries in a co_await expression is not reused

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105989 --- Comment #9 from Arsen Arsenović --- a ping might suffice then (Iain also wants to see this optimization, it'd seem)

[Bug target/115526] [14/15 regression] invalid assember emitted for alpha, "Error: duplicate !tlsgd!62" since r14-5109-ga291237b628f41

2024-07-15 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 --- Comment #15 from Maciej W. Rozycki --- (In reply to Uroš Bizjak from comment #13) > CC Maciej if he can test the patch on his Alpha system. It takes about a day to complete and I had to rerun the libstdc++3 subdirectory due to an intermitte

[Bug testsuite/115826] vect-tsvc-s1281.c fails on arm-*-* due to -ffast-math being required for vectorization tests

2024-07-15 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115826 --- Comment #2 from Torbjorn SVENSSON --- Adding /* { dg-add-options ieee } */ to gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s1281.c did not change any of the flags that gcc was invoked with. I experimented a bit more and found that adding -fno-f

[Bug target/115936] [15 Regression] GCN vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932]

2024-07-15 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115936 Tamar Christina changed: What|Removed |Added Target Milestone|--- |15.0 --- Comment #2 from Tamar Christ

[Bug c++/105989] Coroutine frame space for temporaries in a co_await expression is not reused

2024-07-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105989 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #10

[Bug c++/104981] [coroutines] Internal compiler error when promise object's constructor takes a base class of the object parameter

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104981 Arsen Arsenović changed: What|Removed |Added CC||ldalessandro at gmail dot com --- Com

[Bug c++/114142] [coroutines]: internal compiler error: tree check: expected record_type or union_type or qual_union_type, have reference_type in lookup_base, at cp/search.cc:252

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114142 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/115526] [14/15 regression] invalid assember emitted for alpha, "Error: duplicate !tlsgd!62" since r14-5109-ga291237b628f41

2024-07-15 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 --- Comment #16 from Uroš Bizjak --- Created attachment 58666 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58666&action=edit Cleaned up testcase Can you please test this slightly cleaned up testcase?

[Bug target/115526] [14/15 regression] invalid assember emitted for alpha, "Error: duplicate !tlsgd!62" since r14-5109-ga291237b628f41

2024-07-15 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 --- Comment #17 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #16) > Can you please test this slightly cleaned up testcase? Just put it in gcc/testsuite/gcc.target/alpha and do: make -k check-gcc RUNTESTFLASG=alpha.exp=pr115526.c

[Bug target/115526] [14/15 regression] invalid assember emitted for alpha, "Error: duplicate !tlsgd!62" since r14-5109-ga291237b628f41

2024-07-15 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 --- Comment #18 from Uroš Bizjak --- > make -k check-gcc RUNTESTFLASG=alpha.exp=pr115526.c s/RUNTESTFLASG/RUNTESTFLAGS/

[Bug libstdc++/115939] New: Cannot unambiguously compare iterators in std::unordered_map with mapped type std::expected>

2024-07-15 Thread halfflat at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115939 Bug ID: 115939 Summary: Cannot unambiguously compare iterators in std::unordered_map with mapped type std::expected> Product: gcc Version: 14.1.1 Sta

[Bug c++/115940] New: ICE: tree check: expected record_type or union_type or qual_union_type, have translation_unit_decl in maybe_dummy_object, at cp/tree.cc:4379

2024-07-15 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115940 Bug ID: 115940 Summary: ICE: tree check: expected record_type or union_type or qual_union_type, have translation_unit_decl in maybe_dummy_object, at cp/tree.cc:4379 Product

[Bug target/115934] [15 Regression] nvptx vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932]

2024-07-15 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115934 --- Comment #4 from Tamar Christina --- This one looks a bit like costing, before the patch IVopts had: : inv_expr 1: -element_7(D) inv_expr 2: (signed int) rite_5(D) - (signed int) element_7(D) and after the patch it generates a few

[Bug tree-optimization/115843] [14/15 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 Richard Biener changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment

[Bug target/115936] [15 Regression] GCN vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932]

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115936 --- Comment #3 from Richard Biener --- iv->step should never be a pointer type

[Bug plugins/112520] gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) with Python 3.12+

2024-07-15 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112520 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org --- Comm

[Bug target/115934] [15 Regression] nvptx vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932]

2024-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115934 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone

[Bug target/115936] [15 Regression] GCN vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932]

2024-07-15 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115936 --- Comment #4 from Tamar Christina --- (In reply to Richard Biener from comment #3) > iv->step should never be a pointer type That's what I initially thought too. My suspicion is that there is some code that tries to create the 0 offset. I'l

[Bug c++/98401] coroutines: Temporaries passed to co_await sometimes cause an extraneous call to destructor at incorrect address

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment #

[Bug target/115934] [15 Regression] nvptx vs. ivopts: replace constant_multiple_of with aff_combination_constant_multiple_p [PR114932]

2024-07-15 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115934 Thomas Schwinge changed: What|Removed |Added CC||sayle at gcc dot gnu.org --- Comment

[Bug c++/109464] gcc does not instantiate constructor for explicitly instantiated template

2024-07-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109464 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug plugins/112520] gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) with Python 3.12+

2024-07-15 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112520 --- Comment #5 from John David Anglin --- Likely caused by a NULL argument passed to strcmp in get_field_by_name.

[Bug target/115526] [14/15 regression] invalid assember emitted for alpha, "Error: duplicate !tlsgd!62" since r14-5109-ga291237b628f41

2024-07-15 Thread dilfridge at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 --- Comment #19 from Andreas K. Huettel --- Sorry for the delay here, the machine I have access to is quite slow. It spent ~2 days building unmodified git master and is now running the testsuite as baseline...

[Bug c++/109464] gcc does not instantiate constructor for explicitly instantiated template

2024-07-15 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109464 LIU Hao changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/104384] coroutines: Heap corruption when initializing struct with co_await

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104384 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 Arsen Arsenović changed: What|Removed |Added CC||brandt.milo2 at gmail dot com --- Com

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 Arsen Arsenović changed: What|Removed |Added CC||max at duempel dot org --- Comment #7

[Bug c++/107288] coroutines: Double-free of temporaries created in statement following co_await

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107288 Arsen Arsenović changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/107239] Coroutine code generation bug

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107239 Arsen Arsenović changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/98401] coroutines: Temporaries passed to co_await sometimes cause an extraneous call to destructor at incorrect address

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 Arsen Arsenović changed: What|Removed |Added CC||dje at gcc dot gnu.org --- Comment #9

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 Arsen Arsenović changed: What|Removed |Added CC||hodges.r at gmail dot com --- Comment

[Bug c++/98401] coroutines: Temporaries passed to co_await sometimes cause an extraneous call to destructor at incorrect address

2024-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401 --- Comment #12 from Jonathan Wakely --- (In reply to Arsen Arsenović from comment #10) > possibly fixed in 13.1 by r13-4479-g58a7b1e354530d ? > > I cannot reproduce with https://gcc.gnu.org/bugzilla/attachment.cgi?id=49811 Indeed. I modified th

[Bug libstdc++/115939] Cannot unambiguously compare iterators in std::unordered_map with mapped type std::expected>

2024-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115939 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2024-07-15 Status|UNCONFI

[Bug libstdc++/115939] Cannot unambiguously compare iterators in std::unordered_map with mapped type std::expected>

2024-07-15 Thread halfflat at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115939 --- Comment #2 from Sam Yates --- Thank you for the prompt assessment! A standards proposal or DR does seem like the more robust solution for the longer term. In the interim, for my application, I am boxing-up the std::any in another struct [1]

[Bug c++/115858] Incompatibility of coroutines and alloca()

2024-07-15 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115858 Arsen Arsenović changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/115939] Cannot unambiguously compare iterators in std::unordered_map with mapped type std::expected>

2024-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115939 --- Comment #3 from Jonathan Wakely --- Created attachment 58668 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58668&action=edit Add operator== overloads for hash table iterators (In reply to Jonathan Wakely from comment #1) > Secondly,

[Bug c++/115858] Incompatibility of coroutines and alloca()

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115858 --- Comment #2 from Andrew Pinski --- (In reply to Arsen Arsenović from comment #1) > - clang: permits alloca in coroutines in many cases. by my crude testing, > it seems to only fail if the size is dynamic and the use of the allocated > region

[Bug c++/115941] New: g++ compiler version 15 doesn't fails to build when g++ 12 does (may be related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247)

2024-07-15 Thread vincent.lebourlot at starqube dot com via Gcc-bugs
that doesn't compile with gcc 15 trunk version ``` gcc-15/bin/g++ --version g++ (GCC) 15.0.0 20240715 (experimental) Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

[Bug c++/115941] g++ compiler version 15 doesn't fails to build when g++ 12 does (may be related to PR 109247)

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115941 --- Comment #1 from Andrew Pinski --- It is not related to PR 109247 since it is rejected in GCC 13.1.0 rather than 13.3.0.

[Bug c++/115941] g++ compiler version 15 doesn't fails to build when g++ 12 does (may be related to PR 109247)

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115941 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > It is not related to PR 109247 since it is rejected in GCC 13.1.0 rather > than 13.3.0. s/rather than 13.3.0/rather than just 13.3.0+/.

[Bug c++/97755] Explicit default constructor is called during copy-list-initialization with a warning only

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97755 --- Comment #2 from Andrew Pinski --- pedwarn does change into an error with -pedantic-errors .

[Bug c++/115941] g++ compiler version 15 doesn't fails to build when g++ 12 does (may be related to PR 109247)

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

[Bug c++/113916] gcc allows overriding a non-deleted private base class dtor with a defaulted dtor

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

[Bug c++/90790] Using override on a private overridden destructor shall produce an error

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90790 Andrew Pinski changed: What|Removed |Added CC||rush102333 at gmail dot com --- Comment

[Bug tree-optimization/109573] [11 regression] ICE in vectorizable_live_operation, at tree-vect-loop.cc:9060 with -march=ivybridge since r11-3025-g095d42feed09f8

2024-07-15 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109573 --- Comment #15 from seurer at gcc dot gnu.org --- Note that we see this on powerpc64 if the compiler is built with checks. /home/seurer/gcc/git/build/gcc-11.5.0-RC-20240712/gcc/testsuite/g++/../../xg++ -B/home/seurer/gcc/git/build/gcc-11.5.0-RC

[Bug c++/115938] gcc allows inheriting base class with private destructor during virtual inheritance

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

[Bug c++/55120] Inaccessible virtual base constructor does not prevent generation of default constructor

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55120 Andrew Pinski changed: What|Removed |Added CC||rush102333 at gmail dot com --- Comment

[Bug target/115937] duplicate .plt in module's elf header

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

[Bug target/115937] duplicate .plt in module's elf header

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #2 from Andrew Pinski --- >I changed my gcc from 7.3.0 to 10.3.1 and recompiled kernel code. Did you change binutils version too?

  1   2   >