public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/108513] New: [13 Regression] Bad initializer-list construction of std::vector
@ 2023-01-24 10:01 redi at gcc dot gnu.org
2023-01-24 10:02 ` [Bug c++/108513] " redi at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2023-01-24 10:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108513
Bug ID: 108513
Summary: [13 Regression] Bad initializer-list construction of
std::vector
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
Target Milestone: ---
#include <any>
#include <vector>
struct OptionTestEntry
{
int test1;
std::vector<std::any> invalid_vals;
};
int main() {
const OptionTestEntry testm[] = { {1, {-1}} };
if (testm[0].invalid_vals.size() != 1)
__builtin_abort();
};
Aborted (core dumped)
Reducing and bisecting ...
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/108513] [13 Regression] Bad initializer-list construction of std::vector
2023-01-24 10:01 [Bug c++/108513] New: [13 Regression] Bad initializer-list construction of std::vector redi at gcc dot gnu.org
@ 2023-01-24 10:02 ` redi at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2023-01-24 10:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108513
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Oh sorry, Jakub already identified this as PR 108195
*** This bug has been marked as a duplicate of bug 108195 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-24 10:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-24 10:01 [Bug c++/108513] New: [13 Regression] Bad initializer-list construction of std::vector redi at gcc dot gnu.org
2023-01-24 10:02 ` [Bug c++/108513] " redi 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).