[Bug c++/93842] generic lambda accesses a variable with with automatic storage duration that wasn't captured by the lambda expression

2020-02-23 Thread kuzniar95 at o2 dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93842 --- Comment #4 from kuzniar95 at o2 dot pl --- I meant that dropping constness: char ch = '='; // OK results in an error: lambda.cpp: In lambda function: lambda.cpp:4:23: error: ‘ch’ is not captured 4 | [](auto) { return ch; }; // OK

[Bug libstdc++/93892] New: Aggregate initialisation of std::array takes forever to compile

2020-02-23 Thread zoid at riseup dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93892 Bug ID: 93892 Summary: Aggregate initialisation of std::array takes forever to compile Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/93893] New: MIPS32r2: GCC is unable to figure out that it can use a single INS instruction instead of SLL+OR

2020-02-23 Thread siarhei.siamashka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93893 Bug ID: 93893 Summary: MIPS32r2: GCC is unable to figure out that it can use a single INS instruction instead of SLL+OR Product: gcc Version: 9.2.0 Status: UNCONFIRMED

[Bug c++/84364] [8 Regression] -Weffc++ warns on "return *this" in template after r253599

2020-02-23 Thread icegood1980 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84364 icegood1980 at gmail dot com changed: What|Removed |Added CC||icegood1980 at gmail dot c

[Bug c/93894] New: -Wimplicit-fallthrough false warning with operator %

2020-02-23 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93894 Bug ID: 93894 Summary: -Wimplicit-fallthrough false warning with operator % Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c/82283] Wrong warning with -Wmissing-field-initializers

2020-02-23 Thread yann at droneaud dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82283 --- Comment #5 from Yann Droneaud --- For a full combo, here's the almost original code that trigger the two errors above with GLibc < 2.28, only one with newer Glibc. #define _GNU_SOURCE 1 #include #include #include int

[Bug c/93894] -Wimplicit-fallthrough false warning with operator %

2020-02-23 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93894 --- Comment #1 from Andreas Schwab --- case -1 is missing.

[Bug c/93894] -Wimplicit-fallthrough false warning with operator %

2020-02-23 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93894 --- Comment #2 from Dmitry G. Dyachenko --- `unsigned' changes nothing $ cat xxu.i int f1(int j, unsigned k) { switch (j) { case 0: switch (k % 2) { case 0: return 0; case 1: return 1;

[Bug c/93894] -Wimplicit-fallthrough false warning with operator %

2020-02-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93894 --- Comment #3 from Andrew Pinski --- The warning is not sensitive to what is being switched on. That is the inner most switch is considered as falling through as the switch is not checked for the values it will be switched on.

[Bug c/93894] -Wimplicit-fallthrough false warning with operator %

2020-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93894 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/93891] CSE where clobber writes the same value

2020-02-23 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93891 --- Comment #1 from Marc Glisse --- On the original code (I can attach it if needed, but it is large, it is resizing a std::vector with reference-counted elements) FRE3 fails to simplify MEM[(struct Handle_for *)__cur_16] ={v} {CLOBBER}; _17

[Bug fortran/93890] trailing space in diagnostic

2020-02-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93890 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/93889] missing closing parenthesis in diagnostic

2020-02-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93889 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/57710] [OOP] [F08] _vptr not set for allocatable CLASS component inside BLOCK

2020-02-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57710 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/93890] trailing space in diagnostic

2020-02-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93890 --- Comment #2 from CVS Commits --- The master branch has been updated by Thomas Kथघnig : https://gcc.gnu.org/g:7260547dbffd8e6442f99da8adf98ab0ce294e4e commit r10-6802-g7260547dbffd8e6442f99da8adf98ab0ce294e4e Author: Thomas König Date: Sun

[Bug fortran/93890] trailing space in diagnostic

2020-02-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93890 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/93889] missing closing parenthesis in diagnostic

2020-02-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93889 --- Comment #2 from CVS Commits --- The master branch has been updated by Thomas Kथघnig : https://gcc.gnu.org/g:92e8508edaccca6f33098972ce29679375c07cd6 commit r10-6803-g92e8508edaccca6f33098972ce29679375c07cd6 Author: Thomas König Date: Sun

[Bug fortran/93889] missing closing parenthesis in diagnostic

2020-02-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93889 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/88101] Implement P0528R3, C++20 cmpxchg and padding bits

2020-02-23 Thread andysem at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88101 --- Comment #2 from andysem at mail dot ru --- Another use case is C++20 atomic_ref, which may be bound to an object whose padding bits are in indeterminate state. An intrinsic to clear padding bits without altering the object value could be usefu

[Bug c++/93895] New: ICE (segmentation fault) in use of __is_constructible intrinsic

2020-02-23 Thread eric.niebler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93895 Bug ID: 93895 Summary: ICE (segmentation fault) in use of __is_constructible intrinsic Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/93895] ICE (segmentation fault) in use of __is_constructible intrinsic

2020-02-23 Thread eric.niebler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93895 --- Comment #1 from Eric Niebler --- Here is the error: repro.cpp.i: In instantiation of ‘bool bf::{anonymous}::bb, false> >’: repro.cpp.i:158:67: required from ‘df::operator Container() [with Container = view_facade, false>::outer_cursor::inn

[Bug c++/93895] [10 Regression] ICE (segmentation fault) in use of __is_constructible intrinsic

2020-02-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93895 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/93895] [10 Regression] ICE (segmentation fault) in use of __is_constructible intrinsic

2020-02-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93895 --- Comment #3 from Marek Polacek --- The ICE started with r10-3735-gcb57504a550158913258e5be8ddb991376475efb

[Bug c++/93769] Slightly wrong diagnostic message for static_asserts with no message

2020-02-23 Thread gennaro.prota+gccbugzilla at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93769 --- Comment #2 from Gennaro Prota --- (In reply to Marek Polacek from comment #1) > (In reply to Gennaro Prota from comment #0) [...] > -std=c++20 implies -std=c++17. I don't think viewing it this way is in general correct. > I suppose we

[Bug fortran/83118] [8/9/10 Regression] Bad intrinsic assignment of class(*) array component of derived type

2020-02-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83118 --- Comment #28 from Paul Thomas --- (In reply to Damian Rouson from comment #27) > Thanks, Paul! We'll test the patch. > > Damian Hi Damian, What was the outcome of the test? I have spent much of today coming to grips with git and successfu

[Bug tree-optimization/93896] New: Store merging uses SSE only for trivial types

2020-02-23 Thread msharov at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93896 Bug ID: 93896 Summary: Store merging uses SSE only for trivial types Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tre

[Bug target/93897] New: Poor trivial structure initialization code.

2020-02-23 Thread maxim.yegorushkin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897 Bug ID: 93897 Summary: Poor trivial structure initialization code. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug rtl-optimization/93564] [10 Regression] 470.lbm regresses by 25% on znver2 with -Ofast -march=native LTO and PGO since r10-6384-g2a07345c4f8dabc2

2020-02-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93564 --- Comment #2 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:3133bed5d0327e8a9cd0a601b7ecdb9de4fc825d commit r10-6804-g3133bed5d0327e8a9cd0a601b7ecdb9de4fc825d Author: Vladimir N. Makarov D

[Bug tree-optimization/93896] Store merging uses SSE only for trivial types

2020-02-23 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93896 --- Comment #1 from Marc Glisse --- Without the constructor, we get plain *this_2(D).a = {}; which is expanded as an __int128 store. With the constructor, we get MEM[(struct M *)this_2(D)].p = 0B; MEM[(struct M *)this_2(D)].sz = 0; MEM

[Bug tree-optimization/93896] Store merging uses SSE only for trivial types

2020-02-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93896 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Status|U

[Bug tree-optimization/93893] MIPS32r2: GCC is unable to figure out that it can use a single INS instruction instead of SLL+OR

2020-02-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93893 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/93897] Poor trivial structure initialization code with -O3

2020-02-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug c++/93892] Aggregate initialisation of std::array takes forever to compile

2020-02-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93892 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #1 from Andrew Pinski -

[Bug c++/93898] New: internal compiler error: in output_constructor_regular_field

2020-02-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93898 Bug ID: 93898 Summary: internal compiler error: in output_constructor_regular_field Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/93898] [9/10 Regression] internal compiler error: in output_constructor_regular_field

2020-02-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93898 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Priority|P3

[Bug target/93568] [10 regression] r10-6418 causes many ICEs

2020-02-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93568 --- Comment #4 from CVS Commits --- The releases/gcc-9 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:428a4feef8594142e5324c0f5cfc8281e43bf75a commit r9-8268-g428a4feef8594142e5324c0f5cfc8281e43bf75a Author: Michael Meissner

[Bug target/93658] [9/10 Regression] infinite loop building ghostscript and icu with -O3 on powerpc64le-linux-gnu

2020-02-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93658 --- Comment #14 from CVS Commits --- The releases/gcc-9 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:066184a282b622ac6880150eb4e42fe57881b606 commit r9-8269-g066184a282b622ac6880150eb4e42fe57881b606 Author: Peter Bergner Da

[Bug target/93658] [9/10 Regression] infinite loop building ghostscript and icu with -O3 on powerpc64le-linux-gnu

2020-02-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93658 --- Comment #15 from CVS Commits --- The releases/gcc-8 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:53efbfe030a5fda41e5e7856d76ea827dd09f49c commit r8-10050-g53efbfe030a5fda41e5e7856d76ea827dd09f49c Author: Peter Bergner D

[Bug target/93568] [10 regression] r10-6418 causes many ICEs

2020-02-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93568 --- Comment #5 from CVS Commits --- The releases/gcc-8 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:e88c006ab2b919913fcdb5a5d9db147f372cd156 commit r8-10049-ge88c006ab2b919913fcdb5a5d9db147f372cd156 Author: Michael Meissner

[Bug target/93658] [9/10 Regression] infinite loop building ghostscript and icu with -O3 on powerpc64le-linux-gnu

2020-02-23 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93658 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug driver/47785] GCC with -flto does not pass -Wa/-Xassembler options to the assembler

2020-02-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47785 --- Comment #17 from CVS Commits --- The master branch has been updated by Prathamesh Kulkarni : https://gcc.gnu.org/g:f1a681a174cdfb82e62c246d6f4add9a25fc2e43 commit r10-6807-gf1a681a174cdfb82e62c246d6f4add9a25fc2e43 Author: Prathamesh Kulkarn

[Bug analyzer/93899] New: ICE in make_region_for_type, at analyzer/region-model.cc:6094

2020-02-23 Thread asolokha at gmx dot com
/sys-devel/gcc-10.0.1_alpha20200223/work/gcc-10-20200223/gcc/analyzer/region-model.cc:6094 0x135b49c ana::region_model::add_region_for_type(ana::region_id, tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200223/work/gcc-10-20200223/gcc/analyzer/region-model.cc:6104 0x135b49c ana

[Bug libfortran/93871] COTAN is slow for complex types

2020-02-23 Thread thenlich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93871 --- Comment #17 from Thomas Henlich --- The following should give an error message, not a ICE: program test_dtrig2 real, parameter :: d = asind(1.1) print *, d end gfortran -fdec-math test_dtrig2.f90 f951.exe: internal compiler error: Segme

[Bug fortran/93736] Add .f18 and .F18 file suffixes

2020-02-23 Thread thenlich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93736 --- Comment #7 from Thomas Henlich --- This should have a test-case added, ideally by renaming an already existing test-case containing Fortran 2018 features to .f18.