[Bug c++/101818] Error message for the wrong name in designated initializers could be improved

hewillk at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 11 07:46:34 GMT 2021


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

康桓瑋 <hewillk at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DUPLICATE                   |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #2 from 康桓瑋 <hewillk at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> This is a dup of bug 95085.
> 
> *** This bug has been marked as a duplicate of bug 95085 ***

I don't think this is a dup of PR 95085. In 95085, Barry described the error
message for this case as "gcc's diagnostic is absolutely excellent", but it is
obviously misleading.


More information about the Gcc-bugs mailing list