[Bug c++/99859] constexpr evaluation with member function is incorrect

2021-03-31 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99859 --- Comment #1 from Luke Dalessandro --- It was pointed out that it _also_ works if I change > static_assert(foo()); to > constexpr bool b = foo(); > static_assert(b); static_assert(foo());

[Bug analyzer/99771] Analyzer diagnostics should not say ""

2021-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99771 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:e4bb1bd60a9fd1bed36092a990aa5fed5d45bfa6 commit r11-7941-ge4bb1bd60a9fd1bed36092a990aa5fed5d45bfa6 Author: David Malcolm Date: Mo

[Bug analyzer/99771] Analyzer diagnostics should not say ""

2021-03-31 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99771 --- Comment #3 from David Malcolm --- The above patch fixes some of the occurrences of the bug (due to (b)), but not those due to (a), so keeping this bug open.

[Bug middle-end/78081] -Wmaybe-initialized false-alarm regression for Emacs regex.c (jump threading fallout)

2021-03-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78081 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Known to f

[Bug middle-end/78081] -Wmaybe-initialized false-alarm regression for Emacs regex.c (jump threading fallout)

2021-03-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78081 --- Comment #5 from Martin Sebor --- But... the reduced test case started triggering -Wmaybe-uninitialized in r11-3685 while the original test case always has, so maybe I went too far with the reduction and there are actually two bugs going on he

[Bug middle-end/78370] taking address of a var causes missing uninitialized warning

2021-03-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78370 Martin Sebor changed: What|Removed |Added Known to fail||10.2.0, 11.0, 6.3.0, 7.0.1,

[Bug middle-end/19430] taking address of a var causes missing uninitialized warning (virtual PHI with MEM)

2021-03-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430 Martin Sebor changed: What|Removed |Added CC||scott.d.phillips at intel dot com --- Co

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

2021-03-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 78370, which changed state. Bug 78370 Summary: taking address of a var causes missing uninitialized warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78370 What|Removed |Added ---

[Bug middle-end/78391] g++ (any version) at O0 (for O1, O2, O3 is ok) doesn't warn when class members are used uninitialized.

2021-03-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78391 Martin Sebor changed: What|Removed |Added Known to fail||10.2.0, 11.0, 7.3.0, 8.3.0,

[Bug c++/78391] g++ (any version) at O0 (for O1, O2, O3 is ok) doesn't warn when class members are used uninitialized.

2021-03-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78391 Martin Sebor changed: What|Removed |Added Component|middle-end |c++ Severity|enhancement

[Bug tree-optimization/99856] [9/10/11 Regression] Alpha Compositing auto vectorization regression

2021-03-31 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99856 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-04-01 Component|c

[Bug middle-end/99857] [11 Regression] FAIL: libgomp.c/declare-variant-1.c (test for excess errors) by r11-7926

2021-03-31 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99857 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/99861] New: [modules] ICE in hashtab_chk_error

2021-03-31 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
ropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. g++ (GCC) 11.0.1 20210331 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty

[Bug c++/99737] [modules] malloc(): smallbin double linked list corrupted

2021-03-31 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99737 --- Comment #4 from Alexander Lelyakin --- Today's sequence is: /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header tuple /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header set /usr/local/bin/g++ -std=c++20 -fmodules

[Bug fortran/99840] [9/10/11 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4777

2021-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99840 --- Comment #9 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d7cef070bf43bfb3f3d77bac42eadea06c4b0281 commit r11-7943-gd7cef070bf43bfb3f3d77bac42eadea06c4b0281 Author: Harald Anlauf Date: Th

[Bug c++/99855] [modules] ICE Error reporting routines re-entered.

2021-03-31 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99855 --- Comment #6 from Alexander Lelyakin --- Today this message was not seen.

[Bug fortran/99840] [9/10/11 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4777

2021-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99840 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:591b5c903f8d3fc73caa403038cbd680b367f23b commit r10-9648-g591b5c903f8d3fc73caa403038cbd680b367f23b Author: Harald Anlauf

[Bug c++/99805] filesystem::path::parent_path got a wrong path

2021-03-31 Thread drfeng08 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99805 --- Comment #2 from hao an --- (In reply to Jonathan Wakely from comment #1) > I cannot reproduce this with upstream GCC. This looks like a bug in > devtoolset-10, so I'll report it to Red Hat's bugzilla instead. Hi, I reproduce it in ubuntu , w

[Bug lto/99849] ICE in expand_expr_real_1, at expr.c:11556 since r5-5407-g30d5d8c5189064c8

2021-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99849 --- Comment #2 from Richard Biener --- We're outputting the initializer of mlx5_ib_object_MLX5_IB_OBJECT_VAR which looks like {.cleanup=&<<< Unknown tree: compound_literal_expr extern const struct uverbs_obj_idr_type __compound_literal.0 = {

[Bug c++/99850] [P1102R2] reject valid lambda syntax in C++23

2021-03-31 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99850 --- Comment #4 from 康桓瑋 --- This ICE may be caused by not handle this form. template concept C = true; auto l = [] requires (C && ...) -> void {}; https://godbolt.org/z/vo8xPd4hY :3:48: internal compiler error: Segmentation fault 3 | aut

<    1   2   3