public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/84930] Brace-closed initialization of cstring (i.e."abcdefghi") to coresponding aggregate types fails in certain situation
[not found] <bug-84930-4@http.gcc.gnu.org/bugzilla/>
@ 2020-09-04 13:04 ` mpolacek at gcc dot gnu.org
2020-09-25 22:20 ` mpolacek at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2020-09-04 13:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84930
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kirshamir at gmail dot com
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
*** Bug 96936 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/84930] Brace-closed initialization of cstring (i.e."abcdefghi") to coresponding aggregate types fails in certain situation
[not found] <bug-84930-4@http.gcc.gnu.org/bugzilla/>
2020-09-04 13:04 ` [Bug c++/84930] Brace-closed initialization of cstring (i.e."abcdefghi") to coresponding aggregate types fails in certain situation mpolacek at gcc dot gnu.org
@ 2020-09-25 22:20 ` mpolacek at gcc dot gnu.org
2021-11-12 15:16 ` wjwray at gmail dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2020-09-25 22:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84930
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Related:
const char (&&r)[5] = {"abc"};
This should work, see [dcl.init.list]/3.10, we should create a temporary of the
referenced type and bind the reference to it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/84930] Brace-closed initialization of cstring (i.e."abcdefghi") to coresponding aggregate types fails in certain situation
[not found] <bug-84930-4@http.gcc.gnu.org/bugzilla/>
2020-09-04 13:04 ` [Bug c++/84930] Brace-closed initialization of cstring (i.e."abcdefghi") to coresponding aggregate types fails in certain situation mpolacek at gcc dot gnu.org
2020-09-25 22:20 ` mpolacek at gcc dot gnu.org
@ 2021-11-12 15:16 ` wjwray at gmail dot com
2021-11-12 16:53 ` mpolacek at gcc dot gnu.org
2022-04-28 22:47 ` mpolacek at gcc dot gnu.org
4 siblings, 0 replies; 5+ messages in thread
From: wjwray at gmail dot com @ 2021-11-12 15:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84930
Will Wray <wjwray at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wjwray at gmail dot com
--- Comment #8 from Will Wray <wjwray at gmail dot com> ---
This can be marked RESOLVED, fixed in gcc11, same as the referenced duplicates.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/84930] Brace-closed initialization of cstring (i.e."abcdefghi") to coresponding aggregate types fails in certain situation
[not found] <bug-84930-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2021-11-12 15:16 ` wjwray at gmail dot com
@ 2021-11-12 16:53 ` mpolacek at gcc dot gnu.org
2022-04-28 22:47 ` mpolacek at gcc dot gnu.org
4 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-11-12 16:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84930
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Comment 3 was fixed in r11-7102.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/84930] Brace-closed initialization of cstring (i.e."abcdefghi") to coresponding aggregate types fails in certain situation
[not found] <bug-84930-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2021-11-12 16:53 ` mpolacek at gcc dot gnu.org
@ 2022-04-28 22:47 ` mpolacek at gcc dot gnu.org
4 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2022-04-28 22:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84930
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-04-28 22:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-84930-4@http.gcc.gnu.org/bugzilla/>
2020-09-04 13:04 ` [Bug c++/84930] Brace-closed initialization of cstring (i.e."abcdefghi") to coresponding aggregate types fails in certain situation mpolacek at gcc dot gnu.org
2020-09-25 22:20 ` mpolacek at gcc dot gnu.org
2021-11-12 15:16 ` wjwray at gmail dot com
2021-11-12 16:53 ` mpolacek at gcc dot gnu.org
2022-04-28 22:47 ` mpolacek at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).