[Bug middle-end/94004] [8/9/10 Regression] missing -Walloca on calls to alloca due to -Wno-system-headers

2020-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94004 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug tree-optimization/88970] ICE: verify_ssa failed (error: definition in block 2 follows the use)

2020-03-02 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88970 --- Comment #3 from Arseny Solokha --- (In reply to Arseny Solokha from comment #0) > But it may have a number of duplicates already… …like recently fixed PR86216 and still open but unreproducible PR79627?

[Bug analyzer/94011] New: ICE in validate, at analyzer/region-model.cc:3727

2020-03-02 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94011 Bug ID: 94011 Summary: ICE in validate, at analyzer/region-model.cc:3727 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug tree-optimization/93927] ICE: 'verify_gimple' failed (error: invalid conversion in gimple call)

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93927 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a422f68924dbe9e0d8c4b0a0acbbadeaf0965d49 commit r10-6986-ga422f68924dbe9e0d8c4b0a0acbbadeaf0965d49 Author: Jakub Jelinek Date: Tu

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-03-02 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #41 from fdlbxtqi --- (In reply to Jonathan Wakely from comment #38) > We could also use memcmp for std::equal when it's using std::equal_to<> or > std::equal_to<_ValueType1> or std::equal_to<_ValueType2>, and for > std::lexicographic

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-03-02 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #39 from fdlbxtqi --- (In reply to Jonathan Wakely from comment #38) > We could also use memcmp for std::equal when it's using std::equal_to<> or > std::equal_to<_ValueType1> or std::equal_to<_ValueType2>, and for > std::lexicographic

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-03-02 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #40 from fdlbxtqi --- to_address(__first),to_address(__second) to_address(__first1),to_address(__first2)

[Bug c++/94008] "use of deleted function" error when using "std::unique_ptr", std::move() and lambda

2020-03-02 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94008 Nicholas Krause changed: What|Removed |Added CC||xerofoify at gmail dot com --- Comment

[Bug tree-optimization/94010] New: [missed optimization] -fmerge-all-constants misses simple array merging

2020-03-02 Thread aleksey.covacevice at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94010 Bug ID: 94010 Summary: [missed optimization] -fmerge-all-constants misses simple array merging Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/52590] std::thread Segmentation fault static linking

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52590 Andrew Pinski changed: What|Removed |Added CC||fengshenjun at yeah dot net --- Comment

[Bug libstdc++/94009] program (which use condition_variable) segment fault when compile with -static

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94009 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from Andrew Pin

[Bug libstdc++/94009] program (which use condition_variable) segment fault when compile with -static

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94009 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|c++

[Bug c++/94009] New: program (which use condition_variable) segment fault when compile with -static

2020-03-02 Thread fengshenjun at yeah dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94009 Bug ID: 94009 Summary: program (which use condition_variable) segment fault when compile with -static Product: gcc Version: unknown Status: UNCONFIRMED Severity

[Bug c++/94008] New: "use of deleted function" error when using "std::unique_ptr", std::move() and lambda

2020-03-02 Thread xxhdx1985126 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94008 Bug ID: 94008 Summary: "use of deleted function" error when using "std::unique_ptr", std::move() and lambda Product: gcc Version: 8.3.1 Status: UNCONFIRMED Seve

[Bug libstdc++/94007] Appending a view into a string to the same string

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94007 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/94007] New: Appending a view into a string to the same string

2020-03-02 Thread philwill at fb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94007 Bug ID: 94007 Summary: Appending a view into a string to the same string Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/90732] [9 Regression] ICE with std::apply after variable length array

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90732 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/16994] [meta-bug] VLA and C++

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 90732, which changed state. Bug 90732 Summary: [9 Regression] ICE with std::apply after variable length array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90732 What|Removed |Added

[Bug tree-optimization/94006] Poor codegen for cond ? lval1 : lval2

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94006 --- Comment #2 from Andrew Pinski --- I thought SRA would have done it. BUT it does not. The C front-end does the optimization while it is gimplifying the original tree for some reason ...

[Bug tree-optimization/94006] Poor codegen for cond ? lval1 : lval2

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

[Bug tree-optimization/90883] Generated code is worse if returned struct is unnamed

2020-03-02 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 --- Comment #32 from Jim Wilson --- The proposed patch looks OK to me. I suggest you submit it to gcc-patches.

[Bug tree-optimization/93986] [10 Regression] ICE in decompose, at wide-int.h:984 since r10-5451

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93986 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor -

[Bug tree-optimization/94006] New: Poor codegen for cond ? lval1 : lval2

2020-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94006 Bug ID: 94006 Summary: Poor codegen for cond ? lval1 : lval2 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Prior

[Bug debug/94005] New: gcc generates wrong debug information at -Og

2020-03-02 Thread qrzhang at gatech dot edu
fine. $ gcc-trunk -v gcc version 10.0.1 20200302 (experimental) [master revision 778a77357ca:87d8bb8fb8c:917e56a94f9d3189d7fa9d1944b7513258195887] (GCC) #correct value: $ gcc-trunk -g abc.c $ gdb -x cmds -batch a.out Breakpoint 1 at 0x4004ec: file abc.c, line 11. Breakpoint 1, i () at abc.c:11

[Bug analyzer/93959] g++.dg/analyzer/malloc.C FAILs

2020-03-02 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93959 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/93959] g++.dg/analyzer/malloc.C FAILs

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93959 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:9f00b22f98ec0688fcd9816a03aa3f7eea58bcf7 commit r10-6981-g9f00b22f98ec0688fcd9816a03aa3f7eea58bcf7 Author: David Malcolm Date: Th

[Bug c++/93442] [8/9 Regression] lambda in if constexpr fails to compile since r8-5529

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93442 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86917] [8/9 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/16994] [meta-bug] VLA and C++

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 88256, which changed state. Bug 88256 Summary: [8/9 Regression] ICE: Segmentation fault (in make_ssa_name_fn) with VLA cast, C++ FE missing DECL_EXPRs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88256 What

[Bug c++/81862] [C++11][constexpr] Constructor Parenthesized Initialization of Member Array Crash

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81862 Bug 81862 depends on bug 86917, which changed state. Bug 86917 Summary: [8/9 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 What|Removed |Added

[Bug c++/55004] [meta-bug] constexpr issues

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 86917, which changed state. Bug 86917 Summary: [8/9 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 What|Removed |Added

[Bug c++/88256] [8/9 Regression] ICE: Segmentation fault (in make_ssa_name_fn) with VLA cast, C++ FE missing DECL_EXPRs

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88256 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/90333] [9 Regression] Can't apply attributes to lambdas with trailing returns

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90333 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86917] [8/9 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:054aeaef276572c2ccbedbd7aa86046be338603c commit r9-8324-g054aeaef276572c2ccbedbd7aa86046be338603c Author: Jason Merrill Da

[Bug c++/92601] [9 Regression] error: type variant differs by TYPE_NEEDS_CONSTRUCTING

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92601 --- Comment #2 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:9d5df8e3221c5fe5c8aca0334655b075bd9ea556 commit r9-8321-g9d5df8e3221c5fe5c8aca0334655b075bd9ea556 Author: Jason Merrill Dat

[Bug c++/90333] [9 Regression] Can't apply attributes to lambdas with trailing returns

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90333 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:166c024a1969ca9e77ed450fb65ce5c926a315dc commit r9-8318-g166c024a1969ca9e77ed450fb65ce5c926a315dc Author: Jason Merrill Dat

[Bug c++/88256] [8/9 Regression] ICE: Segmentation fault (in make_ssa_name_fn) with VLA cast, C++ FE missing DECL_EXPRs

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88256 --- Comment #15 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f137a7c6b122e524294fb792bb97d5f3b0600c4f commit r9-8322-gf137a7c6b122e524294fb792bb97d5f3b0600c4f Author: Jason Merrill Da

[Bug c++/90732] [9 Regression] ICE with std::apply after variable length array

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90732 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:1ccbda907d1fd3a202ff2bd951828cc97abb1a8d commit r9-8319-g1ccbda907d1fd3a202ff2bd951828cc97abb1a8d Author: Jason Merrill Dat

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:166c024a1969ca9e77ed450fb65ce5c926a315dc commit r9-8318-g166c024a1969ca9e77ed450fb65ce5c926a315dc Author: Jason Merrill Da

[Bug c++/60503] gcc looks for C++ attributes in the wrong place in a lambda-expression

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60503 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:166c024a1969ca9e77ed450fb65ce5c926a315dc commit r9-8318-g166c024a1969ca9e77ed450fb65ce5c926a315dc Author: Jason Merrill Dat

[Bug c++/93442] [8/9 Regression] lambda in if constexpr fails to compile since r8-5529

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93442 --- Comment #4 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e83a2d943a1affc8d945430b8feca290169fe3d7 commit r9-8320-ge83a2d943a1affc8d945430b8feca290169fe3d7 Author: Jason Merrill Dat

[Bug c++/91953] [8/9 Regression] G++ rejects lambda with constexpr variable

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b4e53e9b3c963b1c0fe9637618dec8042764f599 commit r9-8323-gb4e53e9b3c963b1c0fe9637618dec8042764f599 Author: Jason Merrill Dat

[Bug rtl-optimization/94002] [9/10 Regression] ICE: in decompose, at rtl.h:2279 with -O -fPIC -fno-tree-dce -fno-tree-reassoc

2020-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94002 Jakub Jelinek changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned a

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

2020-03-02 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93871 --- Comment #36 from Steve Kargl --- On Mon, Mar 02, 2020 at 11:20:56AM +, thenlich at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93871 > > --- Comment #35 from Thomas Henlich --- > (In reply to Steve Kargl from c

[Bug c++/91678] [9 Regression] decltype returns wrong type under certain conditions

2020-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91678 --- Comment #9 from Marek Polacek --- I'm not sure yet -- I remember issues I'd seen with the patch, but those issues were somehow resolved, so the maybe_lvalue_p bit was all that was needed on trunk. I need to do a regtest/bootstrap on 9 to see

[Bug c++/91678] [9 Regression] decltype returns wrong type under certain conditions

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91678 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #8

[Bug target/93997] [10 Regression] ICE: maximum number of generated reload insns per insn achieved (90) since r10-2156-g82534f65d86d48da

2020-03-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93997 Uroš Bizjak changed: What|Removed |Added Status|NEW |RESOLVED CC|ubizjak at gma

[Bug target/93997] [10 Regression] ICE: maximum number of generated reload insns per insn achieved (90) since r10-2156-g82534f65d86d48da

2020-03-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93997 --- Comment #4 from Uroš Bizjak --- Fixed.

[Bug tree-optimization/93986] [10 Regression] ICE in decompose, at wide-int.h:984 since r10-5451

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93986 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/93982] [10 Regression] Assignment incorrectly omitted by -foptimize-strlen since r10-2528

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93982 Martin Sebor changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug rtl-optimization/93974] [10 Regression] ICE in decompose_normal_address, at rtlanal.c:6403 on powerpc64le-linux-gnu since r10-6762

2020-03-02 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93974 Peter Bergner changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Comment

[Bug target/93997] [10 Regression] ICE: maximum number of generated reload insns per insn achieved (90) since r10-2156-g82534f65d86d48da

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93997 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:b80cbe2d8d46c8518dca2d781c8ee4d02c5ba1ed commit r10-6979-gb80cbe2d8d46c8518dca2d781c8ee4d02c5ba1ed Author: Uros Bizjak Date: Mon Ma

[Bug c++/93989] [c++20] Error initializing trivial types in constexpr constructor

2020-03-02 Thread kingoipo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93989 --- Comment #5 from Michael de Lang --- Created attachment 47953 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47953&action=edit self-contained minimal test case I managed to reduce the test case to a single file, which also produces the

[Bug tree-optimization/80635] [8/9/10 regression] std::optional and bogus -Wmaybe-uninitialized warning

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 --- Comment #48 from Andrew Pinski --- (In reply to Jeffrey A. Law from comment #47) > Martin, yea, your patch does prevent creation of the V_C_E. That in turn > allows maybe_a$live_7 to be directly used in the conditional which in turn > allows

[Bug tree-optimization/93982] [10 Regression] Assignment incorrectly omitted by -foptimize-strlen since r10-2528

2020-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93982 Jakub Jelinek changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c++/93279] [9 Regression] C++ Template substitution ICE

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93279 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/93982] [10 Regression] Assignment incorrectly omitted by -foptimize-strlen since r10-2528

2020-03-02 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93982 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug tree-optimization/93982] [10 Regression] Assignment incorrectly omitted by -foptimize-strlen since r10-2528

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93982 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug preprocessor/92982] cpp_string_location_reader :: m_line_table seems redundant ?

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92982 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:f26688fbe441375e907f0dd2f35837681870b1f4 commit r10-6978-gf26688fbe441375e907f0dd2f35837681870b1f4 Author: Martin Sebor Date: Mon

[Bug c++/71283] Inconsistent location for C++ warning options in the manual

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71283 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|msebor at gcc dot

[Bug tree-optimization/80635] [8/9/10 regression] std::optional and bogus -Wmaybe-uninitialized warning

2020-03-02 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 --- Comment #47 from Jeffrey A. Law --- Martin, yea, your patch does prevent creation of the V_C_E. That in turn allows maybe_a$live_7 to be directly used in the conditional which in turn allows tree-ssa-uninit.c to realize the problematic path

[Bug tree-optimization/93927] ICE: 'verify_gimple' failed (error: invalid conversion in gimple call)

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93927 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/93998] [10 Regression] ICE in adjust_temp_type, at cp/constexpr.c:1426

2020-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93998 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/93992] fail to compile specialization of inner class with template template parameter pack

2020-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93992 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|UNCONFIRMED Assignee|jakub at

[Bug c++/93992] fail to compile specialization of inner class with template template parameter pack

2020-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93992 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug inline-asm/93981] No EH information generated for asm statements

2020-03-02 Thread jwjagersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93981 jwjagersma at gmail dot com changed: What|Removed |Added Attachment #47941|0 |1 is obsolete|

[Bug c++/93958] gcc trunk supports -std=c++20 but not -std=gnu++20

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

[Bug c++/93958] gcc trunk supports -std=c++20 but not -std=gnu++20

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93958 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:e78e50d57edf4e0e49576a7a31b01477eed08223 commit r10-6977-ge78e50d57edf4e0e49576a7a31b01477eed08223 Author: Marek Polacek Date: Sa

[Bug fortran/93486] ICE on valid with nested submodules and long submodule names

2020-03-02 Thread abensonca at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93486 Andrew Benson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/93486] ICE on valid with nested submodules and long submodule names

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93486 --- Comment #4 from CVS Commits --- The master branch has been updated by Andrew Benson : https://gcc.gnu.org/g:f3c276aec26d9e406cc4bbf0e18b1105df63f0ee commit r10-6976-gf3c276aec26d9e406cc4bbf0e18b1105df63f0ee Author: Andrew Benson Date: Mo

[Bug middle-end/94004] [8/9/10 Regression] missing -Walloca on calls to alloca due to -Wno-system-headers

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94004 --- Comment #2 from Martin Sebor --- Bisection points to r254630 which doesn't look related to -Walloca: commit 025d57f037ad13eb479818b677ef4be4d97b639c Author: Martin Sebor Date: Fri Nov 10 16:35:26 2017 + PR c/81117 - Improve buffe

[Bug c++/93998] [10 Regression] ICE in adjust_temp_type, at cp/constexpr.c:1426

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

[Bug middle-end/94004] [8/9/10 Regression] missing -Walloca on calls to alloca due to -Wno-system-headers

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94004 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Known to work|

[Bug tree-optimization/93971] std::string considered to alias declared objects of incompatible types

2020-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93971 --- Comment #10 from Jonathan Wakely --- Using std::string as a dynamically-resizable buffer of bytes isn't completely unreasonable, although I can't see many reasons to prefer std::string to std::vector for that purpose. For either type, it mig

[Bug libstdc++/93972] ranges::lexicographical_compare gives wrong answer for signed integers

2020-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93972 --- Comment #5 from Jonathan Wakely --- Even more fixed now.

[Bug rtl-optimization/94002] [9/10 Regression] ICE: in decompose, at rtl.h:2279 with -O -fPIC -fno-tree-dce -fno-tree-reassoc

2020-03-02 Thread zsojka at seznam dot cz
hms: zlib zstd gcc version 10.0.1 20200302 (experimental) (GCC) I verified I uploaded the correct testcase. $ md5sum testcase.c 7bb83f9b5b51256c6151de99df6d6d58 testcase.c

[Bug libstdc++/93972] ranges::lexicographical_compare gives wrong answer for signed integers

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93972 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d112e173ea093f55a16a14b26ef65088381ee09c commit r10-6975-gd112e173ea093f55a16a14b26ef65088381ee09c Author: Jonathan Wakely Date:

[Bug c++/94003] is_constructible seems to have sideeffects

2020-03-02 Thread julius_huelsmann at freenet dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94003 --- Comment #1 from Julius Hülsmann --- Created attachment 47949 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47949&action=edit preprocessed file (g++ --save-temps file.cc) This contains the preprocessed file generated via g++ --save-tem

[Bug middle-end/94004] New: missing -Walloca on calls to alloca due to -Wno-system-headers

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94004 Bug ID: 94004 Summary: missing -Walloca on calls to alloca due to -Wno-system-headers Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/94003] New: is_constructible seems to have sideeffects

2020-03-02 Thread julius_huelsmann at freenet dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94003 Bug ID: 94003 Summary: is_constructible seems to have sideeffects Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/93832] [8/9/10 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100

2020-03-02 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93832 markeggleston at gcc dot gnu.org changed: What|Removed |Added CC||markeggleston at gcc do

[Bug tree-optimization/93971] std::string considered to alias declared objects of incompatible types

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93971 --- Comment #9 from Martin Sebor --- The possibility of storing something other than char in std::string never entered my mind, and I'm pretty sure the container was never meant for that. But whether the standard has all the restrictions in plac

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #38 from Jonathan Wakely --- We could also use memcmp for std::equal when it's using std::equal_to<> or std::equal_to<_ValueType1> or std::equal_to<_ValueType2>, and for std::lexicographical_compare when it's using std::less<> or std:

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #37 from Jonathan Wakely --- Similarly, the condition for using memcmp in std::equal is too strict: typedef typename iterator_traits<_II1>::value_type _ValueType1; typedef typename iterator_traits<_II2>::value_type _Value

[Bug rtl-optimization/93974] [10 Regression] ICE in decompose_normal_address, at rtlanal.c:6403 on powerpc64le-linux-gnu since r10-6762

2020-03-02 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93974 --- Comment #13 from Vladimir Makarov --- (In reply to Peter Bergner from comment #4) > I'm CCing Vlad, since I need some guidance/help for some LRA questions. > > Vlad, do you have some guidance on what should be done when we see > an address l

[Bug inline-asm/93981] No EH information generated for asm statements

2020-03-02 Thread jwjagersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93981 --- Comment #13 from jwjagersma at gmail dot com --- Is there some point at which debug statements are supposed to be copied over to the next BBs? That appears to be what maybe_move_debug_stmts_to_successors (tree-inline.c:2799) does, but it is on

[Bug c++/93998] [10 Regression] ICE in adjust_temp_type, at cp/constexpr.c:1426

2020-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93998 --- Comment #4 from Marek Polacek --- It's the new 5452 /* Avoid evaluating a TARGET_EXPR more than once. */ 5453 if (tree *p = ctx->global->values.get (TARGET_EXPR_SLOT (t))) 5454 { 5455 if (lval) 5456

[Bug libstdc++/86976] [meta-bug] Issues with std::time_get, std::time_put etc.

2020-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86976 Bug 86976 depends on bug 93991, which changed state. Bug 93991 Summary: FAIL: 22_locale/time_get/get_time/char/2.cc execution test - 'errorstate == ios_base::eofbit' failed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93991 What|R

[Bug libstdc++/93991] FAIL: 22_locale/time_get/get_time/char/2.cc execution test - 'errorstate == ios_base::eofbit' failed

2020-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93991 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED See Also|

[Bug libstdc++/71367] std::time_get does not implement 'r' or 'p'

2020-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71367 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/92305] [10 regression] libgomp.fortran/use_device_addr-1.f90 fails starting with r277606

2020-03-02 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92305 Thomas Schwinge changed: What|Removed |Added Assignee|burnus at gcc dot gnu.org |jakub at gcc dot gnu.org --- Co

[Bug fortran/92844] [10 regression] libgomp.fortran/use_device_ptr-optional-2.f90 fails after r279004

2020-03-02 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92844 Thomas Schwinge changed: What|Removed |Added Keywords||openmp CC|

[Bug libstdc++/93991] FAIL: 22_locale/time_get/get_time/char/2.cc execution test - 'errorstate == ios_base::eofbit' failed

2020-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93991 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/93991] FAIL: 22_locale/time_get/get_time/char/2.cc execution test - 'errorstate == ios_base::eofbit' failed

2020-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93991 Jonathan Wakely changed: What|Removed |Added Target|hppa-unknown-linux-gnu |*-*-linux-gnu Host|hppa-

[Bug inline-asm/93981] No EH information generated for asm statements

2020-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93981 --- Comment #12 from Richard Biener --- (In reply to jwjagersma from comment #11) > (In reply to Richard Biener from comment #10) > > Some stmt-ends-BB predicates are probably off for asms. > > For stmt_ends_bb_p (tree-cfg.c:2763) the call chain

[Bug tree-optimization/93946] Bogus redundant store removal

2020-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93946 --- Comment #6 from Richard Biener --- Created attachment 47948 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47948&action=edit DSE part I'm now testing the combined (and will squash if that succeeds).

[Bug rtl-optimization/94002] [9/10 Regression] ICE: in decompose, at rtl.h:2279 with -O -fPIC -fno-tree-dce -fno-tree-reassoc

2020-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94002 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.3

[Bug tree-optimization/93946] Bogus redundant store removal

2020-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93946 Richard Biener changed: What|Removed |Added Attachment #47922|0 |1 is obsolete|

[Bug c++/93998] [10 Regression] ICE in adjust_temp_type, at cp/constexpr.c:1426

2020-03-02 Thread ostash at ostash dot kiev.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93998 --- Comment #3 from Viktor Ostashevskyi --- Bisected to: ee1de08d4d22648cf3168caa60e283135755da85 is the first bad commit commit ee1de08d4d22648cf3168caa60e283135755da85 Author: Jakub Jelinek Date: Tue Dec 3 20:27:47 2019 +0100 re PR c++

[Bug ipa/94001] [10 Regression] ICE: in fold_convert_loc, at fold-const.c:2435 at -O2

2020-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94001 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

  1   2   >