[Bug c++/97134] New: partial specialization not more specialized when using CNTTP

2020-09-20 Thread Darrell.Wright at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97134 Bug ID: 97134 Summary: partial specialization not more specialized when using CNTTP Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug lto/97133] New: [11 Regression] ICE: tree code 'bind_expr' is not supported in LTO streams

2020-09-20 Thread asolokha at gmx dot com
| } | ^ 0xc3d22c lto_write_tree /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/lto-streamer-out.c:554 0xc3d22c lto_output_tree_1 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/lto-streamer-out.c:592 0xc45b49 DFS::DFS

[Bug libstdc++/97132] New: assume_aligned is not constexpr

2020-09-20 Thread fsb4000 at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97132 Bug ID: 97132 Summary: assume_aligned is not constexpr Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug c/97131] New: [11 Regression] ICE: Segmentation fault (in warn_parm_ptrarray_mismatch)

2020-09-20 Thread asolokha at gmx dot com
crash_signal /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/toplev.c:327 0x8d0c5a warn_parm_ptrarray_mismatch /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/c-family/c-warn.c:3185 0x8d0c5a warn_parm_array_mismatch(unsigned int

[Bug analyzer/97130] New: [11 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:1462

2020-09-20 Thread asolokha at gmx dot com
, at analyzer/region-model.cc:1462 7 | memset (xl, 0, sizeof xl); | ^ 0x7335ac ana::region_model::deref_rvalue(ana::svalue const*, tree_node*, ana::region_model_context*) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/analyzer/region

[Bug rtl-optimization/97129] New: [11 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2405

2020-09-20 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97129 Bug ID: 97129 Summary: [11 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2405 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/97128] Uninitialized members of base class wrongly allowed in constexpr constructor in c++17 mode

2020-09-20 Thread feodor.alexeev+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97128 --- Comment #2 from Fedor Alekseev --- Also my initial claim about c++20 was wrong, gcc 10+ generates the error when provided with -std=c++2a switch. Still there is a problem in c++17 mode.

[Bug c++/97128] Uninitialized members of base class wrongly allowed in constexpr constructor

2020-09-20 Thread feodor.alexeev+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97128 --- Comment #1 from Fedor Alekseev --- Sorry, the link in the initial comment led to a slightly less minimal example. Here's a link to the code from the initial comment in CE: https://godbolt.org/z/dWP1sh

[Bug c++/97128] New: Uninitialized members of base class wrongly allowed in constexpr constructor

2020-09-20 Thread feodor.alexeev+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97128 Bug ID: 97128 Summary: Uninitialized members of base class wrongly allowed in constexpr constructor Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2020-09-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 Eric Gallager changed: What|Removed |Added Keywords||documentation --- Comment #28 from Eric

[Bug c++/87729] Please include -Woverloaded-virtual in -Wall

2020-09-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug lto/57703] Assembler function definition moved to a different ltrans then call

2020-09-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57703 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug libstdc++/97101] noexcept specifier in std::bind_front()

2020-09-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97101 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3c755b428e188228d0bad90625c995fd25a02322 commit r11-3312-g3c755b428e188228d0bad90625c995fd25a02322 Author: Jonathan Wakely Date:

[Bug libstdc++/97044] Undefined format macros because of include order on AIX

2020-09-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97044 --- Comment #2 from Jonathan Wakely --- Specifically, C99 7.8.1 footnote 182 says: "C++ implementations should define these macros only when _ _STDC_FORMAT_MACROS is defined before is included." The footnote is not present in C11. C++11

[Bug libstdc++/97101] noexcept specifier in std::bind_front()

2020-09-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97101 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug c/97125] [11 Regression] new problem with -Wduplicated-branches

2020-09-20 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97125 --- Comment #6 from sandra at gcc dot gnu.org --- Yeah, that looks like an easy fix. Thanks for tracking it down.

[Bug fortran/97123] double free detected in tcache 2 with recursive allocatable type

2020-09-20 Thread igor.gayday at mu dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97123 --- Comment #1 from Igor Gayday --- Might be related to Bug #90519.

[Bug target/97127] New: FMA3 code transformation leads to slowdown on Skylake

2020-09-20 Thread already5chosen at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97127 Bug ID: 97127 Summary: FMA3 code transformation leads to slowdown on Skylake Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/97125] [11 Regression] new problem with -Wduplicated-branches

2020-09-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97125 --- Comment #5 from Marek Polacek --- I think we just want to call do_warn_duplicated_branches_r after we've lowered control statements: --- a/gcc/c-family/c-gimplify.c +++ b/gcc/c-family/c-gimplify.c @@ -533,10 +533,6 @@ c_genericize (tree

[Bug c/97125] [11 Regression] new problem with -Wduplicated-branches

2020-09-20 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97125 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug c++/85577] list-initialization chooses initializer-list constructor

2020-09-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85577 Jonathan Wakely changed: What|Removed |Added CC||amir.ahmed.ansari at outlook dot c

[Bug c++/97055] Copy and move constructors shadowed by templatized constructor

2020-09-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97055 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug libstdc++/97044] Undefined format macros because of include order on AIX

2020-09-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97044 --- Comment #1 from Jonathan Wakely --- The C99 standard says that __STDC_FORMATE_MACROS must be defined before including the header. The C++11 standard is clear that __STDC_FORMAT_MACROS has no effect in C++ programs, and the header must

[Bug c/97125] [11 Regression] new problem with -Wduplicated-branches

2020-09-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97125 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug libstdc++/97088] 17_intro/names.cc and experimental/names.cc fail with --disable-libstdcxx-pch

2020-09-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97088 --- Comment #3 from Jonathan Wakely --- (In reply to Christophe Lyon from comment #2) > OK, so you mean that prototypes like > extern int __isinff (float x); > should not name their parameters? I can certainly submit the simple patch to >

[Bug c/97125] [11 Regression] new problem with -Wduplicated-branches

2020-09-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97125 --- Comment #3 from Marek Polacek --- We crash because now the C FE uses a SWITCH_STMT in the else branch: 2766 /* Compute the hash of the else branch. */ 2767 inchash::hash hstate1 (0); 2768 inchash::add_expr (elseb, hstate1); 2769

[Bug c++/90199] ICE: tree check: expected complex_cst, have plus_expr in output_constant, at varasm.c:4994

2020-09-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90199 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/90199] ICE: tree check: expected complex_cst, have plus_expr in output_constant, at varasm.c:4994

2020-09-20 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90199 --- Comment #3 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:0968df43cdd7cbb154c021cd32a7cac25a19aff7 commit r11-3310-g0968df43cdd7cbb154c021cd32a7cac25a19aff7 Author: Marek Polacek Date:

[Bug c++/90199] ICE: tree check: expected complex_cst, have plus_expr in output_constant, at varasm.c:4994

2020-09-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90199 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/97126] gcc-9 and and above ICEs on 'no_unique_address': internal compiler error: in output_constructor_regular_field, at varasm.c:5402

2020-09-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97126 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/96863] [9/10/11 Regression] ICE: in output_constructor_regular_field, at varasm.c:5223

2020-09-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96863 Marek Polacek changed: What|Removed |Added CC||slyfox at gcc dot gnu.org --- Comment

[Bug c++/96863] [9/10/11 Regression] ICE: in output_constructor_regular_field, at varasm.c:5223

2020-09-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96863 --- Comment #4 from Marek Polacek --- struct b { constexpr b() : c() {} [[no_unique_address]] struct a {} c; }; struct d { constexpr d() : c() {} int c; }; struct e : b, d {}; class f { float g = 1.0f; e h; } i;

[Bug c/97125] [11 Regression] new problem with -Wduplicated-branches

2020-09-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97125 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Target

[Bug c/97125] [11 Regression] new problem with -Wduplicated-branches

2020-09-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97125 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/97045] A wrong column is selected when addressing individual elements of unlimited polymorphic dummy argument

2020-09-20 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97045 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org

[Bug c++/97126] New: gcc-9 and and above ICEs on 'no_unique_address': internal compiler error: in output_constructor_regular_field, at varasm.c:5402

2020-09-20 Thread slyfox at gcc dot gnu.org
S='-O0 -ggdb3 ' --enable-valgrind-annotations Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.0.0 20200920 (experimental) (GCC)

[Bug bootstrap/97124] ICE when bootstrapping GCC on x86_64-w64-mingw32

2020-09-20 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97124 --- Comment #1 from Liu Hao --- MSYS2 has this patch [1]. Should it be incorporated by GCC somehow? [1] https://github.com/msys2/MINGW-packages/commit/0b2f1460ea3b72aa6cf4f263ace52f61a3470afe

[Bug c/97125] new problem with -Wduplicated-branches

2020-09-20 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97125 --- Comment #1 from David Binderman --- Reduced code is void a() { if (0) a; else switch (0) ; }

[Bug c/97125] New: new problem with -Wduplicated-branches

2020-09-20 Thread dcb314 at hotmail dot com
918 and 20200920. I'll have a go at reducing it.

[Bug bootstrap/97124] New: ICE when bootstrapping GCC on x86_64-w64-mingw32

2020-09-20 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97124 Bug ID: 97124 Summary: ICE when bootstrapping GCC on x86_64-w64-mingw32 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3