https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116441

--- Comment #7 from Leonid Satanovsky <leonid.satanovsky at gmail dot com> ---
(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 attribute to the constructor, then GCC will error out.
> 
> *** This bug has been marked as a duplicate of bug 85973 ***


Andrew, I don't personally care via which bug this issue shall be fixed,
however, the test cases present here and omitted in 85973 should be taken into
account
(e.g. the case with the attribute added to the default-ed constructor)

Thanks.

Reply via email to