[Bug c++/86485] [7/8/9 Regression] "anonymous" maybe-uninitialized false positive with ternary operator
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 11 18:30:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86485
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r246314.
Smaller testcase:
struct E {};
struct S { S () {} E e; };
void foo (S);
void
bar (bool b)
{
foo (b ? S {} : S {});
}
More information about the Gcc-bugs
mailing list