[Bug c++/97790] constexpr evaluation reports false positive memory leak

2020-11-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97790 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/97790] constexpr evaluation reports false positive memory leak

2020-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97790 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d183dd5ca42bbfc1f840c59ffe2e42fbd6860707 commit r10-9012-gd183dd5ca42bbfc1f840c59ffe2e42fbd6860707 Author: Jakub Jelinek D

[Bug c++/97790] constexpr evaluation reports false positive memory leak

2020-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97790 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:fc531c2ed3ce456efca946e995544b216b3c16df commit r11-4936-gfc531c2ed3ce456efca946e995544b216b3c16df Author: Jakub Jelinek Date: Th

[Bug c++/97790] constexpr evaluation reports false positive memory leak

2020-11-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97790 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/97790] constexpr evaluation reports false positive memory leak

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

[Bug c++/97790] constexpr evaluation reports false positive memory leak

2020-11-10 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97790 --- Comment #1 from Luke Dalessandro --- It is possible to workaround this bug by creating a symbol for the offending allocation in the IILE. https://godbolt.org/z/jeoEra ``` struct vector { int *data; int n; constexpr vector() :