[Bug rtl-optimization/102800] Incorrect UB warning with aggressive-loop-optimizations

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

[Bug c++/102799] decltype with lambda without body error cause ICE

2021-10-16 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102799 康桓瑋 changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #2 from 康桓瑋

[Bug c/102800] New: Incorrect UB warning with aggressive-loop-optimizations

2021-10-16 Thread phil at phord dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102800 Bug ID: 102800 Summary: Incorrect UB warning with aggressive-loop-optimizations Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/102798] [9/10/11/12 Regression] wrong code with -O3 -fno-tree-pta by r9-2475

2021-10-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102798 --- Comment #8 from H.J. Lu --- Vectorizer has if (DR_PTR_INFO (dr) && TREE_CODE (addr_base) == SSA_NAME && !SSA_NAME_PTR_INFO (addr_base)) vect_duplicate_ssa_name_ptr_info (addr_base, dr_info); This fixes the crash. diff --

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread gcc_bugzilla at axeitado dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #53 from Óscar Fuentes --- (In reply to Christoph Reiter from comment #52) > Turns out this might be fallout from the last grep update, see > https://github.com/msys2/MINGW-packages/issues/9771#issuecomment-945007372 > Needs investig

[Bug tree-optimization/102798] [9/10/11/12 Regression] wrong code with -O3 -fno-tree-pta by r9-2475

2021-10-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102798 H.J. Lu changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment #7 from

[Bug c++/102799] decltype with lambda without body error cause ICE

2021-10-16 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102799 --- Comment #1 from qingzhe huang --- Forget to mention that obviously this only happens with "-std=c++20" because of lambda in unevaluated context support.

[Bug c++/102799] New: decltype with lambda without body error cause ICE

2021-10-16 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102799 Bug ID: 102799 Summary: decltype with lambda without body error cause ICE Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #52 from Christoph Reiter --- Turns out this might be fallout from the last grep update, see https://github.com/msys2/MINGW-packages/issues/9771#issuecomment-945007372 Needs investigating..

[Bug bootstrap/102681] [12 Regression] AArch64 bootstrap failure

2021-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102681 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/102639] ICE in extract_insn, at recog.c:2769 since r12-3406-ga68412117fa47786

2021-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102639 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/102798] [9/10/11/12 Regression] wrong code with -O3 -fno-tree-pta by r9-2475

2021-10-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102798 --- Comment #6 from H.J. Lu --- A pointer is known to non-null only if we know where the pointer is pointing to. Since the null field is initialized to 0, we need to check both null and anything. This works on the test case: diff --git a/gcc/

[Bug tree-optimization/102798] [9/10/11/12 Regression] wrong code with -O3 -fno-tree-pta by r9-2475

2021-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102798 Andrew Pinski changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9/10/11/12 Regression]

[Bug tree-optimization/102798] [9/10/11/12 Regression] wrong code with -O3 -fno-tree-pta -mavx512f by r9-2475

2021-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102798 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5

[Bug tree-optimization/102798] [9/10/11/12 Regression] wrong code with -O3 -fno-tree-pta -mavx512f by r9-2475

2021-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102798 Andrew Pinski changed: What|Removed |Added Keywords||alias --- Comment #4 from Andrew Pinski

[Bug tree-optimization/102798] [9/10/11/12 Regression] wrong code with -O3 -fno-tree-pta -mavx512f by r9-2475

2021-10-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102798 --- Comment #3 from H.J. Lu --- Visiting conditional with predicate: if (in_16(D) != 0B) With known ranges in_16(D): const unsigned char * [1B, +INF] 1B for lower bound is wrong.

[Bug tree-optimization/102798] [9/10/11/12 Regression] wrong code with -O3 -fno-tree-pta -mavx512f by r9-2475

2021-10-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102798 --- Comment #2 from H.J. Lu --- 192t.thread3 has if (in_16(D) != 0B) goto ; [70.00%] else goto ; [30.00%] 193t.dom3 removed "if (in_16(D) != 0B)".

[Bug tree-optimization/102798] [9/10/11/12 Regression] wrong code with -O3 -fno-tree-pta -mavx512f by r9-2475

2021-10-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102798 --- Comment #1 from H.J. Lu --- Source has __attribute__((__noipa__)) void BUF_reverse (unsigned char *out, const unsigned char *in, size_t size) { size_t i; if (in) { out += size - 1; for (i = 0; i < size; i++) *out

[Bug tree-optimization/102798] [9/10/11/12 Regression] wrong code with -O3 -fno-tree-pta -mavx512f by r9-2475

2021-10-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102798 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Summary|[9/10/11/12 Regression]

[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d

2021-10-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #3 fro

[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d

2021-10-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 --- Comment #2 from Martin Liška --- One more test-case can be seen here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797#c2

[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d

2021-10-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 Martin Liška changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #1

[Bug middle-end/102797] ice in useless_type_conversion_p, at gimple-expr.c:87

2021-10-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org St

[Bug target/102767] [12 Regression] ICE in rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.c:5216

2021-10-16 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102767 --- Comment #6 from Segher Boessenkool --- (In reply to Richard Earnshaw from comment #5) > We have the type > type size > unit-size > and movmisalign pattern is enabled for this. > > but the vectorization cost doesn't

[Bug middle-end/102797] ice in useless_type_conversion_p, at gimple-expr.c:87

2021-10-16 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797 David Binderman changed: What|Removed |Added CC||amacleod at redhat dot com --- Commen

[Bug middle-end/102797] ice in useless_type_conversion_p, at gimple-expr.c:87

2021-10-16 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797 --- Comment #6 from David Binderman --- Range currently seems to be (a10794eafb151b92, 730f52e05a1fb5c8). Trying 1ba7adabf29eb671. Only 7 revisions left to go.

[Bug middle-end/102797] ice in useless_type_conversion_p, at gimple-expr.c:87

2021-10-16 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797 --- Comment #5 from David Binderman --- (In reply to David Binderman from comment #4) > I am trying a git bisect. I frequently get this wrong ;-< > > commit a10794eafb151b92 is being built. Seems fine, trying 730f52e05a1fb5c8.

[Bug middle-end/102797] ice in useless_type_conversion_p, at gimple-expr.c:87

2021-10-16 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797 --- Comment #4 from David Binderman --- I am trying a git bisect. I frequently get this wrong ;-< commit a10794eafb151b92 is being built.

[Bug middle-end/102797] ice in useless_type_conversion_p, at gimple-expr.c:87

2021-10-16 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797 Andreas Schwab changed: What|Removed |Added Component|c |middle-end Ever confirmed|0

[Bug c/102797] ice in useless_type_conversion_p, at gimple-expr.c:87

2021-10-16 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797 --- Comment #2 from Dmitry G. Dyachenko --- r12-4256 PASS r12- FAIL $ cat x.ii struct b { b(int); }; void d() { int c = 1; do try { b a = 1; while (1) { c++; a = 1; } } catch (...) { } w

[Bug tree-optimization/102720] [12 regression] gcc.dg/tree-ssa/ldist-strlen-1.c and ldist-strlen-2.c fail after r12-4324

2021-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102720 --- Comment #12 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:99b287b8ef51a0be52f7400879a619dc5f993f31 commit r12-4457-g99b287b8ef51a0be52f7400879a619dc5f993f31 Author: Jan Hubicka Date: Sat

[Bug target/102798] New: [9/10/11/12 Regression] wrong code with -O3 -fno-tree-pta -mavx512f

2021-10-16 Thread zsojka at seznam dot cz via Gcc-bugs
/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r12-4456-20211016001627-g93d183a5fff-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20211016 (experimental) (GCC)

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #51 from Christoph Reiter --- (In reply to Eric Botcazou from comment #50) > > Yes, from 2.36.1 to 2.37, but I've already tried reverting that and it > > didn't help. I'm going to try older versions (of everything) though.. > > This

[Bug fortran/102787] ICE in new test case gfortran.dg/reshape_shape_2.f90

2021-10-16 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102787 Dominique d'Humieres changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug fortran/102787] ICE in new test case gfortran.dg/reshape_shape_2.f90

2021-10-16 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102787 Dominique d'Humieres changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/102797] ice in useless_type_conversion_p, at gimple-expr.c:87

2021-10-16 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797 --- Comment #1 from David Binderman --- Reduced C code is glib_autoptr_cleanup_GdkPaintable(struct _GdkPaintable **_ptr) { glib_autoptr_clear_GdkPaintable(*_ptr); } glib_autoptr_clear_GdkRGBA(struct _GdkRGBA *_ptr) { if (_ptr) gdk_rgba_

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #50 from Eric Botcazou --- > Yes, from 2.36.1 to 2.37, but I've already tried reverting that and it > didn't help. I'm going to try older versions (of everything) though.. This could as well be a miscompilation of the linker. Can y

[Bug c/102797] New: ice in useless_type_conversion_p, at gimple-expr.c:87

2021-10-16 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797 Bug ID: 102797 Summary: ice in useless_type_conversion_p, at gimple-expr.c:87 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d

2021-10-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/102796] New: [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d

2021-10-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 Bug ID: 102796 Summary: [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d Product: gcc

[Bug tree-optimization/102679] Failure to optimize out 64-bit multiplication to 32-bit multiplication when possible in circumstances involving modifying a 64-bit variable that gets converted to 32-bit

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

[Bug tree-optimization/102795] RFE: recognize !! vs branch similarity better

2021-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102795 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Last reconfirmed|

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #49 from Eric Botcazou --- > Fore completeness: The "exceptions not working" problem now also crept into > our v10.3 build with the last rebuild. Maybe some dependency change in the > last two months, but no idea :/ > > https://gith

[Bug tree-optimization/102795] New: RFE: recognize !! vs branch similarity better

2021-10-16 Thread jengelh at inai dot de via Gcc-bugs
C++17 (GCC) version 12.0.0 20211016 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 11.2.1 20210816 [revision 056e324ce46a7924b5cf10f61010cf9dd2ca10e9], GMP version 6.2.1, MPFR version 4.1.0-p7, MPC version 1.2.1, isl version none GGC heuristics: --param ggc-min-expand=30

[Bug tree-optimization/102646] [12 Regression] large performance changes between 1932e1169a236849f5e7f1cd386da100d9af470f and 9cfb95f9b92326e86e99b50350ebf04fa9cd2477 (probably jump threading)

2021-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102646 Andrew Pinski changed: What|Removed |Added Summary|large performance changes |[12 Regression] large

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #48 from Christoph Reiter --- (In reply to Eric Botcazou from comment #47) > > Yes, everything is checksummed in our build script. We apply various patches > > and backports, they are also checksummed: > > https://github.com/msys2/MI

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #47 from Eric Botcazou --- > Yes, everything is checksummed in our build script. We apply various patches > and backports, they are also checksummed: > https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-gcc/PKGBUILD Did y

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #46 from Christoph Reiter --- (In reply to Eric Botcazou from comment #45) > > Fore completeness: The "exceptions not working" problem now also crept into > > our v10.3 build with the last rebuild. Maybe some dependency change in the

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #45 from Eric Botcazou --- > Fore completeness: The "exceptions not working" problem now also crept into > our v10.3 build with the last rebuild. Maybe some dependency change in the > last two months, but no idea :/ > > https://gith

[Bug tree-optimization/102794] [12 Regression] missing vrp in evrp dealing with casts and ands

2021-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102794 --- Comment #3 from Andrew Pinski --- (In reply to Aldy Hernandez from comment #2) > I haven't looked at this, but there's a pending patch with more > restrictions for loop threading in the presence of loops. Does this help? > > https://gcc.gn

[Bug c/46116] Allow passing of anonymous aggregates when signature matches

2021-10-16 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46116 Martin Uecker changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #3 fr

[Bug tree-optimization/102794] [12 Regression] missing vrp in evrp dealing with casts and ands

2021-10-16 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102794 --- Comment #2 from Aldy Hernandez --- I haven't looked at this, but there's a pending patch with more restrictions for loop threading in the presence of loops. Does this help? https://gcc.gnu.org/pipermail/gcc-patches/2021-October/581637.html