[Bug fortran/104651] [OOP] CLASS with assumed-size/assumed-rank array

2022-02-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104651 --- Comment #2 from Tobias Burnus --- Additionally, for the following (from gcc/testsuite/gfortran.dg/finalize_15.f90), class(t1), allocatable :: x(:,:) call fin_test_1(x(::2,::3)) with subroutine fin_test_1(x) class(t1), intent(out

[Bug tree-optimization/104655] New: [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655 Bug ID: 104655 Summary: [12 Regression] array subscript 0 is outside array bounds of Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/104644] [12 Regression] ICE: SIGSEGV (infinite recursion in fold_binary_loc / fold_build2_loc / generic_simplify_NE_EXPR)

2022-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104644 --- Comment #3 from Richard Biener --- (In reply to Jakub Jelinek from comment #2) > Created attachment 52494 [details] > gcc12-pr104644.patch > > Untested fix. > > The match.pd optimization relies on (bswap @1) actually being simplified > int

[Bug c++/98500] ICE template template parameter with default parameter lambda

2022-02-23 Thread friedkeenan at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98500 friedkeenan at protonmail dot com changed: What|Removed |Added CC||friedkeenan at protonm

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655 --- Comment #1 from Andrew Pinski --- Can you provide the preprocessed source in all cases?

[Bug tree-optimization/104645] [12 Regression] i ? i % 2 : 0 not optimized anymore

2022-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104645 --- Comment #2 from Richard Biener --- So it's unhandled : if (i_3(D) != 0) goto ; [INV] else goto ; [INV] : _4 = i_3(D) & 1; iftmp.0_5 = (int) _4; : # iftmp.0_2 = PHI return iftmp.0_2; it also doesn't handle

[Bug c++/104647] [9/10/11/12 Regression] ICE in get_or_insert_ctor_field, at cp/constexpr.cc:3705

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

[Bug tree-optimization/104644] [12 Regression] ICE: SIGSEGV (infinite recursion in fold_binary_loc / fold_build2_loc / generic_simplify_NE_EXPR)

2022-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104644 --- Comment #4 from Jakub Jelinek --- I think the FEs rely on such trees not being folded. It is done in fold-const-call.cc, 1186static tree 1187fold_const_call_1 (combined_fn fn, tree type, tree arg) 1188{ 1189 machine_mode mod

[Bug ipa/104648] [12 Regression] ICE in cgraphunit_cc_finalize, at cgraphunit.cc:2540

2022-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104648 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug target/104656] New: [12 Regression] trunk 20220222 ftbfs for bpf

2022-02-23 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104656 Bug ID: 104656 Summary: [12 Regression] trunk 20220222 ftbfs for bpf Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tar

[Bug tree-optimization/104595] unvectorized loop due to bool condition loaded from memory

2022-02-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 --- Comment #10 from Kewen Lin --- (In reply to rguent...@suse.de from comment #9) > On Wed, 23 Feb 2022, linkw at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 > > > > --- Comment #8 from Kewen Lin --- > >

[Bug fortran/104651] [OOP] CLASS with assumed-size/assumed-rank array

2022-02-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104651 --- Comment #3 from Tobias Burnus --- (In reply to kargl from comment #1) > (In reply to Tobias Burnus from comment #0) > > Error: Rank mismatch in argument ‘x’ at (1) (rank-1 and rank-2) > > Error: Rank mismatch in argument ‘y’ at (1) (rank-2 a

[Bug tree-optimization/101636] [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2022-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 --- Comment #15 from Richard Biener --- Created attachment 52496 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52496&action=edit GIMPLE testcase for the ICE This is a GIMPLE testcase for the ICE: > ./cc1 -quiet t2.c -O -fgimple -mavx512

[Bug target/98341] [11/12 Regression] Ada bootstrap fails with erroneous memory access on m68k

2022-02-23 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98341 --- Comment #16 from John Paul Adrian Glaubitz --- Just as a heads-up: This has been fixed for me with gcc-12. I can successfully bootstrap Ada in gcc-12 with gnat-10.

[Bug tree-optimization/104657] New: array subscript 0 is outside array bounds

2022-02-23 Thread christophm30 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104657 Bug ID: 104657 Summary: array subscript 0 is outside array bounds Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-o

[Bug target/98341] [11/12 Regression] Ada bootstrap fails with erroneous memory access on m68k

2022-02-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98341 --- Comment #17 from Eric Botcazou --- > Just as a heads-up: This has been fixed for me with gcc-12. I can > successfully bootstrap Ada in gcc-12 with gnat-10. Great. What about gcc-11?

[Bug tree-optimization/104658] New: Inefficient vectorization using mask CTORs

2022-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104658 Bug ID: 104658 Summary: Inefficient vectorization using mask CTORs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-

[Bug tree-optimization/104658] Inefficient vectorization using mask CTORs

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

[Bug target/98341] [11/12 Regression] Ada bootstrap fails with erroneous memory access on m68k

2022-02-23 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98341 --- Comment #18 from John Paul Adrian Glaubitz --- (In reply to Eric Botcazou from comment #17) > > Just as a heads-up: This has been fixed for me with gcc-12. I can > > successfully bootstrap Ada in gcc-12 with gnat-10. > > Great. What about g

[Bug tree-optimization/104644] [12 Regression] ICE: SIGSEGV (infinite recursion in fold_binary_loc / fold_build2_loc / generic_simplify_NE_EXPR)

2022-02-23 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104644 --- Comment #5 from rguenther at suse dot de --- On Wed, 23 Feb 2022, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104644 > > --- Comment #4 from Jakub Jelinek --- > I think the FEs rely on such trees not bei

[Bug tree-optimization/104657] array subscript 0 is outside array bounds

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

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 Andrew Pinski changed: What|Removed |Added CC||christophm30 at gmail dot com --- Commen

[Bug gcov-profile/104656] [12 Regression] trunk 20220222 ftbfs for bpf

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104656 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug d/104659] New: msvcUsedUCRT in libphobos/libdruntime/config/mingw/msvc.c

2022-02-23 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104659 Bug ID: 104659 Summary: msvcUsedUCRT in libphobos/libdruntime/config/mingw/msvc.c Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal P

[Bug target/104656] [12 Regression] trunk 20220222 ftbfs for bpf

2022-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104656 Richard Biener changed: What|Removed |Added Component|gcov-profile|target --- Comment #1 from Richard Bie

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

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

[Bug regression/104660] New: Makefile.in has embedded dependencies of libatomic and libbacktrace for libgo, causing GNU/Hurd build to fail.

2022-02-23 Thread svante.signell at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104660 Bug ID: 104660 Summary: Makefile.in has embedded dependencies of libatomic and libbacktrace for libgo, causing GNU/Hurd build to fail. Product: gcc Version: 12.0

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655 --- Comment #3 from Paul Menzel --- (In reply to Andrew Pinski from comment #2) > I am 90% sure this is just another dup of bug 99578. Are you sure, because the warnings/errors are not there with GCC 11.

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

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

[Bug target/104656] [12 Regression] trunk 20220222 ftbfs for bpf

2022-02-23 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104656 --- Comment #2 from Matthias Klose --- yes, adding that option lets the build succeed.

[Bug c/104633] [12 Regression] -Winfinite-recursion diagnoses fortify wrappers

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104633 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c8cb5098c7854a1ed07e85c6165ef0c348d6df1d commit r12-7358-gc8cb5098c7854a1ed07e85c6165ef0c348d6df1d Author: Jakub Jelinek Date: W

[Bug target/104656] [12 Regression] trunk 20220222 ftbfs for bpf

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

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655 --- Comment #5 from Paul Menzel --- Created attachment 52498 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52498&action=edit Preprocessed file `build/bootblock/cpu/x86/lapic/lapic.i` with `-save-temps` Sorry for not sharing the file in t

[Bug tree-optimization/101636] [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 --- Comment #16 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:6e80c4f1ad9046b0a7c105660cc7b3dcae0fdb8f commit r12-7359-g6e80c4f1ad9046b0a7c105660cc7b3dcae0fdb8f Author: Richard Biener Date:

[Bug tree-optimization/104657] array subscript 0 is outside array bounds

2022-02-23 Thread christophm30 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104657 --- Comment #2 from Christoph Müllner --- Thanks for referencing pr99578. Based on the information there, I created the following workaround: void foo(unsigned long v) { volatile unsigned long *p; p = (volatile unsigned long*)8;

[Bug tree-optimization/101636] [11 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2022-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 Richard Biener changed: What|Removed |Added Summary|[11/12 Regression] ICE: |[11 Regression] ICE:

[Bug target/104656] [12 Regression] trunk 20220222 ftbfs for bpf

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104656 --- Comment #4 from Andrew Pinski --- The ABI from the Linux kernel side needs to be documented that way. So someone would need to propose that ABI change.

[Bug target/97338] [nvptx] Convergence checking

2022-02-23 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97338 Tom de Vries changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug tree-optimization/84958] int loads not eliminated against larger stores

2022-02-23 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84958 Tom de Vries changed: What|Removed |Added Target|nvptx |gcn --- Comment #7 from Tom de Vries ---

[Bug c/104633] [12 Regression] -Winfinite-recursion diagnoses fortify wrappers

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

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655 --- Comment #6 from Andrew Pinski --- (In reply to Paul Menzel from comment #5) > Created attachment 52498 [details] > Preprocessed file `build/bootblock/cpu/x86/lapic/lapic.i` with `-save-temps` > > Sorry for not sharing the file in the first

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655 --- Comment #7 from Paul Menzel --- Thank you for the analysis. Excuse my ignorance, but the referenced bug (possible dup) says it’s a regression in GCC 11, but it does not show up here with GCC 11. Are more issues tracked in bug 99578?

[Bug c++/104661] New: Catching exception by const value when exception-object has lvalue-reference constructor

2022-02-23 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104661 Bug ID: 104661 Summary: Catching exception by const value when exception-object has lvalue-reference constructor Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

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

[Bug target/104656] [12 Regression] trunk 20220222 ftbfs for bpf

2022-02-23 Thread jose.marchesi at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104656 Jose E. Marchesi changed: What|Removed |Added CC||jose.marchesi at oracle dot com ---

[Bug target/104662] New: arm: ice in simd_valid_immediate

2022-02-23 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104662 Bug ID: 104662 Summary: arm: ice in simd_valid_immediate Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/104644] [12 Regression] ICE: SIGSEGV (infinite recursion in fold_binary_loc / fold_build2_loc / generic_simplify_NE_EXPR)

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104644 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:fdc46830f1b793dc791099acfadc3f0f8cc24c0e commit r12-7361-gfdc46830f1b793dc791099acfadc3f0f8cc24c0e Author: Richard Biener Date:

[Bug tree-optimization/104644] [12 Regression] ICE: SIGSEGV (infinite recursion in fold_binary_loc / fold_build2_loc / generic_simplify_NE_EXPR)

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

[Bug go/104660] Makefile.in has embedded dependencies of libatomic and libbacktrace for libgo, causing GNU/Hurd build to fail.

2022-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104660 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ian at airs dot com

[Bug analyzer/104434] Analyzer doesn't know about "pure" and "const" functions

2022-02-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104434 --- Comment #2 from David Malcolm --- On rereading https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html I think that "pure" isn't strong enough for the above example: the result of a pure function is allowed to change between inv

[Bug rtl-optimization/104663] New: A 50% C-Ray regression in GCC 12.0 for ADL at -O2

2022-02-23 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104663 Bug ID: 104663 Summary: A 50% C-Ray regression in GCC 12.0 for ADL at -O2 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug middle-end/81889] [7 Regression] bogus warnings with -Wmaybe-uninitialized -O3

2022-02-23 Thread jasonadamses at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81889 Jason Adams changed: What|Removed |Added CC||jasonadamses at protonmail dot com --- Co

[Bug target/103926] "wQ" broken

2022-02-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103926 Segher Boessenkool changed: What|Removed |Added Last reconfirmed||2022-02-23 Status|UNCO

[Bug tree-optimization/104601] [11/12 Regression] Invalid branch elimination at -O2

2022-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601 Jakub Jelinek changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug tree-optimization/104601] [11/12 Regression] Invalid branch elimination at -O2

2022-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601 --- Comment #9 from Jakub Jelinek --- But --- gcc/tree-ssa-sccvn.cc.jj2022-02-11 00:19:22.432063254 +0100 +++ gcc/tree-ssa-sccvn.cc 2022-02-23 16:07:36.697893998 +0100 @@ -5218,7 +5218,11 @@ visit_reference_op_call (tree lhs, gcall

[Bug tree-optimization/104601] [11/12 Regression] Invalid branch elimination at -O2

2022-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601 --- Comment #10 from Jakub Jelinek --- But: --- gcc/tree-ssa-sccvn.cc.jj2022-02-11 00:19:22.432063254 +0100 +++ gcc/tree-ssa-sccvn.cc 2022-02-23 16:16:25.873557626 +0100 @@ -5218,7 +5218,11 @@ visit_reference_op_call (tree lhs, gcall

[Bug tree-optimization/103037] [11/12 Regression] Wrong code with -O2 since r11-6100-gd41b097350d3c5d0

2022-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103037 --- Comment #8 from Richard Biener --- More reduced testcase - the min() obfuscation is to avoid recognizing a MIN_EXPR before jump threading gets the chance to disrupt it. A GIMPLE unit testcase for PRE is difficult since we are not supporting

[Bug target/104664] New: ICE: in extract_constrain_insn, at recog.cc:2670 (insn does not satisfy its constraints) with -Og -ffinite-math-only

2022-02-23 Thread zsojka at seznam dot cz via Gcc-bugs
dcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r12-7361-20220223135143-gfdc46830f1b-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220223 (experimental) (GCC)

[Bug tree-optimization/104601] [11/12 Regression] Invalid branch elimination at -O2

2022-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug libstdc++/103407] [12 regression] abi_check FAILs on Solaris

2022-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103407 --- Comment #4 from Jonathan Wakely --- Rainer, is an executable linked against libstdc++.so.6.0.29 on Solaris 11.3 expected to work on an 11.4 machine with libstdc++.so.6.0.30? With a #ifdef kluge in config/abi/pre/gnu.ver we can make the new

[Bug lto/104237] [11 Regression] Emitted binary code changes when -g is enabled at -O1 -flto and optimize attribute since r11-3126-ga8f9b4c54cc35062

2022-02-23 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104237 --- Comment #13 from Chengnian Sun --- (In reply to Jakub Jelinek from comment #10) > Because -fcompare-debug tells the driver to compile the TU twice, once > without and once with -gtoggle, and compare the result. > So, if there is a difference

[Bug libstdc++/103407] [12 regression] abi_check FAILs on Solaris

2022-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103407 --- Comment #5 from Jonathan Wakely --- Created attachment 52501 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52501&action=edit Patch to fix abi-check on Solaris 11.3 This patch changes the version of the std::from_chars symbols from G

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2022-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #25 from Martin Sebor --- (In reply to Jakub Jelinek from comment #24) > (In reply to Martin Sebor from comment #1) > > The warning is by design. > > That just means the design is bad. Especially in the embedded world, using > memor

[Bug tree-optimization/104665] New: Failure to recognize memcpy

2022-02-23 Thread monad at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104665 Bug ID: 104665 Summary: Failure to recognize memcpy Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug tree-optimization/104665] Failure to recognize memcpy

2022-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104665 --- Comment #1 from Jonathan Wakely --- Please include the full code here, including the #include directives. Not just a link to godbolt.org.

[Bug libstdc++/103407] [12 regression] abi_check FAILs on Solaris

2022-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103407 --- Comment #6 from Jonathan Wakely --- This fixes the abi check FAIL on Solaris 11.3, I don't have access to 11.4 to try it.

[Bug tree-optimization/104665] Failure to recognize memcpy

2022-02-23 Thread monad at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104665 --- Comment #2 from monad at posteo dot net --- The full code including headers is: #include #include #include void serialize_le(std::byte* __restrict dst, const std::uint32_t* __restrict src) { for (int i = 0; i < 32; ++i, ++src) {

[Bug go/101246] gccgo cross-compiler targeting arm fails to build with gcc 11. Missing structs in runtime.inc. Using uclibc-ng

2022-02-23 Thread lancethepants at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101246 --- Comment #7 from Lance Fredrickson --- So this is the patch I'm using to build gccgo for uclibc arm. https://raw.githubusercontent.com/lancethepants/tomatoware/master/patches/gcc/0006-fix-libgo-uclibc-ng.patch In a seperate discussion you m

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2022-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #26 from Jakub Jelinek --- (In reply to Martin Sebor from comment #25) > In my opinion, code that deliberately uses invalid pointers (e.g., hardwired > addresses) should be explicitly annotated, e.g., by some attribute. This > approa

[Bug target/102485] -Wa,-many no longer has any effect

2022-02-23 Thread npiggin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102485 Nicholas Piggin changed: What|Removed |Added CC||npiggin at gmail dot com --- Comment

[Bug c/89408] No constant folding when dereferencing string literals

2022-02-23 Thread srk31 at srcf dot ucam.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 Stephen Kell changed: What|Removed |Added CC||srk31 at srcf dot ucam.org --- Comment #5

[Bug target/102485] -Wa,-many no longer has any effect

2022-02-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102485 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/70077] noexcept, inheriting constructors and the invalid use of an incomplete type that is actually complete

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70077 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:9675ecf7f9b340f93c68cf22280f5975a902 commit r12-7362-g9675ecf7f9b340f93c68cf22280f5975a902 Author: Marek Polacek Date: Wed

[Bug c++/70077] noexcept, inheriting constructors and the invalid use of an incomplete type that is actually complete

2022-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70077 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79493] Bad diagnostic when referring to inner type that does not exist

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79493 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:cdcea7c1ef6586bb1eb0144b741969748cbd780b commit r12-7363-gcdcea7c1ef6586bb1eb0144b741969748cbd780b Author: Marek Polacek Date: Wed

[Bug c++/79493] Bad diagnostic when referring to inner type that does not exist

2022-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79493 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655 Martin Sebor changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2022-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #27 from Martin Sebor --- *** Bug 104655 has been marked as a duplicate of this bug. ***

[Bug c/104666] New: [12 Regression] ICE in related_vector_mode, at stor-layout.c:537

2022-02-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104666 Bug ID: 104666 Summary: [12 Regression] ICE in related_vector_mode, at stor-layout.c:537 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104667] New: [10/11/12 Regression] ICE in is_late_template_attribute, at cp/decl2.cc:1299

2022-02-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104667 Bug ID: 104667 Summary: [10/11/12 Regression] ICE in is_late_template_attribute, at cp/decl2.cc:1299 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: n

[Bug c++/104668] New: [12 Regression] ICE in lookup_attribute_spec, at attribs.cc:425

2022-02-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104668 Bug ID: 104668 Summary: [12 Regression] ICE in lookup_attribute_spec, at attribs.cc:425 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104669] New: [11/12 Regression] ICE in is_function_default_version, at attribs.cc:1219

2022-02-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104669 Bug ID: 104669 Summary: [11/12 Regression] ICE in is_function_default_version, at attribs.cc:1219 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm

[Bug c++/104667] [10/11/12 Regression] ICE in is_late_template_attribute, at cp/decl2.cc:1299

2022-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104667 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-02-23 CC|

[Bug c++/104667] [10/11/12 Regression] ICE in is_late_template_attribute, at cp/decl2.cc:1299

2022-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104667 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug target/104663] A 50% C-Ray regression in GCC 12.0 for ADL at -O2

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104663 --- Comment #1 from Andrew Pinski --- My bet is this is because the vectorizer is enabled now at -O2.

[Bug target/102976] MMA test case emits wrong code when building a vector pair

2022-02-23 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102976 Peter Bergner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/104657] array subscript 0 is outside array bounds

2022-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104657 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/104515] [11/12 Regression] trivially-destructible destructors interfere with loop optimization - maybe related to lifetime-dse.

2022-02-23 Thread gcc at rabensky dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104515 --- Comment #4 from GBE --- The commit that make this issue affect "basic types" as well: https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=e443d821386

[Bug fortran/104619] [10/11/12 Regression] ICE on list comprehension with default derived type constructor

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104619 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d86949f5f55dbe0eb6f3044366101605882cd58e commit r11-9618-gd86949f5f55dbe0eb6f3044366101605882cd58e Author: Harald Anlauf

[Bug fortran/104619] [10/11/12 Regression] ICE on list comprehension with default derived type constructor

2022-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104619 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:251061b82852bdebc6f13510b415ecb73a2f80ae commit r10-10474-g251061b82852bdebc6f13510b415ecb73a2f80ae Author: Harald Anlauf

[Bug fortran/104619] [10/11/12 Regression] ICE on list comprehension with default derived type constructor

2022-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104619 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|ASS

[Bug c/89408] No constant folding when dereferencing string literals

2022-02-23 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 --- Comment #6 from joseph at codesourcery dot com --- Case labels are required to be integer constant expressions. In most cases where an integer constant expression is required, something that isn't an integer constant expression but folds t

[Bug c++/104668] [12 Regression] ICE in lookup_attribute_spec, at attribs.cc:425

2022-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104668 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/104669] [11/12 Regression] ICE in is_function_default_version, at attribs.cc:1219

2022-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104669 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever co

[Bug c++/104670] New: ICE when using decltype of a lambda returning a struct inside of a struct

2022-02-23 Thread krzysio.kurek at wp dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104670 Bug ID: 104670 Summary: ICE when using decltype of a lambda returning a struct inside of a struct Product: gcc Version: unknown Status: UNCONFIRMED Severity: n

[Bug target/95082] LE implementations of vec_cnttz_lsbb and vec_cntlz_lsbb are wrong

2022-02-23 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95082 Bill Schmidt changed: What|Removed |Added Known to fail|11.0| Summary|[11] LE implementatio

[Bug c++/104670] ICE when using decltype of a lambda returning a struct inside of a struct

2022-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104670 --- Comment #1 from Andrew Pinski --- (In reply to krzysio.kurek from comment #0) > Compiled with `-std=c++20` > Past stable releases of GCC report "confused by earlier errors, bailing out" > without crashing instead. Right. That means it was a

[Bug target/102953] Improvements to CET-IBT and ENDBR generation

2022-02-23 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102953 --- Comment #25 from Andrew Cooper --- (In reply to H.J. Lu from comment #24) > (In reply to Andrew Cooper from comment #23) > > Apologies for the delay, but I do now have a working prototype of Xen with > > CET-IBT active, using the current ver

[Bug libstdc++/103407] [12 regression] abi_check FAILs on Solaris

2022-02-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103407 --- Comment #7 from Rainer Orth --- EWRONGPATCH? I'll give it a whirl on both 11.3 and 11.4 then.

  1   2   >