[Bug tree-optimization/85315] missed range optimisation opportunity for derefences where index must be 0 or otherwise constrained

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85315 --- Comment #11 from Richard Biener --- (In reply to Andrew Macleod from comment #10) > OK, so whats the deal here. I can't really follow what the final request, or > action is. > > Is there a conclusion on what needs to be done? if anything? S

[Bug ipa/92535] [10/11 regression] ICF is relatively expensive and became less effective

2020-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92535 --- Comment #12 from Jan Hubicka --- With ODR name hashing fix and fix to streaming the access types we now get: 957 false returned: 'different references' in compare_symbol_references at ../../gcc/ipa-icf.c:465 961 false returned: '

[Bug c/97884] INT_MIN falsely expanded to 64 bit

2020-11-17 Thread s.bauroth--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97884 --- Comment #1 from s.baur...@tu-berlin.de --- Created attachment 49584 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49584&action=edit preprocessed source

[Bug c/97884] New: INT_MIN falsely expanded to 64 bit

2020-11-17 Thread s.bauroth--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97884 Bug ID: 97884 Summary: INT_MIN falsely expanded to 64 bit Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c A

[Bug other/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-11-17 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #39 from Levy --- Checked all pass from 250r.shorten_memrefs to 270r.ce2 In 269r.combine I saw the following combination merged the replaced address: --- modifying insn i327: r9

[Bug target/97873] Failure to optimize abs optimally (at least one completely useless instruction on x86)

2020-11-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97873 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #3 f

[Bug demangler/85304] Segmentation fault

2020-11-17 Thread nmahalle at in dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85304 Nikhil changed: What|Removed |Added CC||nmahalle at in dot ibm.com --- Comment #5 from

[Bug c++/97883] New: [C++20] Segmentation fault on template with braced initializer list A<{}>

2020-11-17 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97883 Bug ID: 97883 Summary: [C++20] Segmentation fault on template with braced initializer list A<{}> Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/97744] [11 regression] 32 bit floating point result errors after r11-4637

2020-11-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97744 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-17 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 --- Comment #5 from Bruno Haible --- Nice! Thank you.

[Bug libstdc++/93421] futex.cc use of futex syscall is not time64-compatible

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93421 --- Comment #10 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1e3e6c700f04fe6992b9077541e434172c1cbdae commit r11-5114-g1e3e6c700f04fe6992b9077541e434172c1cbdae Author: Jonathan Wakely Date:

[Bug tree-optimization/91191] vrp and boolean arguments

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91191 Andrew Macleod changed: What|Removed |Added CC||aldyh at redhat dot com,

[Bug tree-optimization/85316] [meta-bug] VRP range propagation missed cases

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85316 Bug 85316 depends on bug 91029, which changed state. Bug 91029 Summary: missed optimization regarding value of modulo operation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 What|Removed |Added

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com

[Bug c/97882] [8/9/10/11 Regression] Segmentation Fault on improper redeclaration of function

2020-11-17 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97882 Joseph S. Myers changed: What|Removed |Added Last reconfirmed||2020-11-17 Target Milestone|---

[Bug libstdc++/94936] pmr::synchronized_pool_resource crashes without -pthread

2020-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94936 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/94936] pmr::synchronized_pool_resource crashes without -pthread

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94936 --- Comment #4 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cbc9dab25fb807278d2e09ec3e89e466385c9fce commit r9-9054-gcbc9dab25fb807278d2e09ec3e89e466385c9fce Author: Jonathan Wakely

[Bug target/97865] libtool needs to be updated for Darwin20.

2020-11-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #13 from Iain Sandoe --- (In reply to jos...@codesourcery.com from comment #12) > config.sub and config.guess are imported, unmodified, from upstream > config.git. thanks I will try to do that and test it over the next days (I've be

[Bug target/97865] libtool needs to be updated for Darwin20.

2020-11-17 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #12 from joseph at codesourcery dot com --- config.sub and config.guess are imported, unmodified, from upstream config.git. libtool has lots of local changes, hopefully all of them submitted upstream but maybe not and maybe some no

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 --- Comment #3 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:1e27e7a582a9b86bcf86f5c103cd947672746e97 commit r11-5111-g1e27e7a582a9b86bcf86f5c103cd947672746e97 Author: Andrew MacLeod Date:

[Bug tree-optimization/22326] promotions (from float to double) are not removed when they should be able to

2020-11-17 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22326 --- Comment #7 from joseph at codesourcery dot com --- I agree that match.pd is a sensible place for this (and the front end is not, we should be getting optimizations out of the front ends). I'd encourage anyone looking at this also to look at

[Bug ipa/92535] [10/11 regression] ICF is relatively expensive and became less effective

2020-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92535 --- Comment #11 from Jan Hubicka --- Created attachment 49582 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49582&action=edit Memory use of GCC 10 release branch with ICF

[Bug c++/97877] [11 Regression] ICE in cp_genericize_r, at cp/cp-gimplify.c:968

2020-11-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97877 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/97877] [11 Regression] ICE in cp_genericize_r, at cp/cp-gimplify.c:968

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97877 --- Comment #3 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:e0da4aed176a8de042a8482beb65499e29448556 commit r11-5108-ge0da4aed176a8de042a8482beb65499e29448556 Author: Nathan Sidwell Date:

[Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated

2020-11-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #11 from Iain Sandoe --- Created attachment 49581 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49581&action=edit regenerated files the second patch is all the regenerated files .. much larger :)

[Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated

2020-11-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 Iain Sandoe changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c/97882] New: Segmentation Fault on improper redeclaration of function

2020-11-17 Thread jarod.keene at trojans dot dsu.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97882 Bug ID: 97882 Summary: Segmentation Fault on improper redeclaration of function Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Prio

[Bug libstdc++/97876] stop_token header doesn't compile on clang-8 with -std=c++20

2020-11-17 Thread eric.niebler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97876 --- Comment #3 from Eric Niebler --- It seems like GitHub actions uses the latest libstdc++ by default when testing even with old (e.g., clang-4) toolsets. That seems busted, but regardless, this is now breaking _all_ my Linux clang tests for any

[Bug target/97870] [11 Regression] ICE: verify_flow_info failed (error: too many outgoing branch edges from bb 2)

2020-11-17 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97870 --- Comment #2 from Vladimir Makarov --- (In reply to Richard Biener from comment #1) > Possibly related to the asm goto enhancements. This test should work only for x86-64. Running it on other targets can give an error. So error about inc

[Bug ipa/92535] [10/11 regression] ICF is relatively expensive and became less effective

2020-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92535 --- Comment #10 from Jan Hubicka --- Here are main reason for miscompares: 1125 libxul.so.wpa.076i.icf: false returned: 'variables types are different' in equals at ../../gcc/ipa-icf.c:1697 1171 libxul.so.wpa.076i.icf: false returned: 'DE

[Bug target/97866] [11 Regression] bootstrap error in libasan building a s390x-linux-gnu cross compiler

2020-11-17 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97866 --- Comment #3 from Ilya Leoshkevich --- I believe it's already fixed by: commit 253c415a1acba50711c82693426391743ac18040 Author: Vladimir N. Makarov Date: Sun Nov 15 11:22:19 2020 -0500 Do not put reload insns in the last empty BB.

[Bug target/97866] [11 Regression] bootstrap error in libasan building a s390x-linux-gnu cross compiler

2020-11-17 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97866 --- Comment #2 from Ilya Leoshkevich --- Never mind, I managed to reproduce it now: ubuntu-focal-amd64$ git rev-parse --short HEAD 77f67db2a47 ubuntu-focal-amd64$ ../configure --target=s390x-linux-gnu --exec-prefix=/usr --disable-bootstrap --di

[Bug ipa/92535] [10/11 regression] ICF is relatively expensive and became less effective

2020-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92535 --- Comment #9 from Jan Hubicka --- Created attachment 49578 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49578&action=edit Memory use of GCC trunk (11) without ICF

[Bug ipa/92535] [10/11 regression] ICF is relatively expensive and became less effective

2020-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92535 --- Comment #8 from Jan Hubicka --- Created attachment 49577 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49577&action=edit Memory use of GCC trunk (11) with ICF

[Bug ipa/92535] [10/11 regression] ICF is relatively expensive and became less effective

2020-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92535 Jan Hubicka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org --- Com

[Bug c++/93083] copy deduction rejected when doing CTAD for NTTP

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93083 --- Comment #5 from Marek Polacek --- Short test from Bug 97751: template struct use_as_nttp {}; template struct has_nttp {}; template using has_nttp_2 = has_nttp;

[Bug c++/93083] copy deduction rejected when doing CTAD for NTTP

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93083 Marek Polacek changed: What|Removed |Added CC||janpmoeller at gmx dot de --- Comment #4

[Bug c++/97751] C++20 NTTP: class template argument deduction failed

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97751 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Reso

[Bug c++/97801] overload resolution ambiguity isn't detected when rvalue ref qualifier is involved

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97801 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/97837] ICE on requires with *this in destructor

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97837 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug libstdc++/97876] stop_token header doesn't compile on clang-8 with -std=c++20

2020-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97876 --- Comment #2 from Jonathan Wakely --- Changing the _Stop_state_ref default constructor to: _Stop_state_ref() noexcept {} allows it to compile. It shouldn't be needed, but I suppose since the constructor is already non-trivial (due to the

[Bug libstdc++/97876] stop_token header doesn't compile on clang-8 with -std=c++20

2020-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97876 --- Comment #1 from Jonathan Wakely --- It works fine in Clang 9.0.0 though. We've never really set a hard limit on how many old versions of Clang we support, but given that 9 and 10 (and trunk) work, I'm inclined to think that three versions see

[Bug c++/97878] [9/10/11 Regression] ICE in cxx_eval_outermost_constant_expr, at cp/constexpr.c:6825

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97878 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug target/97866] [11 Regression] bootstrap error in libasan building a s390x-linux-gnu cross compiler

2020-11-17 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97866 Ilya Leoshkevich changed: What|Removed |Added CC||iii at linux dot ibm.com --- Comment

[Bug tree-optimization/86707] Missed optimization: optimizing set of if statements

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86707 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug c++/97749] ICE: Segmentation Fault on C++20 NTTP

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97749 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Se

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

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 70489, which changed state. Bug 70489 Summary: ICE in cxx_eval_increment_expression initializing a VLA in a constexpr function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70489 What|Removed

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

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 70489, which changed state. Bug 70489 Summary: ICE in cxx_eval_increment_expression initializing a VLA in a constexpr function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70489 What|Removed

[Bug c++/70489] ICE in cxx_eval_increment_expression initializing a VLA in a constexpr function

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70489 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug tree-optimization/85375] possible missed optimisation / regression from 6.3 with while (__builtin_ffs(x) && x)

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85375 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug c++/97881] [11 Regression] ICE in warn_about_ambiguous_parse, at cp/parser.c:20800

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97881 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org As

[Bug target/96191] aarch64 stack_protect_test canary leak

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96191 --- Comment #10 from CVS Commits --- The releases/gcc-8 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:3ee527923b1ce92c6b16c587d072720a6c813c95 commit r8-10627-g3ee527923b1ce92c6b16c587d072720a6c813c95 Author: Richard Sand

[Bug c++/97881] New: [11 Regression] ICE in warn_about_ambiguous_parse, at cp/parser.c:20800

2020-11-17 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97881 Bug ID: 97881 Summary: [11 Regression] ICE in warn_about_ambiguous_parse, at cp/parser.c:20800 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-i

[Bug c++/97877] [11 Regression] ICE in cp_genericize_r, at cp/cp-gimplify.c:968

2020-11-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97877 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/97878] [9/10/11 Regression] ICE in cxx_eval_outermost_constant_expr, at cp/constexpr.c:6825

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97878 Marek Polacek changed: What|Removed |Added Target Milestone|--- |8.5 Status|UNCONFIRMED

[Bug c++/97877] [11 Regression] ICE in cp_genericize_r, at cp/cp-gimplify.c:968

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97877 --- Comment #2 from Marek Polacek --- We ICE because stmt's DECL_LANG_SPECIFIC is null: 965 /* Map block scope extern declarations to visible declarations with the 966 same name and type in outer scopes if any. */ 967 if (VAR_OR_FUN

[Bug c/97880] New: [9/10/11 Regression] ICE in emit_library_call_value_1, at calls.c:5298

2020-11-17 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97880 Bug ID: 97880 Summary: [9/10/11 Regression] ICE in emit_library_call_value_1, at calls.c:5298 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c/97879] [11 Regression] ICE in from_mode_char, at attribs.h:298

2020-11-17 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97879 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from G

[Bug c++/97877] [11 Regression] ICE in cp_genericize_r, at cp/cp-gimplify.c:968

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97877 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c/97879] New: [11 Regression] ICE in from_mode_char, at attribs.h:298

2020-11-17 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97879 Bug ID: 97879 Summary: [11 Regression] ICE in from_mode_char, at attribs.h:298 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug tree-optimization/85315] missed range optimisation opportunity for derefences where index must be 0 or otherwise constrained

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85315 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug c++/97878] New: [9/10/11 Regression] ICE in cxx_eval_outermost_constant_expr, at cp/constexpr.c:6825

2020-11-17 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97878 Bug ID: 97878 Summary: [9/10/11 Regression] ICE in cxx_eval_outermost_constant_expr, at cp/constexpr.c:6825 Product: gcc Version: 11.0 Status: UNCONFI

[Bug c++/97877] New: [11 Regression] ICE in cp_genericize_r, at cp/cp-gimplify.c:968

2020-11-17 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97877 Bug ID: 97877 Summary: [11 Regression] ICE in cp_genericize_r, at cp/cp-gimplify.c:968 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/96835] Constructor in offload template class

2020-11-17 Thread tobias.weinzierl at durham dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96835 --- Comment #7 from Tobias Weinzierl --- Adding a default constructor to the vector class still does not allow us to create the object on the target: #include #define mydt double #pragma omp declare target struct vector { vector() {}; v

[Bug target/96835] Constructor in offload template class

2020-11-17 Thread tobias.weinzierl at durham dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96835 --- Comment #6 from Tobias Weinzierl --- We've found some more stuff. This works: #include #define mydt double #pragma omp declare target struct vector { vector(mydt x, mydt y); mydt dot(vector o); mydt v[2]; }; vector::vector(mydt

[Bug libstdc++/97876] New: stop_token header doesn't compile on clang-8 with -std=c++20

2020-11-17 Thread eric.niebler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97876 Bug ID: 97876 Summary: stop_token header doesn't compile on clang-8 with -std=c++20 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/83073] Range for VR_VARYING | [1, 1]

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83073 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug c++/97871] [11 Regression] ICE in cp_parser_declaration, at cp/parser.c:13539

2020-11-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97871 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/83072] Late VRP optimization

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83072 --- Comment #8 from Andrew Macleod --- I've adjusted range-ops so that EVRP will recognize that c |= 1 is a non-zero range, and I've added a test case to check it. The rest of this PR involves exposing ranges in a better way to fold-const. N

[Bug tree-optimization/83072] Late VRP optimization

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83072 --- Comment #7 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:a5f9c27bfc4417224e332392bb81a2d733b2b5bf commit r11-5105-ga5f9c27bfc4417224e332392bb81a2d733b2b5bf Author: Andrew MacLeod Date:

[Bug c++/97871] [11 Regression] ICE in cp_parser_declaration, at cp/parser.c:13539

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97871 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:c2cf58f0e3a32b803c890ea8daa8d9f550cf9888 commit r11-5104-gc2cf58f0e3a32b803c890ea8daa8d9f550cf9888 Author: Iain Sandoe Date: Tue

[Bug target/97827] bootstrap error building the amdgcn-amdhsa offload compiler with LLVM 11

2020-11-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 --- Comment #4 from Tobias Burnus --- Draft patch (untested): diff --git a/gcc/varasm.c b/gcc/varasm.c index ada99940f65..51a507393a8 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -6738,9 +6738,11 @@ default_elf_asm_named_section (const char *

[Bug libstdc++/97828] std::ranges::search_n does not work with counted_iterator<_List_iterator<...>>

2020-11-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/97828] std::ranges::search_n does not work with counted_iterator<_List_iterator<...>>

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:04cb64dadb5c115b4ad093ff92c3f5a0a87ef15f commit r10-9036-g04cb64dadb5c115b4ad093ff92c3f5a0a87ef15f Author: Patrick Palka D

[Bug target/96791] ICE in convert_mode_scalar, at expr.c:412

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96791 --- Comment #11 from CVS Commits --- The master branch has been updated by Aaron Sawdey : https://gcc.gnu.org/g:6b91b3e9df171970a907638d9b2e0bca1e792975 commit r11-5097-g6b91b3e9df171970a907638d9b2e0bca1e792975 Author: Aaron Sawdey Date: Wed

[Bug libstdc++/97869] defines __cpp_lib_span even when doesn't provide an implementation

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97869 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ecf65330c11544ebf35e198087b4a42be089c620 commit r11-5099-gecf65330c11544ebf35e198087b4a42be089c620 Author: Jonathan Wakely Date:

[Bug c++/97839] Template lambda incorrectly requiring the optional lambda-declarator

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97839 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/97858] [11 regression] Bogus warnings about va_list

2020-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 --- Comment #11 from Jan Hubicka --- Jakub, with code patterns if (foo) ininit var ... if (foo) use var the false positive really depends on how far we do jump threading and similar transforms.

[Bug middle-end/97858] [11 regression] Bogus warnings about va_list

2020-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 Jan Hubicka changed: What|Removed |Added Status|RESOLVED|REOPENED Severity|normal

[Bug c++/97871] [11 Regression] ICE in cp_parser_declaration, at cp/parser.c:13539

2020-11-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97871 --- Comment #2 from Iain Sandoe --- (In reply to Marek Polacek from comment #1) > Started with r11-4927. Iain, I think the assert should go: > > --- a/gcc/cp/parser.c > +++ b/gcc/cp/parser.c > @@ -13536,7 +13536,6 @@ cp_parser_declaration (cp_p

[Bug bootstrap/97858] [11 regression] Bogus warnings about va_list during profiledbootstrap

2020-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 --- Comment #9 from Jakub Jelinek --- That said, can't reproduce with simplified: void foo (char *str, char *tail, ...) { __builtin_va_list ap; if (tail) __builtin_va_start (ap, tail); for (int first = 1; str; first = 0) { *st

[Bug c++/97839] Template lambda incorrectly requiring the optional lambda-declarator

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97839 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/97871] [11 Regression] ICE in cp_parser_declaration, at cp/parser.c:13539

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97871 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/97875] suboptimal loop vectorization

2020-11-17 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97875 --- Comment #2 from Christophe Lyon --- Checking the Arm v8-M manual, my understanding is that this architecture does not support unaligned vector loads/stores. However, my understanding is that vldrw.32 accepts to load from addresses aligned on

[Bug target/97872] [ARM NEON] Missed optimization for less-than comparison on vectors

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97872 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-11-17 Ever confirmed|0

[Bug bootstrap/97858] [11 regression] Bogus warnings about va_list during profiledbootstrap

2020-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 --- Comment #8 from Jakub Jelinek --- Well, so one enhancement request would be for va_list fields don't warn about the internal fields, but warn about use of uninitialized va_list itself. And the second thing is if the if (tail) va_start (ap,

[Bug c++/97874] [11 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_using_decl, at cp/name-lookup.c:4652

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97874 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #1

[Bug target/97873] Failure to optimize abs optimally (at least one completely useless instruction on x86)

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97873 --- Comment #2 from Richard Biener --- gcc-7 goes the x86 abs expander way: abs: .LFB0: .cfi_startproc movl%edi, %edx movl%edi, %eax sarl$31, %edx xorl%edx, %eax subl%edx, %eax

[Bug c++/97874] [11 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_using_decl, at cp/name-lookup.c:4652

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97874 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever con

[Bug target/97873] Failure to optimize abs optimally (at least one completely useless instruction on x86)

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97873 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Target|

[Bug libstdc++/97828] std::ranges::search_n does not work with counted_iterator<_List_iterator<...>>

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828 --- Comment #8 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:8661f4faa875f361cd22a197774c1fa04cd0580b commit r11-5096-g8661f4faa875f361cd22a197774c1fa04cd0580b Author: Patrick Palka Date: Tu

[Bug c++/97874] [11 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_using_decl, at cp/name-lookup.c:4652

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97874 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug tree-optimization/97875] suboptimal loop vectorization

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97875 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-11-17 Ever confirmed|0

[Bug bootstrap/97858] [11 regression] Bogus warnings about va_list during profiledbootstrap

2020-11-17 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 --- Comment #7 from Jan Hubicka --- > Fixed d7ab349c44f Thanks, my original intention was to mostly track the fact that we do not want to warn about fields of va_list type that is internal to compiler though :)

[Bug bootstrap/97314] bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl

2020-11-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97314 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug gcov-profile/96919] [GCOV] uncovered line of stack allocation while using virutal destructor

2020-11-17 Thread bhavana.kilambi at blackfigtech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96919 Bhavana Kilambi changed: What|Removed |Added CC||bhavana.kilambi@blackfigtec

[Bug middle-end/97862] [11 Regression] ICE in expand_omp_for_init_vars, at omp-expand.c:2524

2020-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97862 --- Comment #3 from Jakub Jelinek --- Created attachment 49576 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49576&action=edit gcc11-pr97862.patch Untested fix.

[Bug bootstrap/97858] [11 regression] Bogus warnings about va_list during profiledbootstrap

2020-11-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/97858] [11 regression] Bogus warnings about va_list during profiledbootstrap

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 --- Comment #5 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:d7ab349c44f30bed90b03b45865f6c7c5de1dfd8 commit r11-5095-gd7ab349c44f30bed90b03b45865f6c7c5de1dfd8 Author: Nathan Sidwell Date:

[Bug bootstrap/97857] [11 Regression] profiledbootstrap broken freeing speculative call summary since r11-4987-g602c6cfc79ce4ae61e277107e0a60079c1a93a97

2020-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97857 Jan Hubicka changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

  1   2   >