[Bug fortran/106331] New: Whole array assignment of empty string segfaults with -Og

2022-07-16 Thread stuart_mentzer at objexx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106331 Bug ID: 106331 Summary: Whole array assignment of empty string segfaults with -Og Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/106330] New: Unknown type leads to error messages about missing lambda capture

2022-07-16 Thread drahflow at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106330 Bug ID: 106330 Summary: Unknown type leads to error messages about missing lambda capture Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/106329] New: No optimization for SVE pfalse predicate

2022-07-16 Thread yyc1992 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106329 Bug ID: 106329 Summary: No optimization for SVE pfalse predicate Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug other/106328] New: Build doesn't respect -j N flag

2022-07-16 Thread yuri at tsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 Bug ID: 106328 Summary: Build doesn't respect -j N flag Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug target/106327] New: side-effect-free _x variance not optimized to unpredicated instruction

2022-07-16 Thread yyc1992 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106327 Bug ID: 106327 Summary: side-effect-free _x variance not optimized to unpredicated instruction Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity:

[Bug fortran/104313] [10/11/12/13 Regression] ICE verify_gimple failed with -ff2c since r10-2279-ge0af8f52b10385d8

2022-07-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104313 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/104313] [10/11/12/13 Regression] ICE verify_gimple failed with -ff2c since r10-2279-ge0af8f52b10385d8

2022-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104313 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:168a1ae79bb86bdfe482c7c80ea742d40cc414c5 commit r10-10898-g168a1ae79bb86bdfe482c7c80ea742d40cc414c5 Author: Steve Kargl

[Bug fortran/104313] [10/11/12/13 Regression] ICE verify_gimple failed with -ff2c since r10-2279-ge0af8f52b10385d8

2022-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104313 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:663ac94cf02b18c9c89a2ada9d3c7cded08e29d6 commit r11-10150-g663ac94cf02b18c9c89a2ada9d3c7cded08e29d6 Author: Steve Kargl

[Bug fortran/104313] [10/11/12/13 Regression] ICE verify_gimple failed with -ff2c since r10-2279-ge0af8f52b10385d8

2022-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104313 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c1b0037bcc26019a87935e5634b6d448e9773193 commit r12-8572-gc1b0037bcc26019a87935e5634b6d448e9773193 Author: Steve Kargl

[Bug c++/99377] [modules] undefined std::string_view::empty() if referenced in inline exported function

2022-07-16 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99377 --- Comment #12 from Johel Ernesto Guerrero Peña --- The workaround of Comment 5 stopped working for my actual use-case some time ago. Now I do this: ```C++ export constexpr void expects(bool truth) noexcept { if (not truth) std::terminate();

[Bug c++/99377] [modules] undefined std::string_view::empty() if referenced in inline exported function

2022-07-16 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99377 --- Comment #11 from Johel Ernesto Guerrero Peña --- Created attachment 53312 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53312=edit Release object file

[Bug c++/99377] [modules] undefined std::string_view::empty() if referenced in inline exported function

2022-07-16 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99377 --- Comment #10 from Johel Ernesto Guerrero Peña --- Created attachment 53311 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53311=edit Release GCM

[Bug c++/99377] [modules] undefined std::string_view::empty() if referenced in inline exported function

2022-07-16 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99377 --- Comment #9 from Johel Ernesto Guerrero Peña --- Created attachment 53310 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53310=edit Debug object file

[Bug c++/99377] [modules] undefined std::string_view::empty() if referenced in inline exported function

2022-07-16 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99377 --- Comment #8 from Johel Ernesto Guerrero Peña --- Created attachment 53309 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53309=edit Debug GCM

[Bug analyzer/106325] `analyzer-null-dereference` gets thrown on a parameter on a function marked with `__attribute__((nonnull))`

2022-07-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106325 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/106326] New: _m and _z version of SVE instrinsics not optimized to predicate-free version

2022-07-16 Thread yyc1992 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106326 Bug ID: 106326 Summary: _m and _z version of SVE instrinsics not optimized to predicate-free version Product: gcc Version: 12.1.0 Status: UNCONFIRMED

[Bug analyzer/106325] `analyzer-null-dereference` gets thrown on a parameter on a function marked with `__attribute__((nonnull))`

2022-07-16 Thread alex at zrythm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106325 --- Comment #2 from alex at zrythm dot org --- Created attachment 53308 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53308=edit GCC invocation with LANG=C Same command output in English (using LANG=C)

[Bug analyzer/106325] `analyzer-null-dereference` gets thrown on a parameter on a function marked with `__attribute__((nonnull))`

2022-07-16 Thread alex at zrythm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106325 --- Comment #1 from alex at zrythm dot org --- I forgot to link the repo sorry. https://git.sr.ht/~alextee/zrythm on `e6b20321`

[Bug analyzer/106325] New: `analyzer-null-dereference` gets thrown on a parameter on a function marked with `__attribute__((nonnull))`

2022-07-16 Thread alex at zrythm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106325 Bug ID: 106325 Summary: `analyzer-null-dereference` gets thrown on a parameter on a function marked with `__attribute__((nonnull))` Product: gcc Version: 12.1.0 Status:

[Bug target/106324] New: ptrue not reused between vector instructions and predicate instructions

2022-07-16 Thread yyc1992 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106324 Bug ID: 106324 Summary: ptrue not reused between vector instructions and predicate instructions Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity:

[Bug c/106264] [10/11/12/13 Regression] spurious -Wunused-value on a folded frexp, modf, and remquo calls with unused result since r9-1295-g781ff3d80e88d7d0

2022-07-16 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106264 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug c++/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-16 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #7 from Mathieu Malaterre --- I can make it fails with sanitize=address: /usr/bin/g++-12 -DHWY_STATIC_DEFINE -I"/home/malat/highway-0.17.1~git20220711.f0a396a" -O2 -fsanitize=address -fPIE -fvisibility=hidden

[Bug c++/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-16 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #6 from Mathieu Malaterre --- Using `-fno-strict-aliasing` causes the same symptoms: /usr/bin/g++-12 -DHWY_STATIC_DEFINE -I"/home/malat/highway-0.17.1~git20220711.f0a396a" -O2 -fno-strict-aliasing -fPIE -fvisibility=hidden

[Bug c++/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-16 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #5 from Mathieu Malaterre --- Compilation line for -save-temps is: % /usr/bin/g++-12 -DHWY_STATIC_DEFINE -I"/home/malat/highway-0.17.1~git20220711.f0a396a" -O2 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden

[Bug c++/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-16 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #4 from Mathieu Malaterre --- gcc-11 version on my side is: % gcc-11 --version gcc-11 (Debian 11.3.0-4) 11.3.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There

[Bug c++/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-16 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #3 from Mathieu Malaterre --- Created attachment 53306 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53306=edit gcc-12 -O2 -save-temps

[Bug c++/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-16 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 Mathieu Malaterre changed: What|Removed |Added CC||malat at debian dot org ---

[Bug c++/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-16 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #1 from Mathieu Malaterre --- I can reduce the gtest code to simply: ``` HWY_NOINLINE void TestAllMulHigh() { ForPartialVectors test; test(int16_t()); // test(uint16_t()); } ```

[Bug c/106323] New: [Suboptimal] memcmp(s1, s2, n) == 0 expansion on AArch64 compare to llvm

2022-07-16 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106323 Bug ID: 106323 Summary: [Suboptimal] memcmp(s1, s2, n) == 0 expansion on AArch64 compare to llvm Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug c++/106322] New: i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-16 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 Bug ID: 106322 Summary: i386: Wrong code at O2 level (O0 / O1 are working) Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3