Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: leonid.satanovsky at gmail dot com
Target Milestone: ---
Greetings!
There is a bug suspicion, and I wanted to report it by the following example.
https://godbolt.org/z/m6g3Ug
GCCs 9.x and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79502
Leonid Satanovsky changed:
What|Removed |Added
CC||leonid.satanovsky at gmail dot
com
++
Assignee: unassigned at gcc dot gnu.org
Reporter: leonid.satanovsky at gmail dot com
Target Milestone: ---
The issue is similar to 79502 and still exists in latest GCC.
Here are more diverse examples (including non-templates):
https://godbolt.org/z/faaf3K1bj
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116441
--- Comment #2 from Leonid Satanovsky ---
Dear gcc maintainers, one little asking: if that is not contradicting with the
general guidelines and since you are using bug reproductions provided by the
modest users of gcc, could you please also refe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116441
--- Comment #4 from Leonid Satanovsky ---
Ok, thank you.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116441
--- Comment #5 from Leonid Satanovsky ---
N.B.:
#include is for sure not needed for reproduction (just a leftover
from earlier experiments)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85973
--- Comment #6 from Leonid Satanovsky ---
As you are marking other bugs as duplicates of the current bug, please don't
forget to transfer the useful test cases not mentioned in current bug (e.g.
GccFailedNoDiscard2 case seen below):
struct [[nod
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116441
--- Comment #7 from Leonid Satanovsky ---
(In reply to Andrew Pinski from comment #6)
> This is a dup of bug 85973.
>
> I even make mention of moving the attribute to the constructor makes the
> warning/error happen:
> > Note if we move the att
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88313
Leonid Satanovsky changed:
What|Removed |Added
CC||leonid.satanovsky at gmail dot
com