[Bug tree-optimization/107006] Missing optimization: common idiom for external data

2022-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 Richard Biener changed: What|Removed |Added Component|rtl-optimization|tree-optimization Last reconfirmed|

[Bug target/106910] roundss not vectorized

2022-09-22 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106910 --- Comment #12 from Pilar Latiesa --- Wouldn't it make sense for scalar and vector versions to be affected by the same options?

[Bug target/106910] roundss not vectorized

2022-09-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106910 --- Comment #13 from Hongtao.liu --- (In reply to Pilar Latiesa from comment #12) > Wouldn't it make sense for scalar and vector versions to be affected by the > same options? I guess the reason is we don't have __builtin_floorf for vector vers

[Bug driver/107007] New: libiberty's win32_spawn error handling is poor

2022-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107007 Bug ID: 107007 Summary: libiberty's win32_spawn error handling is poor Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/106919] [13 Regression] RTL check: expected code 'set' or 'clobber', have 'if_then_else' in s390_rtx_costs, at config/s390/s390.cc:3672on s390x-linux-gnu

2022-09-22 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106919 Matthias Klose changed: What|Removed |Added Status|WAITING |NEW --- Comment #2 from Matthias Klose

[Bug target/106919] [13 Regression] RTL check: expected code 'set' or 'clobber', have 'if_then_else' in s390_rtx_costs, at config/s390/s390.cc:3672on s390x-linux-gnu

2022-09-22 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106919 --- Comment #3 from Matthias Klose --- rechecked with 20220920

[Bug target/106919] [13 Regression] RTL check: expected code 'set' or 'clobber', have 'if_then_else' in s390_rtx_costs, at config/s390/s390.cc:3672on s390x-linux-gnu

2022-09-22 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106919 --- Comment #4 from Matthias Klose --- Created attachment 53611 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53611&action=edit preprocessed source

[Bug driver/45749] Response file unwrapped between collect2.exe and ld.exe

2022-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45749 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/107008] New: Combine config/os/*/error_constants.h into one file

2022-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107008 Bug ID: 107008 Summary: Combine config/os/*/error_constants.h into one file Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug libstdc++/107008] Combine config/os/*/error_constants.h into one file

2022-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107008 --- Comment #1 from Jonathan Wakely --- In theory the existing per-target error_constants.h allows an out-of-tree port for a new OS to use its own error_constants.h more easily. Meh. They would still need to edit configure.host to overrride ${er

[Bug libstdc++/107008] Combine config/os/*/error_constants.h into one file

2022-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107008 --- Comment #2 from Jonathan Wakely --- A related topic is that we simply don't define the errc enumerators that don't have a corresponding E macro, which is non-conforming. The C++ standard says the enumerators should all be there. We cou

[Bug libstdc++/107008] Combine config/os/*/error_constants.h into one file

2022-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107008 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/104883] should define all std::errc enumerators

2022-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104883 --- Comment #1 from Jonathan Wakely --- >From PR 1007008 comment 2: -- >8 -- We could do something like this for each enumerator: #ifdef EFOO foo = EFOO, #else foo = _GLIBCXX_ERRC_ORIGIN + __LINE__, #endif Where _GLIBCXX_ERRC_ORIGIN is

[Bug tree-optimization/99407] s243 benchmark of TSVC is vectorized by clang and not by gcc, missed DSE

2022-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99407 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4bdf739f835520ccbc433dc9eac461895741f317 commit r13-2769-g4bdf739f835520ccbc433dc9eac461895741f317 Author: Richard Biener Date:

[Bug tree-optimization/99407] s243 benchmark of TSVC is vectorized by clang and not by gcc, missed DSE

2022-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99407 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2022-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 99407, which changed state. Bug 99407 Summary: s243 benchmark of TSVC is vectorized by clang and not by gcc, missed DSE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99407 What|Removed |

[Bug lto/99828] inlining failed in call to ‘always_inline’ ‘memcpy’: --param max-inline-insns-auto limit reached

2022-09-22 Thread jirislaby at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99828 Jiri Slaby changed: What|Removed |Added CC||jirislaby at gmail dot com --- Comment #11

[Bug lto/99828] inlining failed in call to ‘always_inline’ ‘memcpy’: --param max-inline-insns-auto limit reached

2022-09-22 Thread jirislaby at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99828 --- Comment #12 from Jiri Slaby --- (In reply to Jiri Slaby from comment #11) > Looking at the kernel patch, it says: > This is fixed now in gcc, but work around it on older compilers > by using a wrapper. > > If so, how was this fixed a

[Bug tree-optimization/106922] [12 Regression] Bogus uninitialized warning on boost::optional<>>, missed FRE

2022-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106922 --- Comment #15 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9baee6181b4e427e0b5ba417e51424c15858dce7 commit r13-2772-g9baee6181b4e427e0b5ba417e51424c15858dce7 Author: Richard Biener Date:

[Bug tree-optimization/106922] [12 Regression] Bogus uninitialized warning on boost::optional<>>, missed FRE

2022-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106922 --- Comment #16 from Richard Biener --- This addressed the other missed optimization (which isn't a regression), it should make optimizing the m_initialized flag status more consistent.

[Bug tree-optimization/106950] Missed PRE full redundancy without post-loop use

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

[Bug lto/99828] inlining failed in call to ‘always_inline’ ‘memcpy’: --param max-inline-insns-auto limit reached

2022-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99828 Richard Biener changed: What|Removed |Added Known to fail||12.2.0 Last reconfirmed|2021-03-30 00

[Bug c++/106997] Use coroutines on avr-gcc

2022-09-22 Thread klaus.doldinger64 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106997 --- Comment #2 from Wilhelm M --- I would consider this a missed optimization rather than a bug, because the standard says, that an implementation can avoid heap allocation if: - the lifetime of the coroutine is strictly within the lifetime of

[Bug c/106830] [13 Regression] ICE: in tree_to_uhwi, at tree.cc:6392 (from check_for_xor_used_as_pow) since r13-2386-gbedfca647a9e9c1a

2022-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106830 --- Comment #6 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:86254629b636db579616befde49022f098af8148 commit r13-2773-g86254629b636db579616befde49022f098af8148 Author: David Malcolm Date: T

[Bug c/106830] [13 Regression] ICE: in tree_to_uhwi, at tree.cc:6392 (from check_for_xor_used_as_pow) since r13-2386-gbedfca647a9e9c1a

2022-09-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106830 David Malcolm changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/106826] [13 Regression] [modules] Variable template of type trait via importable header gives wrong result

2022-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106826 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:32d8123cd6ce87acb557aec230e8359051316f9f commit r13-2775-g32d8123cd6ce87acb557aec230e8359051316f9f Author: Patrick Palka Date: T

[Bug c/107002] [13 Regression] ICE in column_range, at diagnostic-show-locus.cc:2236

2022-09-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107002 David Malcolm changed: What|Removed |Added Last reconfirmed||2022-09-22 Status|UNCONFIRM

[Bug driver/106897] driver: support -gz=zstd

2022-09-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106897 Martin Liška changed: What|Removed |Added Keywords||patch --- Comment #6 from Martin Liška

[Bug c++/106826] [13 Regression] [modules] Variable template of type trait via importable header gives wrong result

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

[Bug c++/103524] [meta-bug] modules issue

2022-09-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 106826, which changed state. Bug 106826 Summary: [13 Regression] [modules] Variable template of type trait via importable header gives wrong result https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106826 What

[Bug c++/106826] [13 Regression] [modules] Variable template of type trait via importable header gives wrong result

2022-09-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106826 --- Comment #6 from Patrick Palka --- *** Bug 100687 has been marked as a duplicate of this bug. ***

[Bug c++/103524] [meta-bug] modules issue

2022-09-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 100687, which changed state. Bug 100687 Summary: [modules, concepts] imported concept gives different result https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100687 What|Removed |Added ---

[Bug c++/100687] [modules, concepts] imported concept gives different result

2022-09-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100687 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug c++/67491] [meta-bug] concepts issues

2022-09-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 100687, which changed state. Bug 100687 Summary: [modules, concepts] imported concept gives different result https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100687 What|Removed |Added -

[Bug tree-optimization/86465] [10/11/12/13 Regression] C++17 triggers: ‘’ may be used uninitialized in this function

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

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

2022-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 86465, which changed state. Bug 86465 Summary: [10/11/12/13 Regression] C++17 triggers: ‘’ may be used uninitialized in this function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86465 What|Removed

[Bug tree-optimization/95825] [10/11/12/13 Regression] boost::optional -Wuninitialized with -fsanitize=address

2022-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95825 Richard Biener changed: What|Removed |Added Summary|[10/11/12/13 Regression]|[10/11/12/13 Regression]

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

2022-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 102801, which changed state. Bug 102801 Summary: Incorrect -Wmaybe-uninitialized warning/interaction for a std::optional only when a nested struct is also present. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102801

[Bug tree-optimization/102801] Incorrect -Wmaybe-uninitialized warning/interaction for a std::optional only when a nested struct is also present.

2022-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102801 Richard Biener changed: What|Removed |Added Known to work||12.2.1, 13.0 Status|UNCONF

[Bug tree-optimization/102801] Incorrect -Wmaybe-uninitialized warning/interaction for a std::optional only when a nested struct is also present.

2022-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102801 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:44dba051d72587828882cbb31118934a4fb06c1a commit r13-2776-g44dba051d72587828882cbb31118934a4fb06c1a Author: Richard Biener Date:

[Bug tree-optimization/105749] Bogus maybe-unitialized when using std::optional, regex and sstream

2022-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105749 Richard Biener changed: What|Removed |Added Known to fail||12.2.1, 13.0 Last reconfirmed|

[Bug c++/106826] [13 Regression] [modules] Variable template of type trait via importable header gives wrong result

2022-09-22 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106826 --- Comment #7 from Johel Ernesto Guerrero Peña --- Thank you very much! This was a real blocker.

[Bug tree-optimization/107006] Missing optimization: common idiom for external data

2022-09-22 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 --- Comment #11 from H. Peter Anvin --- If you look at the output, you see that the loops are already fully unrolled (at considerable code size cost.) Unfortunately, since the issue at hand is dealing with code written to be portable, adding gc

[Bug tree-optimization/106989] GCC fail to vectorize and clang succeed

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

[Bug tree-optimization/99407] s243 benchmark of TSVC is vectorized by clang and not by gcc, missed DSE

2022-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99407 Andrew Pinski changed: What|Removed |Added CC||juzhe.zhong at rivai dot ai --- Comment

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2022-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 106989, which changed state. Bug 106989 Summary: GCC fail to vectorize and clang succeed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106989 What|Removed |Added -

[Bug c/106988] subscripting a string literal is not an integer constant expression but __builtin_strlen is

2022-09-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106988 Martin Sebor changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug libgcc/102017] libgcc ieee754-df.S for arm does not support exceptions

2022-09-22 Thread torbjorn.svensson at foss dot st.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102017 Torbjörn SVENSSON changed: What|Removed |Added CC||torbjorn.svensson at foss dot st.c

[Bug sanitizer/106998] [10/11/12/13 Regression] libsanitizer PATH_MAX not defined for linux new targets

2022-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106998 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.5 Summary|libsanitizer PA

[Bug fortran/82868] ICE in generate_coarray_sym_init, at fortran/trans-decl.c:5203

2022-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82868 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bc71318a91286b5f00e88f07aab818ac82510692 commit r13-2781-gbc71318a91286b5f00e88f07aab818ac82510692 Author: Harald Anlauf Date: We

[Bug fortran/100103] Automatic reallocation fails inside select rank

2022-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100103 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:12b537b9b7fd50f4b2fbfcb7ccf45f8d66085577 commit r13-2782-g12b537b9b7fd50f4b2fbfcb7ccf45f8d66085577 Author: José Rui Faustino de Sou

[Bug fortran/106857] [10/11/12/13 Regression] ICE in gfc_simplify_pack, at fortran/simplify.cc:6438 since r12-4278-g74ccca380cde5e79

2022-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106857 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f954e0531beb8cbb128cc4ab70d65a92c5ac9a7d commit r11-10268-gf954e0531beb8cbb128cc4ab70d65a92c5ac9a7d Author: Harald Anlauf

[Bug fortran/106857] [10/11/12/13 Regression] ICE in gfc_simplify_pack, at fortran/simplify.cc:6438 since r12-4278-g74ccca380cde5e79

2022-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106857 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:cf172d0cdf355042223a3b1ebc04b472386a954e commit r10-10998-gcf172d0cdf355042223a3b1ebc04b472386a954e Author: Harald Anlauf

[Bug fortran/106857] [10/11/12/13 Regression] ICE in gfc_simplify_pack, at fortran/simplify.cc:6438 since r12-4278-g74ccca380cde5e79

2022-09-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106857 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug fortran/106986] [10/11/12/13 Regression] ICE in simplify_findloc_nodim, at fortran/simplify.cc:5675

2022-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106986 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:84a34d76a76f27feabd4523e388068c90c2bb2e4 commit r12-8782-g84a34d76a76f27feabd4523e388068c90c2bb2e4 Author: Harald Anlauf

[Bug tree-optimization/107009] New: massive unnecessary code blowup in vectorizer

2022-09-22 Thread drepper.fsp+rhbz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107009 Bug ID: 107009 Summary: massive unnecessary code blowup in vectorizer Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tr

[Bug tree-optimization/107009] [13 Regression] massive unnecessary code blowup in vectorizer

2022-09-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107009 Marek Polacek changed: What|Removed |Added Target Milestone|--- |13.0 Ever confirmed|0

[Bug c/107001] ICE in expand_gimple_stmt_1, at cfgexpand.cc:4017 since r9-3941-g28567c40e2c7c88e

2022-09-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107001 Martin Liška changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c/107010] New: iterate section("mysection") struct mystruct fails if first node is const and compiling with O2 or greater

2022-09-22 Thread stian.skjelstad at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107010 Bug ID: 107010 Summary: iterate section("mysection") struct mystruct fails if first node is const and compiling with O2 or greater Product: gcc Version: 12.1.0 Status: U

[Bug c/107010] iterate section("mysection") struct mystruct fails if first node is const and compiling with O2 or greater

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

[Bug c++/107003] ICE in mangle_decl, at cp/mangle.cc:4112 since r6-1066-g233ce289250944dd

2022-09-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107003 Martin Liška changed: What|Removed |Added Summary|ICE in mangle_decl, at |ICE in mangle_decl, at

[Bug fortran/106999] [11/12/13 Regression] ICE tree check: expected record_type or union_type or qual_union_type, have function_type in gfc_class_data_get, at fortran/trans-expr.cc:233

2022-09-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106999 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug c/107002] [13 Regression] ICE in column_range, at diagnostic-show-locus.cc:2236 since r13-2386-gbedfca647a9e9c1a

2022-09-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107002 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Sum

[Bug c/106939] Linker-defined symbols are stained due to 'array subscript is partly outside array bounds' warning

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

[Bug target/106919] [13 Regression] RTL check: expected code 'set' or 'clobber', have 'if_then_else' in s390_rtx_costs, at config/s390/s390.cc:3672on s390x-linux-gnu

2022-09-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106919 --- Comment #5 from Martin Liška --- Confirmed, bisecting right now.

[Bug c/107010] iterate section("mysection") struct mystruct fails if first node is const and compiling with O2 or greater

2022-09-22 Thread stian.skjelstad at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107010 --- Comment #2 from Stian Skjelstad --- Thank you for an amazing fast usefull reply.

[Bug tree-optimization/107011] New: instruction with undefined behavior not optimized away

2022-09-22 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107011 Bug ID: 107011 Summary: instruction with undefined behavior not optimized away Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/107009] [13 Regression] massive unnecessary code blowup in vectorizer

2022-09-22 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107009 --- Comment #2 from Aldy Hernandez --- (In reply to Marek Polacek from comment #1) > Looks like it was caused by r13-1268-g8c99e307b20c50: > > commit 8c99e307b20c502e55c425897fb3884ba8f05882 > Author: Aldy Hernandez > Date: Sat Jun 25 18:58:

[Bug tree-optimization/107011] instruction with undefined behavior not optimized away

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

[Bug tree-optimization/107005] gcc not exploiting undefined behavior to optimize away the result of division

2022-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107005 --- Comment #4 from Andrew Pinski --- *** Bug 107011 has been marked as a duplicate of this bug. ***

[Bug target/106919] [13 Regression] RTL check: expected code 'set' or 'clobber', have 'if_then_else' in s390_rtx_costs, at config/s390/s390.cc:3672on s390x-linux-gnu since r13-2251-g1930c5d05ceff2

2022-09-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106919 Martin Liška changed: What|Removed |Added Summary|[13 Regression] RTL check: |[13 Regression] RTL check:

[Bug target/106919] [13 Regression] RTL check: expected code 'set' or 'clobber', have 'if_then_else' in s390_rtx_costs, at config/s390/s390.cc:3672on s390x-linux-gnu since r13-2251-g1930c5d05ceff2

2022-09-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106919 --- Comment #7 from Martin Liška --- Fixed with: diff --git a/gcc/config/s390/s390.cc b/gcc/config/s390/s390.cc index 076c97a8b22..869847ab3d7 100644 --- a/gcc/config/s390/s390.cc +++ b/gcc/config/s390/s390.cc @@ -3669,7 +3669,7 @@ s390_rtx_cos

[Bug libstdc++/104883] should define all std::errc enumerators

2022-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104883 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2022-09-22 Ever confirmed|0

[Bug debug/107012] New: [debug, dwarf-5] Missing line information for evaluating macros

2022-09-22 Thread gandalf at winds dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107012 Bug ID: 107012 Summary: [debug, dwarf-5] Missing line information for evaluating macros Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug debug/107012] [debug, dwarf-5] Missing line information for evaluating macros

2022-09-22 Thread gandalf at winds dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107012 --- Comment #1 from gandalf at winds dot org --- Created attachment 53615 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53615&action=edit objdump output for dwarf-5

[Bug tree-optimization/107011] instruction with undefined behavior not optimized away

2022-09-22 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107011 --- Comment #2 from AK --- ah ok. sorry for the noise.

[Bug c++/106983] [12/13 Regression] ICE tree check: expected class 'type', have 'exceptional' (error_mark) in type_build_dtor_call, at cp/class.cc:5794

2022-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106983 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:8b449dcd84334068c769a2f427812dadb95e61de commit r13-2803-g8b449dcd84334068c769a2f427812dadb95e61de Author: Marek Polacek Date: Tu

[Bug c++/106983] [12/13 Regression] ICE tree check: expected class 'type', have 'exceptional' (error_mark) in type_build_dtor_call, at cp/class.cc:5794

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

[Bug rtl-optimization/107013] New: Add fmin/fmax to RTL codes

2022-09-22 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107013 Bug ID: 107013 Summary: Add fmin/fmax to RTL codes Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization

[Bug target/94962] Suboptimal AVX2 code for _mm256_zextsi128_si256(_mm_set1_epi8(-1))

2022-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94962 --- Comment #8 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:a282f086ef26d90e9785e992cd09a0d118b24695 commit r13-2804-ga282f086ef26d90e9785e992cd09a0d118b24695 Author: Hu, Lin1 Date: Tue Sep 1

[Bug target/94962] Suboptimal AVX2 code for _mm256_zextsi128_si256(_mm_set1_epi8(-1))

2022-09-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94962 --- Comment #9 from Hongtao.liu --- Fixed in trunk.

[Bug lto/99828] inlining failed in call to ‘always_inline’ ‘memcpy’: --param max-inline-insns-auto limit reached

2022-09-22 Thread jirislaby at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99828 --- Comment #14 from Jiri Slaby --- (In reply to Richard Biener from comment #13) > The testcase still does not work on master or with 12.2, thus reconfirmed. Hmm: (In reply to Martin Liška from comment #0) > Noticed by Andi Kleen in kernel, re

[Bug tree-optimization/107006] Missing optimization: common idiom for external data

2022-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 --- Comment #12 from Richard Biener --- (In reply to H. Peter Anvin from comment #11) > If you look at the output, you see that the loops are already fully unrolled > (at considerable code size cost.) The unrolling is done too late for the bswa

[Bug tree-optimization/107009] [13 Regression] massive unnecessary code blowup in vectorizer

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