[Bug c++/96926] [9/10/11 Regression] Tuple element w/ member reference to incomplete template type rejected

2021-02-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96926 --- Comment #5 from Jason Merrill --- (In reply to Jason Merrill from comment #4) > I think perhaps it's wrong to do substitution at this point because X has no > default argument. Giving it a default argument causes clang 10 to also > reject

[Bug c++/98844] Deduction guides don't inhibit the aggregate deduction candidate

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98844 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/96926] [9/10/11 Regression] Tuple element w/ member reference to incomplete template type rejected

2021-02-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96926 --- Comment #4 from Jason Merrill --- Further reduced: template struct A { using type = typename T::type; }; template class B { template ::type X> B(U); }; struct C { B b; C(); }; int main() { C c; } We run into trouble trying to

[Bug c++/98820] Placeholder (auto) non-type template parameter wrongly deduced to 'const' for class type arguments

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98820 Marek Polacek changed: What|Removed |Added Keywords||rejects-valid CC|

[Bug c++/98810] [9/10/11 Regression] [C++20] ICE in tsubst_copy, at cp/pt.c:16771

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98810 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 Summary|[C++20] ICE in

[Bug c++/98804] GCC misparses template in pack expansion as comparison

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98804 Marek Polacek changed: What|Removed |Added Last reconfirmed||2021-02-12 CC|

[Bug c++/97034] [11 Regression] ICE on C++20 code: gcc_assert failure in return type deduction (gcc/cp/pt.c:26984 in type_dependent_expression_p(tree_node*))

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97034 --- Comment #8 from Marek Polacek --- Alternative patch that I'm more happy about: --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -28761,6 +28761,7 @@ build_deduction_guide (tree type, tree ctor, tree outer_args, tsubst_flags_t com tree ded_fn =

[Bug c++/96926] [9/10/11 Regression] Tuple element w/ member reference to incomplete template type rejected

2021-02-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96926 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/97742] [10/11 Regression] endless loop with code reduced by creduce/cvise

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97742 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/97296] [10/11 Regression] g++ accepts-invalid after DR2352 fix

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97296 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/97296] [10/11 Regression] g++ accepts-invalid after DR2352 fix

2021-02-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97296 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/96078] [10/11 Regression] flatten attribute on constructor and destructor causes spurious warning

2021-02-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96078 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/98326] [10/11 Regression] ICE: in create_tmp_var, at gimple-expr.c:482, converting stateless generic-lambda to function pointer since r10-599-gc652ff8312433483

2021-02-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98326 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/96905] [10/11 Regression] ICE with consteval function: internal compiler error: in cp_gimplify_expr, at cp/cp-gimplify.c:827

2021-02-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96905 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/94546] [10 Regression] unimplemented: unexpected AST of kind nontype_argument_pack

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94546 --- Comment #6 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ac001ddd0cb635dec0145bf577ac796894bda398 commit r11-7204-gac001ddd0cb635dec0145bf577ac796894bda398 Author: Jason Merrill Date:

[Bug c++/97246] [10/11 regression] mismatched argument pack lengths since r10-7865-gaedd04caa945260e

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97246 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ac001ddd0cb635dec0145bf577ac796894bda398 commit r11-7204-gac001ddd0cb635dec0145bf577ac796894bda398 Author: Jason Merrill Date:

[Bug c++/96905] [10/11 Regression] ICE with consteval function: internal compiler error: in cp_gimplify_expr, at cp/cp-gimplify.c:827

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96905 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:86d8ecf28e6c20b3e6866a5b1551a339edc8d14d commit r10-9363-g86d8ecf28e6c20b3e6866a5b1551a339edc8d14d Author: Jason Merrill

[Bug middle-end/20408] Unnecessary code generated for empty structs

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20408 --- Comment #25 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:031e97207463710797625382baff112b6c3ade51 commit r10-9362-g031e97207463710797625382baff112b6c3ade51 Author: Jason Merrill

[Bug c++/98326] [10/11 Regression] ICE: in create_tmp_var, at gimple-expr.c:482, converting stateless generic-lambda to function pointer since r10-599-gc652ff8312433483

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98326 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:031e97207463710797625382baff112b6c3ade51 commit r10-9362-g031e97207463710797625382baff112b6c3ade51 Author: Jason Merrill

[Bug c++/97034] [11 Regression] ICE on C++20 code: gcc_assert failure in return type deduction (gcc/cp/pt.c:26984 in type_dependent_expression_p(tree_node*))

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97034 --- Comment #7 from Marek Polacek --- Candidate patch: --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -27279,7 +27279,10 @@ type_dependent_expression_p (tree expression) && DECL_UNIQUE_FRIEND_P (expression) && (!DECL_FRIEND_CONTEXT

[Bug analyzer/98969] [11 Regression] ICE: Segmentation fault (in print_mem_ref)

2021-02-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98969 --- Comment #11 from David Malcolm --- As noted above, the ICE is fixed, but the leak false positive is not yet fixed.

[Bug analyzer/98969] [11 Regression] ICE: Segmentation fault (in print_mem_ref)

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98969 --- Comment #10 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:467a48205279cab368dbeb02879e4b721516 commit r11-7202-g467a48205279cab368dbeb02879e4b721516 Author: David Malcolm Date:

[Bug analyzer/99064] [11 regression] ICE analyzer::print_mem_ref

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99064 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:467a48205279cab368dbeb02879e4b721516 commit r11-7202-g467a48205279cab368dbeb02879e4b721516 Author: David Malcolm Date:

[Bug c++/97034] [11 Regression] ICE on C++20 code: gcc_assert failure in return type deduction (gcc/cp/pt.c:26984 in type_dependent_expression_p(tree_node*))

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97034 --- Comment #6 from Marek Polacek --- (In reply to Arthur O'Dwyer from comment #5) > Is mine the same bug? Mine is also a regression (trunk crashes where GCC > 10.2 had succeeded). > > // https://godbolt.org/z/Ysh6as > struct C { void f(auto)

[Bug c++/99078] New: Optimizer moves struct initialization into loop

2021-02-11 Thread magiblot at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99078 Bug ID: 99078 Summary: Optimizer moves struct initialization into loop Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/93644] [10/11 Regression] spurious -Wreturn-local-addr with PHI of PHI

2021-02-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644 --- Comment #14 from Martin Sebor --- I looks like this might be another opportunity to use the predicate analysis from tree-ssa-uninit.c (once it's generalized).

[Bug tree-optimization/96966] [8/9/10/11 Regression] redundant memcpy not eliminated after pointer subtraction

2021-02-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96966 --- Comment #3 from Martin Sebor --- No change in GCC 11.

[Bug c/21860] Frontends should be adding DECL_EXPRs for TYPE_DECLs, at least when the type has SAVE_EXPRs in it

2021-02-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21860 Martin Sebor changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug middle-end/87296] [8/9/10/11 Regression] -Wstringop-overflow false positive due to using MEM_REF type of

2021-02-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87296 --- Comment #11 from Martin Sebor --- I should note: The changes are too intrusive to backport.

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2021-02-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 87296, which changed state. Bug 87296 Summary: [8/9/10/11 Regression] -Wstringop-overflow false positive due to using MEM_REF type of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87296 What|Removed

[Bug middle-end/87296] [8/9/10/11 Regression] -Wstringop-overflow false positive due to using MEM_REF type of

2021-02-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87296 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|8.5

[Bug middle-end/21433] The COMPONENT_REF case of expand_expr_real_1 is probably wrong

2021-02-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21433 Martin Sebor changed: What|Removed |Added Target Milestone|--- |12.0 Status|NEW

[Bug tree-optimization/99074] gcc 8 and above is crashing with dynamic_cast<>() on null pointer with optimization level -O1 and above

2021-02-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99074 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Last reconfirmed|

[Bug target/98959] ICE in extract_constrain_insn, at recog.c:2670

2021-02-11 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98959 --- Comment #17 from Peter Bergner --- (In reply to Peter Bergner from comment #16) > The question I have is, there are 2 expanders which I think we also need to > guard with similar tests. They are vsx_load_ and vsx_store_. > Segher, I assume

[Bug target/98959] ICE in extract_constrain_insn, at recog.c:2670

2021-02-11 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98959 --- Comment #16 from Peter Bergner --- (In reply to Bill Schmidt from comment #14) > We should definitely not be allowing the AltiVec "& ~16" flavors into these > patterns. I'm not certain whether your fix is the best way to achieve that, > but

[Bug middle-end/21433] The COMPONENT_REF case of expand_expr_real_1 is probably wrong

2021-02-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21433 --- Comment #3 from Martin Sebor --- Created attachment 50171 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50171=edit Proposed patch. Patched to remove the CONSTRUCTOR code and replace it with an assert that it doesn't come up. Tested

[Bug libstdc++/99077] [9/10/11 Regression] Cannot build libstdc++ with -fno-rtti

2021-02-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99077 --- Comment #2 from Jonathan Wakely --- --- a/libstdc++-v3/src/c++11/cxx11-ios_failure.cc +++ b/libstdc++-v3/src/c++11/cxx11-ios_failure.cc @@ -114,7 +114,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION __ios_failure(const char* s) : failure(s)

[Bug libstdc++/99077] [9/10/11 Regression] Cannot build libstdc++ with -fno-rtti

2021-02-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99077 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Known to fail|

[Bug libstdc++/99077] New: [9/10/11 Regression] Cannot build libstdc++ with -fno-rtti

2021-02-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99077 Bug ID: 99077 Summary: [9/10/11 Regression] Cannot build libstdc++ with -fno-rtti Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: build

[Bug c++/12277] eliminate and warn on dynamic casts with known NULL results

2021-02-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12277 Martin Sebor changed: What|Removed |Added Last reconfirmed|2017-01-11 00:00:00 |2021-2-11 Known to fail|7.0

[Bug c++/95888] [9 Regression] Regression in 9.3. GCC freezes when compiling code using boost::poly_collection::segment

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95888 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Summary|[9/10

[Bug c++/95888] [9/10 Regression] Regression in 9.3. GCC freezes when compiling code using boost::poly_collection::segment

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95888 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:60dbb46b5b3c52d0483d676eabd4dfe32110e61b commit r10-9360-g60dbb46b5b3c52d0483d676eabd4dfe32110e61b Author: Marek Polacek

[Bug c++/97246] [10/11 regression] mismatched argument pack lengths since r10-7865-gaedd04caa945260e

2021-02-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97246 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/96905] [10/11 Regression] ICE with consteval function: internal compiler error: in cp_gimplify_expr, at cp/cp-gimplify.c:827

2021-02-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96905 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug target/98959] ICE in extract_constrain_insn, at recog.c:2670

2021-02-11 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98959 --- Comment #15 from Peter Bergner --- (In reply to Jakub Jelinek from comment #10) > The important difference from my auto-host.h to your auto-host.h which > causes this ICE is that you don't have HAVE_LD_LARGE_TOC defined. > Manually

[Bug c++/81866] [8 Regression] ICE with a default template parameter which is a template class nested in a template class

2021-02-11 Thread soko.slav at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81866 --- Comment #8 from Sokolov Viacheslav --- looks like the following is the same bug: https://godbolt.org/z/1vTqs3 template struct A { template struct B { }; }; A<>::B b; results in (on trunk) : In substitution of 'template

[Bug c++/96474] Internal compiler error with template struct inside template struct

2021-02-11 Thread soko.slav at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96474 Sokolov Viacheslav changed: What|Removed |Added CC||soko.slav at yandex dot ru ---

[Bug c++/99076] Unclear error message when trailing angle bracket is missing

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99076 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/99076] New: Unclear error message when trailing angle bracket is missing

2021-02-11 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99076 Bug ID: 99076 Summary: Unclear error message when trailing angle bracket is missing Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/99041] combine creates invalid address which ICEs in decompose_normal_address

2021-02-11 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99041 --- Comment #10 from Peter Bergner --- (In reply to Peter Bergner from comment #9) > Fixed on trunk. > > I will check whether we need this on the GCC10 branch as well. I believe we > probably will. Confirmed, we need this on GCC10 as well.

[Bug c++/95888] [9/10 Regression] Regression in 9.3. GCC freezes when compiling code using boost::poly_collection::segment

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95888 Marek Polacek changed: What|Removed |Added Summary|[9/10/11 Regression]|[9/10 Regression]

[Bug c++/95888] [9/10/11 Regression] Regression in 9.3. GCC freezes when compiling code using boost::poly_collection::segment

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95888 --- Comment #8 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:88cfd531c69b3c1fe7a3c183d83cfeacc8f69402 commit r11-7197-g88cfd531c69b3c1fe7a3c183d83cfeacc8f69402 Author: Marek Polacek Date:

[Bug target/99041] combine creates invalid address which ICEs in decompose_normal_address

2021-02-11 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99041 --- Comment #9 from Peter Bergner --- Fixed on trunk. I will check whether we need this on the GCC10 branch as well. I believe we probably will.

[Bug target/99041] combine creates invalid address which ICEs in decompose_normal_address

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99041 --- Comment #8 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:2432c47970024db6410708b582a901259dabaae1 commit r11-7196-g2432c47970024db6410708b582a901259dabaae1 Author: Peter Bergner Date:

[Bug libstdc++/59048] operator== between std::string and const char* slower than strcmp

2021-02-11 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 AK changed: What|Removed |Added CC||hiraditya at msn dot com --- Comment #17 from AK

[Bug c/99075] Wrong classification of functions memchr and memcpy

2021-02-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99075 Martin Sebor changed: What|Removed |Added Resolution|--- |INVALID CC|

[Bug target/99070] ICE in extract_constrain_insn, at recog.c:2670

2021-02-11 Thread acsawdey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99070 --- Comment #4 from acsawdey at gcc dot gnu.org --- OK, I see the fail with -mcpu=power9. Looks like I botched something with addressing and allowed D-form addresses when it should be DS-form. On power10 this would result in selection of a prefix

[Bug target/99070] ICE in extract_constrain_insn, at recog.c:2670

2021-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99070 --- Comment #3 from Jakub Jelinek --- In my case (it was a cross-compiler from x86_64-linux) ../configure --target powerpc64-linux-gnu --disable-bootstrap --enable-languages=c,c++,fortran,lto

[Bug target/99070] ICE in extract_constrain_insn, at recog.c:2670

2021-02-11 Thread acsawdey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99070 acsawdey at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |acsawdey at gcc dot

[Bug fortran/98897] Erroneous procedure attribute for associate name

2021-02-11 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98897 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/98897] Erroneous procedure attribute for associate name

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98897 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:9d3b9a3e70e634c7c48bb12bb35ec8219024f98b commit r10-9358-g9d3b9a3e70e634c7c48bb12bb35ec8219024f98b Author: Paul Thomas

[Bug rtl-optimization/96264] [10/11 Regression] wrong code with -Os -fno-forward-propagate -fschedule-insns -fno-tree-ter

2021-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96264 Jakub Jelinek changed: What|Removed |Added Keywords||ra CC|

[Bug rtl-optimization/96264] [10/11 Regression] wrong code with -Os -fno-forward-propagate -fschedule-insns -fno-tree-ter

2021-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96264 --- Comment #9 from Jakub Jelinek --- So, using the r10-135 compiler, seems things go wrong during RA. In *.ira, we have: (insn 35 34 217 2 (parallel [ (set (reg:DI 544 [ _29 ]) (minus:DI (reg:DI 542 [ _26 ])

[Bug c/99055] memory leak in warn_parm_array_mismatch

2021-02-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99055 --- Comment #2 from Martin Sebor --- Created attachment 50170 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50170=edit Valgrind leak output with patch from comment #1 applied. Attached is Valgrind leak output with the patch from comment

[Bug libstdc++/79246] [C++17] with versioned namespace: FAIL: 27_io/manipulators/standard/wchar_t/2.cc (test for excess errors)

2021-02-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79246 --- Comment #2 from Jonathan Wakely --- And this one which is probably something minor but I haven't investigated: FAIL: 30_threads/promise/requirements/lwg3466.cc (test for excess errors) Excess errors:

[Bug libstdc++/99058] Consider adding a note about std::optional ABI break to the C++17 status table

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99058 --- Comment #9 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ce43c906049b828c0472d8499b52ac6233c869d0 commit r11-7194-gce43c906049b828c0472d8499b52ac6233c869d0 Author: Jonathan Wakely Date:

[Bug libstdc++/79246] [C++17] with versioned namespace: FAIL: 27_io/manipulators/standard/wchar_t/2.cc (test for excess errors)

2021-02-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79246 --- Comment #1 from Jonathan Wakely --- I don't see that error now, but do see these: FAIL: 27_io/ios_base/failure/cxx11.cc (test for excess errors) Excess errors: /usr/bin/ld: Dwarf Error: found dwarf version '5', this reader only handles

[Bug d/98910] [11 regression] locale_t undefined on Solaris

2021-02-11 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98910 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/99074] gcc 8 and above is crashing with dynamic_cast<>() on null pointer with optimization level -O1 and above

2021-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99074 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug c/99075] New: Wrong classification of functions memchr and memcpy

2021-02-11 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99075 Bug ID: 99075 Summary: Wrong classification of functions memchr and memcpy Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/99074] New: gcc 8 and above is crashing with dynamic_cast<>() on null pointer with optimization level -O1 and above

2021-02-11 Thread keith.halligan at microfocus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99074 Bug ID: 99074 Summary: gcc 8 and above is crashing with dynamic_cast<>() on null pointer with optimization level -O1 and above Product: gcc Version: 8.3.1 Status:

[Bug c++/99033] [9/10 Regression] ICE in tree_to_poly_int64, at tree.c:3091

2021-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99033 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11 Regression] ICE in |[9/10 Regression] ICE in

[Bug c++/99033] [9/10/11 Regression] ICE in tree_to_poly_int64, at tree.c:3091

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99033 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2dcdd15d0bafb9b45a8d7ff580217bd6ac1f0975 commit r11-7193-g2dcdd15d0bafb9b45a8d7ff580217bd6ac1f0975 Author: Jakub Jelinek Date:

[Bug rtl-optimization/96264] [10/11 Regression] wrong code with -Os -fno-forward-propagate -fschedule-insns -fno-tree-ter

2021-02-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96264 --- Comment #8 from seurer at gcc dot gnu.org --- Enabling -fno-forward-propagate triggers the problem. seurer@genoa:~/gcc/git/build/gcc-10-test$ whichgcc Now at commit g:a7eb97ad269b6509bd7b31ca373daea98e4d7e85, r10-135

[Bug preprocessor/99073] New: Preprocessing with -CC adds unwanted junk

2021-02-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99073 Bug ID: 99073 Summary: Preprocessing with -CC adds unwanted junk Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/99063] [9/10 Regression] ICE in prep_operand, at cp/call.c:5842

2021-02-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99063 Marek Polacek changed: What|Removed |Added Summary|[9/10/11 Regression] ICE in |[9/10 Regression] ICE in

[Bug c++/99063] [9/10/11 Regression] ICE in prep_operand, at cp/call.c:5842

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99063 --- Comment #3 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:f0da1c0cb7661ee9111bc475efddae80a026de34 commit r11-7192-gf0da1c0cb7661ee9111bc475efddae80a026de34 Author: Marek Polacek Date:

[Bug inline-asm/98262] Internal compiler error when clobbering m68k frame pointer in extended asm

2021-02-11 Thread thomasj at thomasjager dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98262 --- Comment #3 from Thomas Jager --- I've now had the same `gcc_unreachable` reached when compiling code that uses `-mpcrel` with a thread-local variable. It may be that `m68k_decompose_address` doesn't properly handle all cases, or that

[Bug libstdc++/82178] bootstrap fails on ppc64 for --enable-symvers=gnu-versioned-namespace

2021-02-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82178 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0

[Bug libstdc++/82178] bootstrap fails on ppc64 for --enable-symvers=gnu-versioned-namespace

2021-02-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82178 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/97582] [9/10 Regression] ICE tree check: expected function_type or method_type, have error_mark in add_function_candidate, at cp/call.c:2146 since r9-6405-gbddee796d0b4800b

2021-02-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97582 Patrick Palka changed: What|Removed |Added Summary|[9/10/11 Regression] ICE|[9/10 Regression] ICE tree

[Bug c++/97582] [9/10/11 Regression] ICE tree check: expected function_type or method_type, have error_mark in add_function_candidate, at cp/call.c:2146 since r9-6405-gbddee796d0b4800b

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97582 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:cb168f779c87c1e0c37d22ea82dfb93ff8c873bc commit r11-7191-gcb168f779c87c1e0c37d22ea82dfb93ff8c873bc Author: Patrick Palka Date:

[Bug rtl-optimization/96264] [10/11 Regression] wrong code with -Os -fno-forward-propagate -fschedule-insns -fno-tree-ter

2021-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96264 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug rtl-optimization/96264] [10/11 Regression] wrong code with -Os -fno-forward-propagate -fschedule-insns -fno-tree-ter

2021-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96264 --- Comment #6 from Richard Biener --- (In reply to seurer from comment #5) > I too am able to duplicate this on a native powerpc64 LE machine. Changing > any of the compilation options (-Os -fno-forward-propagate -fschedule-insns >

[Bug target/98931] [11 Regression] arm: Assembly fails with "branch out of range or not a multiple of 2" since r11-2012

2021-02-11 Thread akrl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98931 akrl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/96311] [8/9/10/11 Regression] false positive for -Wunused-but-set-variable (const/constexpr identifier used in generic lambda)

2021-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96311 --- Comment #4 from Jakub Jelinek --- If I compare void foo () { constexpr int used = 0; [](auto unused) { return used; }; } void bar () { constexpr int used = 0; [](int unused) { return used; }; } then in bar

[Bug target/98931] [11 Regression] arm: Assembly fails with "branch out of range or not a multiple of 2" since r11-2012

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98931 --- Comment #14 from CVS Commits --- The master branch has been updated by Andrea Corallo : https://gcc.gnu.org/g:38c5703449c0638618ba6896f0d039c3868ad4e0 commit r11-7190-g38c5703449c0638618ba6896f0d039c3868ad4e0 Author: Andrea Corallo Date:

[Bug analyzer/95000] -fanalyzer confused by switch on non-int type

2021-02-11 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95000 --- Comment #5 from Dmitry G. Dyachenko --- gcc version 11.0.0 20210210 (experimental) [master revision bd0e37f68a3:deed5164277:72932511053596091ad291539022b51d9f2ba418] PASS for me

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-02-11 Thread joelh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 98772, which changed state. Bug 98772 Summary: Widening patterns causing missed vectorization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98772 What|Removed |Added

[Bug tree-optimization/98772] Widening patterns causing missed vectorization

2021-02-11 Thread joelh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98772 Joel Hutton changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug analyzer/94713] Analyzer is buggy on uninitialized pointer

2021-02-11 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94713 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com ---

[Bug tree-optimization/98772] Widening patterns causing missed vectorization

2021-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98772 --- Comment #5 from CVS Commits --- The master branch has been updated by Joel Hutton : https://gcc.gnu.org/g:4af29981ab57ad7ef4467e371e4145cce9c16eaa commit r11-7189-g4af29981ab57ad7ef4467e371e4145cce9c16eaa Author: Joel Hutton Date: Thu

[Bug target/96166] [10/11 Regression] -O3/-ftree-slp-vectorize turns ROL into a mess

2021-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96166 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug rtl-optimization/96264] [10/11 Regression] wrong code with -Os -fno-forward-propagate -fschedule-insns -fno-tree-ter

2021-02-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96264 seurer at gcc dot gnu.org changed: What|Removed |Added Host|x86_64-pc-linux-gnu |x86_64-pc-linux-gnu,

[Bug c++/99072] New: [modules] Compiling header unit with partial preprocessing (-E -fdirectives-only) twice causes CRC mismatch

2021-02-11 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99072 Bug ID: 99072 Summary: [modules] Compiling header unit with partial preprocessing (-E -fdirectives-only) twice causes CRC mismatch Product: gcc Version: 11.0

[Bug analyzer/93695] Allocation and freeing memory for array members in loops is not handled properly by the analyzer

2021-02-11 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93695 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com ---

[Bug rtl-optimization/96264] [10/11 Regression] wrong code with -Os -fno-forward-propagate -fschedule-insns -fno-tree-ter

2021-02-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96264 --- Comment #4 from seurer at gcc dot gnu.org --- Created attachment 50168 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50168=edit Assembler output from broken revision

[Bug rtl-optimization/96264] [10/11 Regression] wrong code with -Os -fno-forward-propagate -fschedule-insns -fno-tree-ter

2021-02-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96264 seurer at gcc dot gnu.org changed: What|Removed |Added CC||seurer at gcc dot gnu.org

[Bug target/98998] [11 Regression] ICE in change_address_1, at emit-rtl.c:2275 since r11-3427

2021-02-11 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98998 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug c++/99071] [modules] ICE with initializer_list & iostream

2021-02-11 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99071 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

  1   2   >