[Bug tree-optimization/107668] [13 Regression] ICE: in clear_nan, at value-range.h:1167 with -fsanitize=float-cast-overflow and _Complex int

2022-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107668 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug sanitizer/107698] ASAN misses a global-buffer-overflow

2022-11-16 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107698 --- Comment #2 from Li Shaohua --- I found a new test where gcc-O1 misses the global-buffer-overflow. Not sure if these two have the same root cause: % cat a.c int a, c; int *b = &a; int main() { int d = *b; for (; c < 3; c++) b = b + (

[Bug tree-optimization/80635] [10 regression] std::optional and bogus -Wmaybe-uninitialized warning

2022-11-16 Thread mail at milianw dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 Milian Wolff changed: What|Removed |Added CC||mail at milianw dot de --- Comment #69 fr

[Bug target/107713] Wrong implementation atomic_exchange on LoongArch

2022-11-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107713 Xi Ruoyao changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/107713] Wrong implementation atomic_exchange on LoongArch

2022-11-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107713 --- Comment #3 from Xi Ruoyao --- Created attachment 53907 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53907&action=edit testcase A more straightforward test (in C++).

[Bug target/107713] Wrong implementation atomic_exchange on LoongArch

2022-11-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107713 Xi Ruoyao changed: What|Removed |Added Attachment #53907|0 |1 is obsolete|

[Bug tree-optimization/92706] SRA confuses FRE

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92706 --- Comment #11 from CVS Commits --- The releases/gcc-12 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:985a8962712a56d1c9418cf05e1761f8bd20cf8f commit r12-8913-g985a8962712a56d1c9418cf05e1761f8bd20cf8f Author: Martin Jambor

[Bug tree-optimization/107206] Bogus -Wuninitialized in std::optional

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107206 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:985a8962712a56d1c9418cf05e1761f8bd20cf8f commit r12-8913-g985a8962712a56d1c9418cf05e1761f8bd20cf8f Author: Martin Jambor

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2022-11-16 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 107206, which changed state. Bug 107206 Summary: Bogus -Wuninitialized in std::optional https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107206 What|Removed |Added --

[Bug tree-optimization/107206] Bogus -Wuninitialized in std::optional

2022-11-16 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107206 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/107660] Running binaries compiled with g++11 or later produces different results than g++ version 10 or earlier

2022-11-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107660 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/107645] internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx unspec) in symbolic_operand_1, at config/m68k/predicates.md:144

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107645 --- Comment #2 from CVS Commits --- The master branch has been updated by Max Filippov : https://gcc.gnu.org/g:99c9cbcc3ba3e005bad790a600853266a81d95ee commit r13-4086-g99c9cbcc3ba3e005bad790a600853266a81d95ee Author: Max Filippov Date: Wed

[Bug target/107704] [13 Regression] Testsuite regression after recent DCE changes

2022-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107704 Richard Biener changed: What|Removed |Added Keywords||missed-optimization,

[Bug target/107645] internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx unspec) in symbolic_operand_1, at config/m68k/predicates.md:144

2022-11-16 Thread jcmvbkbc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107645 jcmvbkbc at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|U

[Bug target/107678] [13 Regression] Segfault in aarch64_fallback_frame_state when running SVE code

2022-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107678 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c/107682] [13 Regression] ICE in c_parser_braced_init, at c/c-parser.cc:5619

2022-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107682 Richard Biener changed: What|Removed |Added Priority|P2 |P4 Keywords|

[Bug c/107683] [13 Regression] ICE in int_fits_type_p, at tree.cc:8044

2022-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107683 Richard Biener changed: What|Removed |Added Priority|P2 |P4 Keywords|

[Bug middle-end/107679] [13 Regression] ICE in maybe_register_def, at tree-into-ssa.cc:1914

2022-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107679 Richard Biener changed: What|Removed |Added Component|fortran |middle-end Assignee|unassign

[Bug target/107714] New: MVE: Invalid addressing mode generated for VLD2

2022-11-16 Thread kevin.bracey at alifsemi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107714 Bug ID: 107714 Summary: MVE: Invalid addressing mode generated for VLD2 Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug tree-optimization/107686] [12/13 Regression] ICE: verify_gimple failed (invalid types in nop conversion) with _Decimal64 vector

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

[Bug tree-optimization/107686] [12/13 Regression] ICE: verify_gimple failed (invalid types in nop conversion) with _Decimal64 vector

2022-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107686 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug testsuite/107689] [13 regression] r13-3979-g9d29dd2fcf2922 causes failures in diagnostic-format-json-2.c and others

2022-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107689 Richard Biener changed: What|Removed |Added CC||marxin at gcc dot gnu.org Target Mil

[Bug tree-optimization/107690] [12/13 Regression] vectorization fails for std::ranges::transform due to IR changes

2022-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107690 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org P

[Bug target/107692] [13 regression] r13-3950-g071e428c24ee8c breaks many test cases

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

[Bug c++/107598] implicitly-defined copy/move assignment op not constexpr

2022-11-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107598 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/107699] False positive -Warray-bounds, non-existent offset reported by GCC

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

[Bug tree-optimization/107699] 12/13 Regression] False positive -Warray-bounds, non-existent offset reported by GCC

2022-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107699 Richard Biener changed: What|Removed |Added Summary|False positive |12/13 Regression] False

[Bug target/87832] AMD pipeline models are very costly size-wise

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87832 --- Comment #4 from CVS Commits --- The master branch has been updated by Alexander Monakov : https://gcc.gnu.org/g:dd744f06c9952f92738b0860630085f0f0b99574 commit r13-4092-gdd744f06c9952f92738b0860630085f0f0b99574 Author: Alexander Monakov Da

[Bug target/107676] Nonsensical docs for -mrelax-cmpxchg-loop

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676 --- Comment #7 from CVS Commits --- The master branch has been updated by Alexander Monakov : https://gcc.gnu.org/g:85966f0d20baf50a767ac1110f537395441604a9 commit r13-4094-g85966f0d20baf50a767ac1110f537395441604a9 Author: Alexander Monakov D

[Bug target/87832] AMD pipeline models are very costly size-wise

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87832 --- Comment #5 from CVS Commits --- The master branch has been updated by Alexander Monakov : https://gcc.gnu.org/g:d4cc7a8c4a623b62dd0d486d7780d91b58eb6f1f commit r13-4093-gd4cc7a8c4a623b62dd0d486d7780d91b58eb6f1f Author: Alexander Monakov Da

[Bug target/107676] Nonsensical docs for -mrelax-cmpxchg-loop

2022-11-16 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676 Alexander Monakov changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/107624] [c++23] Wrong code with static operator ()

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107624 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:cf958f8f168f695d49e29297ef9fb37f6efa5d0f commit r13-4095-gcf958f8f168f695d49e29297ef9fb37f6efa5d0f Author: Jakub Jelinek Date: W

[Bug libstdc++/107649] New std::complex specializations are never used

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107649 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0e2c5510e001e5ccbde9e4b7df757e2bba2fdb00 commit r13-4096-g0e2c5510e001e5ccbde9e4b7df757e2bba2fdb00 Author: Jakub Jelinek Date: W

[Bug target/87832] AMD pipeline models are very costly size-wise

2022-11-16 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87832 --- Comment #6 from Alexander Monakov --- With these patches on trunk, current situation is: nm -CS -t d --defined-only gcc/insn-automata.o | sed 's/^[0-9]* 0*//' | sort -n | tail -40 2496 r slm_base 2527 r bdver3_load_min_issue_delay 2746 r glm

[Bug libstdc++/107701] [13 Regression] static linking broken when using iostream

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107701 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:ec59848074ba8c4310cbadb603822bfaeff03a32 commit r13-4098-gec59848074ba8c4310cbadb603822bfaeff03a32 Author: Patrick Palka Date: W

[Bug c++/107624] [c++23] Wrong code with static operator ()

2022-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107624 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/107598] implicitly-defined copy/move assignment op not constexpr

2022-11-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107598 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Keywords|rejects-valid

[Bug fortran/107716] New: Getting negative values with NINT when using doubleprecision values in range on i386

2022-11-16 Thread urbanjost at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107716 Bug ID: 107716 Summary: Getting negative values with NINT when using doubleprecision values in range on i386 Product: gcc Version: 11.2.0 Status: UNCONFIRMED S

[Bug tree-optimization/107715] New: TSVC s161 for double runs at zen4 30 times slower when vectorization is enabled

2022-11-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107715 Bug ID: 107715 Summary: TSVC s161 for double runs at zen4 30 times slower when vectorization is enabled Product: gcc Version: 13.0 Status: UNCONFIRMED Severity

[Bug fortran/107716] Getting negative values with NINT when using doubleprecision values in range on i386

2022-11-16 Thread urbanjost at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107716 --- Comment #1 from urbanjost at comcast dot net --- I am on a Linux mint box using KVM and running a virtual box that is OpenBSD mo.my.domain 7.2 GENERIC#381 i386 using GNU Fortran (GCC) 11.2.0 and am getting negative values from NINT() on

[Bug target/87832] AMD pipeline models are very costly size-wise

2022-11-16 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87832 --- Comment #7 from Jan Hubicka --- > 53730 r btver2_fp_min_issue_delay > 53760 r znver1_fp_transitions > 93960 r bdver3_fp_transitions > 106102 r lujiazui_core_check > 106102 r lujiazui_core_transitions > 196123 r lujiazui_core_min_issue_delay >

[Bug libstdc++/107701] [13 Regression] static linking broken when using iostream

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

[Bug target/87832] AMD pipeline models are very costly size-wise

2022-11-16 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87832 --- Comment #8 from Alexander Monakov --- (In reply to Jan Hubicka from comment #7) > > 53730 r btver2_fp_min_issue_delay > > 53760 r znver1_fp_transitions > > 93960 r bdver3_fp_transitions > > 106102 r lujiazui_core_check > > 106102 r lujiazui_c

[Bug c/107705] [12/13 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in ix86_function_type_abi, at config/i386/i386.cc:1529

2022-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107705 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug target/107703] TImode to __bf16 conversions and __bf16 to TImode conversions aren't implemented in libgcc

2022-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107703 --- Comment #1 from Jakub Jelinek --- aarch64 isn't affected (yet), the __bf16 arithmetics support patch has just been posted but not reviewed. So, on arm and aarch64 __bf16 is a store only type one can't convert to/from nor use in unary/binary

[Bug analyzer/107711] internal compiler error: Segmentation fault

2022-11-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107711 --- Comment #1 from David Malcolm --- Thanks for filing this bug report. Unfortunately I can't reproduce the ICE with the attachment. I have a suspicion that this relates to commits r13-4073-gd8aba860b34203 and/or r13-4074-g86a90006864840 and

[Bug middle-end/107709] IVOPTs is introducing a non-zero assumption

2022-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107709 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #

[Bug tree-optimization/107699] [12/13 Regression] False positive -Warray-bounds, non-existent offset reported by GCC

2022-11-16 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107699 --- Comment #2 from Carlos Galvez --- Looking deeply at the stacktrace, I see that std::sort ends up in this kind of code: if (__last - __first > int(_S_threshold)) { std::__insertion_sort(__first, __first + int(_S_thres

[Bug tree-optimization/107715] TSVC s161 for double runs at zen4 30 times slower when vectorization is enabled

2022-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107715 --- Comment #1 from Richard Biener --- Because store data races are allowed with -Ofast masked stores are not used so we instead get vect__ifc__80.24_114 = VEC_COND_EXPR ; _ifc__80 = _58 ? _45 : _ifc__78; MEM [(double *)vectp_c.25_116] =

[Bug middle-end/107709] IVOPTs is introducing a non-zero assumption

2022-11-16 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107709 --- Comment #2 from Andrew Macleod --- (In reply to Richard Biener from comment #1) > IVOPTs is usually quite careful with this and the infer of non-NULL from > ptr + CST is new - that introduced a new undefinedness in GIMPLE. The > workaround

[Bug tree-optimization/107717] New: [13 Regression] ICEs expanding permutes after g:dc95e1e9702f2f6367bbc108c8d01169be1b66d2

2022-11-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107717 Bug ID: 107717 Summary: [13 Regression] ICEs expanding permutes after g:dc95e1e9702f2f6367bbc108c8d01169be1b66d2 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug analyzer/107711] internal compiler error: Segmentation fault

2022-11-16 Thread urs at akk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107711 --- Comment #2 from urs at akk dot org --- On Wed, Nov 16, 2022 at 02:41:40PM +, dmalcolm at gcc dot gnu.org wrote: > Unfortunately I can't reproduce the ICE with the attachment. Yes, attachment was created with "-v -save-temps -freport-bug"

[Bug tree-optimization/107715] TSVC s161 for double runs at zen4 30 times slower when vectorization is enabled

2022-11-16 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107715 --- Comment #2 from Jan Hubicka --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107715 > > --- Comment #1 from Richard Biener --- > Because store data races are allowed with -Ofast masked stores are not used so > we instead get > > vect_

[Bug target/87832] AMD pipeline models are very costly size-wise

2022-11-16 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87832 --- Comment #9 from Jan Hubicka --- > > Do you mean we should fix modeling of divisions there as well? I don't have > latency/throughput measurements for those CPUs, nor access so I can run > experiments myself, unfortunately. > > I guess you m

Re: [Bug target/87832] AMD pipeline models are very costly size-wise

2022-11-16 Thread Jan Hubicka via Gcc-bugs
> > Do you mean we should fix modeling of divisions there as well? I don't have > latency/throughput measurements for those CPUs, nor access so I can run > experiments myself, unfortunately. > > I guess you mean just making a patch to model division units separately, > leaving latency/throughput

[Bug tree-optimization/107715] TSVC s161 for double runs at zen4 30 times slower when vectorization is enabled

2022-11-16 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107715 --- Comment #3 from Alexander Monakov --- There's a forward dependency over 'c' (read of c[i] vs. write of c[i+1] with 'i' iterating forward), and the vectorized variant takes the hit on each iteration. How is a slowdown even surprising. For th

[Bug c++/78655] gcc doesn't exploit the fact that the result of pointer addition can not be nullptr

2022-11-16 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78655 Andrew Macleod changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug analyzer/107711] internal compiler error: Segmentation fault

2022-11-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107711 --- Comment #3 from David Malcolm --- Created attachment 53911 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53911&action=edit Work-in-progress patch to add logging to ana::on_finish_translation_unit

[Bug tree-optimization/107717] [13 Regression] ICEs expanding permutes after g:dc95e1e9702f2f6367bbc108c8d01169be1b66d2

2022-11-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107717 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org -

[Bug target/107714] MVE: Invalid addressing mode generated for VLD2

2022-11-16 Thread kevin.bracey at alifsemi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107714 --- Comment #1 from Kevin Bracey --- Looking at that assembly output from Compiler Explorer, I'm also at a loss as to what happened to the "6" for the VMUL. Maybe something else to look at?

[Bug analyzer/107711] internal compiler error: Segmentation fault

2022-11-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107711 --- Comment #4 from David Malcolm --- (In reply to urs from comment #2) > On Wed, Nov 16, 2022 at 02:41:40PM +, dmalcolm at gcc dot gnu.org wrote: > > Unfortunately I can't reproduce the ICE with the attachment. > > Yes, attachment was crea

[Bug target/107714] MVE: Invalid addressing mode generated for VLD2

2022-11-16 Thread kevin.bracey at alifsemi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107714 Kevin Bracey changed: What|Removed |Added CC||stammark at gcc dot gnu.org --- Comment

[Bug jit/101491] /usr/local/include/libgccjit++.h conflicts between different GCC installations

2022-11-16 Thread developer at lorenzosalvadore dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101491 --- Comment #12 from Lorenzo Salvadore --- I have sent by mail an alternative patch: https://gcc.gnu.org/pipermail/jit/2022q4/001572.html It should be functionally equivalent to John's patch, but it is written with a different style. It is the

[Bug middle-end/107679] [13 Regression] ICE in maybe_register_def, at tree-into-ssa.cc:1914

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107679 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:8a5f3663f8de45b7030dfe7ce962783dc1a19885 commit r13-4101-g8a5f3663f8de45b7030dfe7ce962783dc1a19885 Author: Richard Biener Date:

[Bug tree-optimization/107686] [12/13 Regression] ICE: verify_gimple failed (invalid types in nop conversion) with _Decimal64 vector

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107686 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:246bbdaa5f536b7a199dda9860c473137f40d622 commit r13-4102-g246bbdaa5f536b7a199dda9860c473137f40d622 Author: Richard Biener Date:

[Bug fortran/107716] Getting negative values with NINT when using doubleprecision values in range on i386

2022-11-16 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107716 kargl at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Priority|P3

[Bug middle-end/107709] IVOPTs is introducing a non-zero assumption

2022-11-16 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107709 --- Comment #3 from Andrew Macleod --- we might be able to provide a lightweight ranger based query to determine if an ssa_name is non-null in a block.. in fact.. we may not need anything special. /* Create a new ranger instance and associate

[Bug target/107515] MVE: Generic functions do not accept _Float16 scalars

2022-11-16 Thread kevin.bracey at alifsemi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107515 --- Comment #2 from Kevin Bracey --- I've just spotted another apparent generic selection problem in my reproducer for bug 107714 - should I create a new issue for it?

[Bug c++/107310] [12/13 Regression] "warning: control reaches end of non-void function" with a throw under a trivially-true conditional since r12-5638-ga3e75c1491cd2d50

2022-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107310 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/99408] s3251 benchmark of TSVC vectorized by clang runs about 7 times faster compared to gcc

2022-11-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99408 --- Comment #2 from Jan Hubicka --- This also reproduces with zen4 and double. jh@alberti:~/tsvc/bin> cat tt.c typedef double real_t; #define iterations 10 #define LEN_1D 32000 #define LEN_2D 256 real_t a[LEN_1D],b[LEN_1D],c[LEN_1D],d[LEN_1D

[Bug middle-end/107718] New: clang optimizes TSVC s317 a lot better

2022-11-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107718 Bug ID: 107718 Summary: clang optimizes TSVC s317 a lot better Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-en

[Bug target/87832] AMD pipeline models are very costly size-wise

2022-11-16 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87832 --- Comment #10 from Alexander Monakov --- (In reply to Jan Hubicka from comment #9) > Actually for older cores I think the manufacturers do not care much. I > still have a working Bulldozer machine and I can do some testing. > I think in Buldoz

[Bug tree-optimization/99411] s311, s312, s31111, s31111, s3110, vsumr benchmark of TSVC is vectorized by clang better than by gcc

2022-11-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99411 --- Comment #7 from Jan Hubicka --- With znver4 current trunk and clang15 I still see this problem (clang code is about 60% faster) for s311, s312 and s3111. Curious s3 and s3110 no longer shows a regression.

[Bug tree-optimization/107715] TSVC s161 and s277 for double runs at zen4 30 times slower when vectorization is enabled

2022-11-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107715 Jan Hubicka changed: What|Removed |Added Summary|TSVC s161 for double runs |TSVC s161 and s277 for

[Bug middle-end/107719] New: 14% regression on TSVC s3113 on znve4 compared to GCC 7.5

2022-11-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107719 Bug ID: 107719 Summary: 14% regression on TSVC s3113 on znve4 compared to GCC 7.5 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Pri

[Bug middle-end/107719] 14% regression on TSVC s3113 on znve4 compared to GCC 7.5

2022-11-16 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107719 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug libstdc++/107720] New: [13 regression] New C++ library test cases (and many others) in r13-3936-g1d9454aba615ea fail

2022-11-16 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107720 Bug ID: 107720 Summary: [13 regression] New C++ library test cases (and many others) in r13-3936-g1d9454aba615ea fail Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug target/106602] riscv: suboptimal codegen for zero_extendsidi2_shifted w/o bitmanip

2022-11-16 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106602 --- Comment #24 from Jeffrey A. Law --- Just a note. Raphael and I are going to poke at this from a different direction.

[Bug target/106602] riscv: suboptimal codegen for zero_extendsidi2_shifted w/o bitmanip

2022-11-16 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106602 --- Comment #25 from Jeffrey A. Law --- To outline what we were thinking. Yes, it's possible that 4->3 combinations aren't supported. I'd have to sit down with the combine sources to be sure. So the alternate approach we came up with was to m

[Bug libstdc++/107720] [13 regression] New C++ library test cases (and many others) in r13-3936-g1d9454aba615ea fail

2022-11-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107720 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.0 Last reconfirmed|

[Bug fortran/107721] New: Lost typespec with constant expressions using array constructors and parentheses

2022-11-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107721 Bug ID: 107721 Summary: Lost typespec with constant expressions using array constructors and parentheses Product: gcc Version: 13.0 Status: UNCONFIRMED Severit

[Bug bootstrap/107722] New: Boostrap failure for some locales starting with r13-4070

2022-11-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107722 Bug ID: 107722 Summary: Boostrap failure for some locales starting with r13-4070 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prio

[Bug target/107723] New: RISC-V lround/ceil/floor with -fno-fp-int-builtin-inexact

2022-11-16 Thread kevinl at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107723 Bug ID: 107723 Summary: RISC-V lround/ceil/floor with -fno-fp-int-builtin-inexact Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Pri

[Bug bootstrap/107722] Bootstrap failure for some locales starting with r13-4070

2022-11-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107722 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug analyzer/107711] internal compiler error: Segmentation fault

2022-11-16 Thread urs at akk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107711 --- Comment #5 from urs at akk dot org --- On Wed, Nov 16, 2022 at 03:54:54PM +, dmalcolm at gcc dot gnu.org wrote: > If you're familiar with gdb, would you be able to reproduce the crasher under > gdb, by adding: > -wrapper gdb,--args > to

[Bug bootstrap/107722] [13 Regression] Bootstrap failure for some locales starting with r13-4070

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

[Bug analyzer/107711] internal compiler error: Segmentation fault

2022-11-16 Thread urs at akk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107711 --- Comment #6 from urs at akk dot org --- Created attachment 53913 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53913&action=edit head of fanalyzer-dump with patch from 53911

[Bug middle-end/107723] lround/ceil/floor with -fno-fp-int-builtin-inexact

2022-11-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107723 Andrew Pinski changed: What|Removed |Added Summary|RISC-V lround/ceil/floor|lround/ceil/floor with

[Bug middle-end/107724] New: __builtin_{l,ll}floor* and __builtin_{l,ll}ceil* are not documented

2022-11-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107724 Bug ID: 107724 Summary: __builtin_{l,ll}floor* and __builtin_{l,ll}ceil* are not documented Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: documentat

[Bug middle-end/107723] lround/ceil/floor with -fno-fp-int-builtin-inexact

2022-11-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107723 --- Comment #2 from Andrew Pinski --- Hmm, only lround is documented and the other two are not, I filed PR 107724 for the missing documentation.

[Bug bootstrap/107722] [13 Regression] Bootstrap failure for some locales starting with r13-4070

2022-11-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107722 --- Comment #2 from anlauf at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #1) > This might fix/improve that: > diff --git a/gcc/diagnostic.cc b/gcc/diagnostic.cc > index 22f7b0b6d6e..5764ce672ec 100644 > --- a/gcc/diagnostic.cc >

[Bug target/105192] ICE: in gen_reg_rtx, at emit-rtl.cc:1167 (during RTL pass: ce3) with -O -fno-if-conversion -fharden-compares

2022-11-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105192 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-11-16 Ever confirmed|0

[Bug fortran/107680] ICE in arith_power, at fortran/arith.cc:989 and :1006

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107680 --- Comment #6 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:713dcfc85ebbabaf74a1bcbac4ba1143519b31d6 commit r13-4106-g713dcfc85ebbabaf74a1bcbac4ba1143519b31d6 Author: Harald Anlauf Date: T

[Bug analyzer/107725] New: Spurious warning: use of uninitialized value with std::any

2022-11-16 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107725 Bug ID: 107725 Summary: Spurious warning: use of uninitialized value with std::any Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/107725] Spurious warning: use of uninitialized value with std::any

2022-11-16 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107725 --- Comment #1 from Chris Uzdavinis --- I get a similar warning with this code. Unsure if it's the same underlying issue. Also does not warn with g++10 or g++11, but does with newer versions. #include #include std::string create() { st

[Bug fortran/107681] [13 Regression] ICE in gfc_type_is_extensible, at fortran/resolve.cc:9018

2022-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107681 --- Comment #2 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:96e4244ef3ccf4867ca4e37fbc6800e64ef30af6 commit r13-4107-g96e4244ef3ccf4867ca4e37fbc6800e64ef30af6 Author: Harald Anlauf Date: W

[Bug middle-end/107723] lround/ceil/floor with -fno-fp-int-builtin-inexact

2022-11-16 Thread kevinl at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107723 --- Comment #3 from Kevin Lee --- aarch64 also produces ceil1: fcvtps x0, d0 ret Since it has been changed to middle-end, I'll delete riscv as the target

[Bug libstdc++/107720] [13 regression] New C++ library test cases (and many others) in r13-3936-g1d9454aba615ea fail

2022-11-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107720 --- Comment #1 from Jonathan Wakely --- (In reply to seurer from comment #0) > g:1d9454aba615eadd0d85c93713dd848227345f67, r13-3936-g1d9454aba615ea > > This was on a make check of a simple (non-bootstrap) built compiler. I only > see this on o

[Bug fortran/107681] [13 Regression] ICE in gfc_type_is_extensible, at fortran/resolve.cc:9018

2022-11-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107681 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug fortran/107659] C procedure with no global scope is seen as global

2022-11-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107659 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

  1   2   >