[Bug c++/106072] New: Bogus -Wnonnull warning breaks rust bootstrap

2022-06-24 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106072 Bug ID: 106072 Summary: Bogus -Wnonnull warning breaks rust bootstrap Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug tree-optimization/106073] New: wrong code at -O3 on x86_64-linux-gnu

2022-06-24 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
--enable-languages=c,c++ --disable-werror --disable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20220624 (experimental) [master r12-4647-g3f861a5c8fd] (GCC) [508] % [508] % gcctk -O2 small.c; ./a.out [509] % [509] % gcctk -O3 small.c [510] % ./a.out Aborted

[Bug tree-optimization/106073] wrong code at -O3 on x86_64-linux-gnu

2022-06-24 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106073 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/o3jq85vYK

[Bug tree-optimization/106073] [12/13 Regression] wrong code at -O3 on x86_64-linux-gnu

2022-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106073 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug middle-end/106059] [13 regression] cc.dg/vect/pr79347.c fails after r13-1171-g9f55aee9dca759

2022-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106059 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:268b5c81e93ac3ff44fc8ace22ce504d8faa4b07 commit r13-1240-g268b5c81e93ac3ff44fc8ace22ce504d8faa4b07 Author: Martin Liska Date: Thu

[Bug middle-end/106059] [13 regression] cc.dg/vect/pr79347.c fails after r13-1171-g9f55aee9dca759

2022-06-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106059 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/106070] [13 Regression] Wrong code with -O1 since r13-469-g9a53101caadae1b5

2022-06-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106070 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/106074] New: Spurious Wstringop-overflow for int-to-string with SSE4

2022-06-24 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106074 Bug ID: 106074 Summary: Spurious Wstringop-overflow for int-to-string with SSE4 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prior

[Bug middle-end/106075] New: Wrong DSE with -fnon-call-exceptions

2022-06-24 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106075 Bug ID: 106075 Summary: Wrong DSE with -fnon-call-exceptions Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug middle-end/106075] Wrong DSE with -fnon-call-exceptions

2022-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106075 --- Comment #1 from Andrew Pinski --- There is another option to not to remove stores for non call exceptions.

[Bug middle-end/106075] Wrong DSE with -fnon-call-exceptions

2022-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106075 --- Comment #2 from Andrew Pinski --- Oh wait -fdelete-dead-exceptions won't change that here or will ir.

[Bug target/105991] [12/13 Regression] rldicl+sldi+add generated instead of rldimi

2022-06-24 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105991 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/106064] Wrong code comparing two global zero-sized arrays

2022-06-24 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106064 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Com

[Bug fortran/106048] [10/11/12/13 Regression] ICE in ubsan_encode_value, at ubsan.cc:143 / verify_gimple failed

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106048 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.4

[Bug tree-optimization/106076] New: Sub-optimal code is generated for checking bitfields via proxy functions

2022-06-24 Thread kyrylo.bohdanenko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106076 Bug ID: 106076 Summary: Sub-optimal code is generated for checking bitfields via proxy functions Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: norma

[Bug tree-optimization/106055] [13 Regression] ICE in replace_uses_by with -floop-parallelize-all and returns_twice

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106055 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug ipa/106061] [13 Regression] during GIMPLE pass: einline ICE: verify_cgraph_node failed (edge points to wrong declaration) with -Og since r13-1204-gd68d366425369649

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106061 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/106076] Sub-optimal code is generated for checking bitfields via proxy functions

2022-06-24 Thread kyrylo.bohdanenko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106076 --- Comment #1 from Kyrylo Bohdanenko --- The provided assembly is for -O2/-O3

[Bug tree-optimization/106064] Wrong code comparing two global zero-sized arrays

2022-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106064 --- Comment #3 from Andrew Pinski --- (In reply to Mikael Pettersson from comment #2) > Seems target-dependent. I can't reproduce on x86_64-linux-gnu or > sparc64-linux-gnu: both compile f() to return 1 and g() to perform a runtime > computation

[Bug tree-optimization/106064] Wrong code comparing two global zero-sized arrays

2022-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106064 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > (In reply to Mikael Pettersson from comment #2) > > Seems target-dependent. I can't reproduce on x86_64-linux-gnu or > > sparc64-linux-gnu: both compile f() to r

[Bug tree-optimization/106064] Wrong code comparing two global zero-sized arrays

2022-06-24 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106064 Alex Coplan changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5 f

[Bug tree-optimization/106063] [13 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:281 with -O2 -fno-tree-forwprop --param=evrp-mode=legacy-first

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106063 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/106063] [12/13 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:281 with -O2 -fno-tree-forwprop --param=evrp-mode=legacy-first

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106063 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.2 Priority|P3

[Bug tree-optimization/106064] Wrong code comparing two global zero-sized arrays

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106064 --- Comment #6 from Richard Biener --- Note whether a != b is probably undefined (but zero size objects are a GNU extension).

[Bug tree-optimization/106070] [13 Regression] Wrong code with -O1 since r13-469-g9a53101caadae1b5

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106070 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org T

[Bug tree-optimization/106073] [12/13 Regression] wrong code at -O3 on x86_64-linux-gnu

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106073 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Version|unknown

[Bug tree-optimization/106064] Wrong code comparing two global zero-sized arrays

2022-06-24 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106064 --- Comment #7 from Alex Coplan --- (In reply to Richard Biener from comment #6) > Note whether a != b is probably undefined (but zero size objects are a GNU > extension). Just to clarify, are you saying this is undefined specifically for zero

[Bug middle-end/106075] Wrong DSE with -fnon-call-exceptions

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106075 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/106076] Sub-optimal code is generated for checking bitfields via proxy functions

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106076 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/106064] Wrong code comparing two global zero-sized arrays

2022-06-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106064 --- Comment #8 from Jakub Jelinek --- The IMHO UB case is for a != b when one address is at the start of one object and the other address is at the end of another one, which for zero sized objects is more often because the start address is the s

[Bug tree-optimization/106070] [13 Regression] Wrong code with -O1 since r13-469-g9a53101caadae1b5

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106070 --- Comment #5 from Richard Biener --- +Applying pattern match.pd:4591, gimple-match.cc:59644 ... @@ -31,7 +41,7 @@ var_4.3_3 = (unsigned int) var_4.2_2; iftmp.0_9 = (long unsigned int) var_2.1_1; iftmp.0_10 = (long unsigned int) var_4.

[Bug ipa/106077] New: Invalid IPA-SRA with non-call exceptions

2022-06-24 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106077 Bug ID: 106077 Summary: Invalid IPA-SRA with non-call exceptions Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa

[Bug middle-end/106075] Wrong DSE with -fnon-call-exceptions

2022-06-24 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106075 --- Comment #4 from Jan Hubicka --- PR106077 demonstrates related problem where ipa-sra concludes it is safe to move dereference earlier in the code. It uses dominator test for that.

[Bug middle-end/106075] Wrong DSE with -fnon-call-exceptions

2022-06-24 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106075 --- Comment #5 from Jan Hubicka --- Also note that the longjmp testcase will not get misoptimized since we consider longjmp as using all global memory.

[Bug middle-end/106078] New: Invalid loop invariant motion with non-call-exceptions

2022-06-24 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106078 Bug ID: 106078 Summary: Invalid loop invariant motion with non-call-exceptions Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/106063] [12/13 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:281 with -O2 -fno-tree-forwprop --param=evrp-mode=legacy-first

2022-06-24 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106063 --- Comment #3 from Tamar Christina --- (In reply to Richard Biener from comment #2) > > but after vector lowering only vector operations that are handled by the > target may be introduced. The pattern > We can't tell that we're after veclow

[Bug c++/98992] attribute malloc error associating a member deallocator with an allocator

2022-06-24 Thread rdiezmail-gcc at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98992 R. Diez changed: What|Removed |Added CC||rdiezmail-gcc at yahoo dot de --- Comment #1 f

[Bug middle-end/106078] Invalid loop invariant motion with non-call-exceptions

2022-06-24 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106078 --- Comment #1 from Jan Hubicka --- This is version that does not need -fnon-call-exceptions If called test (NULL, 0) it should be indefinitely increasing val rather then segfaulting. Seems clang gets this one right. int array[1]; volatile

[Bug c++/106057] Missed stmt_can_throw_external check in stmt_kills_ref_p

2022-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106057 --- Comment #3 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:7fd34782b95bbe1b4dc9936b8923f86d4aaee379 commit r13-1241-g7fd34782b95bbe1b4dc9936b8923f86d4aaee379 Author: Jan Hubicka Date: Fri J

[Bug libfortran/106079] New: [12/13 regression] gfortran.dg/boz_15.f90 fails after gcc-12-6498-g07c60b8e33

2022-06-24 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106079 Bug ID: 106079 Summary: [12/13 regression] gfortran.dg/boz_15.f90 fails after gcc-12-6498-g07c60b8e33 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug target/88469] [7/8 regression] AAPCS/AAPCS64 - Struct with 64-bit bitfield (128-bit on AArch64) may be passed in wrong registers

2022-06-24 Thread jenimjohn at orgs dot com.co via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88469 Jenim changed: What|Removed |Added CC||jenimjohn at orgs dot com.co --- Comment #19 fro

[Bug tree-optimization/106070] [13 Regression] Wrong code with -O1 since r13-469-g9a53101caadae1b5

2022-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106070 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b36a1c964f99758de1f3b169628965d3c3af812b commit r13-1243-gb36a1c964f99758de1f3b169628965d3c3af812b Author: Richard Biener Date:

[Bug tree-optimization/106070] [13 Regression] Wrong code with -O1 since r13-469-g9a53101caadae1b5

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

[Bug tree-optimization/103035] [meta-bug] YARPGen bugs

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103035 Bug 103035 depends on bug 106070, which changed state. Bug 106070 Summary: [13 Regression] Wrong code with -O1 since r13-469-g9a53101caadae1b5 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106070 What|Removed |

[Bug tree-optimization/106025] [13 Regression] Incorrect optimization at -O2 leads to infinite test execution time since r13-469-g9a53101caadae1b5

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

[Bug tree-optimization/106070] [13 Regression] Wrong code with -O1 since r13-469-g9a53101caadae1b5

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106070 --- Comment #8 from Richard Biener --- *** Bug 106025 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/103035] [meta-bug] YARPGen bugs

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103035 Bug 103035 depends on bug 106025, which changed state. Bug 106025 Summary: [13 Regression] Incorrect optimization at -O2 leads to infinite test execution time since r13-469-g9a53101caadae1b5 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106025

[Bug libfortran/106079] [12/13 regression] gfortran.dg/boz_15.f90 fails after gcc-12-6498-g07c60b8e33

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106079 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.2

[Bug middle-end/106078] Invalid loop invariant motion with non-call-exceptions

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106078 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-06-24 Status|UNCONFIR

[Bug middle-end/106078] Invalid loop invariant motion with non-call-exceptions

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106078 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug middle-end/106078] Invalid loop invariant motion with non-call-exceptions

2022-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106078 --- Comment #4 from Richard Biener --- (In reply to Richard Biener from comment #2) > (In reply to Jan Hubicka from comment #1) > > This is version that does not need -fnon-call-exceptions > > If called test (NULL, 0) it should be indefinitely i

[Bug target/106069] [12/13 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2022-06-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #3 from Marek Polacek --- Sure. (If you're looking for a ppc64le machine, the compile farm has a few.) $ diff -up q95.s q96.s --- q95.s 2022-06-23 23:08:22.870777519 + +++ q96.s 2022-06-23 23:08:10.990476157 + @

[Bug ipa/106077] Invalid IPA-SRA with non-call exceptions

2022-06-24 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106077 --- Comment #1 from Jan Hubicka --- Also note that the dominance check is written the wrong way, so it only passes for first BB in the function diff --git a/gcc/ipa-sra.cc b/gcc/ipa-sra.cc index 96b020fb2dd..6b2df2f3ff0 100644 --- a/gcc/ipa-sra

[Bug c++/105931] [12/13 regression] ICE in cxx_eval_constant_expression

2022-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105931 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:5cf4746c3d4e80a360bd15b31136339d6812597e commit r12-8513-g5cf4746c3d4e80a360bd15b31136339d6812597e Author: Patrick Palka

[Bug c++/105931] [12/13 regression] ICE in cxx_eval_constant_expression

2022-06-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105931 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/106080] New: Labels as values triggering -Wdangling-pointer

2022-06-24 Thread david at tarides dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106080 Bug ID: 106080 Summary: Labels as values triggering -Wdangling-pointer Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/106071] single where run error

2022-06-24 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106071 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org La

[Bug middle-end/106080] Labels as values triggering -Wdangling-pointer

2022-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106080 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/ocaml/oc

[Bug target/105991] [12/13 Regression] rldicl+sldi+add generated instead of rldimi

2022-06-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105991 Segher Boessenkool changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/94026] combine missed opportunity to simplify comparisons with zero

2022-06-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026 --- Comment #7 from Segher Boessenkool --- For Power, both the original testcase and the one in comment 5 generate perfect code, for all -mcpu= I tested. Should this be a target bug?

[Bug middle-end/106081] New: missed vectorization

2022-06-24 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 Bug ID: 106081 Summary: missed vectorization Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assign

[Bug middle-end/106059] [13 regression] cc.dg/vect/pr79347.c fails after r13-1171-g9f55aee9dca759

2022-06-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106059 --- Comment #5 from Segher Boessenkool --- Thank you for the quick fix!

[Bug middle-end/106081] missed vectorization

2022-06-24 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 --- Comment #1 from Jan Hubicka --- This is an attempt to vectorize by hand, but it seems we do not generate vpmovsxwd for the vector short->double conversion struct pixels { short a __attribute__ ((vector_size(4*2))); } *pixels; struct

[Bug tree-optimization/94026] combine missed opportunity to simplify comparisons with zero

2022-06-24 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026 --- Comment #8 from Jeffrey A. Law --- I don't think so -- the goal here is to optimize this in gimple so that all targets benefit rather than every target having to customize a solution for this idiom. If Roger's patch is sound you might even b

[Bug analyzer/106066] crash dump when "-fdump-analyzer" enabled

2022-06-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106066 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug analyzer/106066] crash dump when "-fdump-analyzer" enabled

2022-06-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106066 --- Comment #3 from David Malcolm --- Minimal reproducer for crash in comment #0 (crash in dump_mem_ref seen with _do_poll: struct s { unsigned int f; }; int use(unsigned int); static struct s *arr; void test(int n) { int i; for (i = 0;

[Bug target/105930] [12/13 Regression] Excessive stack spill generation on 32-bit x86

2022-06-24 Thread torvalds--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930 --- Comment #21 from Linus Torvalds --- (In reply to CVS Commits from comment #20) > > One might think > that splitting early gives the register allocator more freedom to > use available registers, but in practice the constraint

[Bug target/105930] [12/13 Regression] Excessive stack spill generation on 32-bit x86

2022-06-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930 --- Comment #22 from Jakub Jelinek --- (In reply to Linus Torvalds from comment #21) > Whee. > > Why does gcc have that constraint, btw? I tried to look at the clang code > generation once more, and I don't *think* clang has the same constraint

[Bug analyzer/106066] crash dump when "-fdump-analyzer" enabled

2022-06-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106066 --- Comment #4 from David Malcolm --- (In reply to David Malcolm from comment #2) > Thanks for filing this bug. > > I can reproduce both crashes with trunk. Correction: for src/ssl_crtlist.c I'm seeing the same crash as in comment #0 (in dump_

[Bug target/105930] [12/13 Regression] Excessive stack spill generation on 32-bit x86

2022-06-24 Thread torvalds--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930 --- Comment #23 from Linus Torvalds --- (In reply to Jakub Jelinek from comment #22) > > If the wider registers are narrowed before register allocation, it is just > a pair like (reg:SI 123) (reg:SI 256) and it can be allowed anywhere. That wa

[Bug target/105930] [12/13 Regression] Excessive stack spill generation on 32-bit x86

2022-06-24 Thread torvalds--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930 --- Comment #24 from Linus Torvalds --- (In reply to Linus Torvalds from comment #23) > > And this now brings back my memory of the earlier similar discussion - it > wasn't about DImode code generation, it was about bitfield code generation > b

[Bug tree-optimization/94026] combine missed opportunity to simplify comparisons with zero

2022-06-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026 --- Comment #9 from Segher Boessenkool --- This is all handled in combine, nothing is specific to rs6000 (only the description of all of our insns is, of course, but there is really no way around that, nor should there be :-) ) Why does combine

[Bug target/105930] [12/13 Regression] Excessive stack spill generation on 32-bit x86

2022-06-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930 --- Comment #25 from Jakub Jelinek --- (In reply to Linus Torvalds from comment #23) > (In reply to Jakub Jelinek from comment #22) > > > > If the wider registers are narrowed before register allocation, it is just > > a pair like (reg:SI 123)

[Bug tree-optimization/94026] combine missed opportunity to simplify comparisons with zero

2022-06-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026 --- Comment #10 from Segher Boessenkool --- So on Arm we get Trying 6 -> 8: 6: r119:SI=r123:SI>>0x8 REG_DEAD r123:SI 8: {cc:CC_NZ=cmp(r119:SI&0x6,0);clobber scratch;} REG_DEAD r119:SI Failed to match this instruction: (parall

[Bug d/105413] gdc extended assembler cannot constraints r8 - r15

2022-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105413 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:91418c42089cd1cbe71edcd6b2f5b26559819372 commit r13-1255-g91418c42089cd1cbe71edcd6b2f5b26559819372 Author: Iain Buclaw Date: Thu J

[Bug d/105413] gdc extended assembler cannot constraints r8 - r15

2022-06-24 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105413 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/87729] Please include -Woverloaded-virtual in -Wall

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/94026] combine missed opportunity to simplify comparisons with zero

2022-06-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026 --- Comment #11 from Segher Boessenkool --- Wrt rs6000: we have shift+mask+compare in just one insn (it is basic powerpc), and our (define_insn "*and3_imm_dot_shifted" pattern outputs this as just an "andi." insn when it can. But indeed the sh

[Bug tree-optimization/101868] [9 Regression] Incorrect reordering in -O2 with LTO

2022-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 --- Comment #15 from CVS Commits --- The master branch has been updated by Dimitar Dimitrov : https://gcc.gnu.org/g:b1d0d3520e96802dee37e8fc1c56e19c13d598b1 commit r13-1257-gb1d0d3520e96802dee37e8fc1c56e19c13d598b1 Author: Dimitar Dimitrov Da

[Bug fortran/105813] ICE in gfc_simplify_unpack, at fortran/simplify.cc:8490

2022-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105813 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f21f17f95c0237f4f987a5fa9f1fa9c7e0db3c40 commit r13-1260-gf21f17f95c0237f4f987a5fa9f1fa9c7e0db3c40 Author: Harald Anlauf Date: F

[Bug target/106022] [12/13 Regression] Enable vectorizer generates extra load

2022-06-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 --- Comment #12 from H.J. Lu --- (In reply to Richard Biener from comment #11) > (In reply to H.J. Lu from comment #9) > > (In reply to Richard Biener from comment #8) > > > (In reply to H.J. Lu from comment #6) > > > > Created attachment 53169

[Bug c++/87729] Please include -Woverloaded-virtual in -Wall

2022-06-24 Thread dblaikie at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729 David Blaikie changed: What|Removed |Added CC||dblaikie at gmail dot com --- Comment #7

[Bug rtl-optimization/106082] New: [13 Regression] Recent change broke m68k

2022-06-24 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106082 Bug ID: 106082 Summary: [13 Regression] Recent change broke m68k Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-opt

[Bug rtl-optimization/106082] [13 Regression] Recent change broke m68k

2022-06-24 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106082 --- Comment #1 from Jeffrey A. Law --- /* { dg-require-effective-target trampolines } */ extern void abort (void); extern void exit (int); static void recursive (int n, void (*proc) (void)) { __label__ l1; void do_goto (void) { goto

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Sta

[Bug c++/87729] Please include -Woverloaded-virtual in -Wall

2022-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729 --- Comment #8 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:113844d68e94f4e9c0e946db351ba7d3d4a1335a commit r13-1262-g113844d68e94f4e9c0e946db351ba7d3d4a1335a Author: Jason Merrill Date: Fr

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2022-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423 --- Comment #12 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:113844d68e94f4e9c0e946db351ba7d3d4a1335a commit r13-1262-g113844d68e94f4e9c0e946db351ba7d3d4a1335a Author: Jason Merrill Date: F

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423 Jason Merrill changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

[Bug c++/87729] Please include -Woverloaded-virtual in -Wall

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/87656] Useful flags to enable with -Wall or -Wextra

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 Bug 87656 depends on bug 87729, which changed state. Bug 87729 Summary: Please include -Woverloaded-virtual in -Wall https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729 What|Removed |Added ---

[Bug c++/67345] -Woverloaded-virtual false negative: Does not warn on overloaded virtual function

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67345 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710 Jason Merrill changed: What|Removed |Added CC||EisahLee at gmx dot de --- Comment #11 f

[Bug libfortran/106083] New: gfortran.dg/ieee/large_1.f90 fails on powerpc64 with ieee longlongs

2022-06-24 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106083 Bug ID: 106083 Summary: gfortran.dg/ieee/large_1.f90 fails on powerpc64 with ieee longlongs Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2022-06-24 Thread foom at fuhm dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 James Y Knight changed: What|Removed |Added CC||foom at fuhm dot net --- Comment #31 f

[Bug c++/106084] New: using constructor fails to inherit consteval

2022-06-24 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106084 Bug ID: 106084 Summary: using constructor fails to inherit consteval Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++