This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] PR c++/29043
ping !
2010/4/20 Fabien CHÊNE <fabien.chene@gmail.com>:
> Hello,
>
> The following patch fixes PR c++/29043 -- again, an issue with
> uninitialized const or reference members. The problem triggers when
> there is a user-defined constructor, which doesn't initilialize a
> field containing a const or a reference member.
>
> Tested x86_64-unknown-linux-gnu, OK for trunk ?
>
> gcc/testsuite/ChangeLog:
>
> 2010-04-20 ?Fabien Chêne ?<fabien.chene@gmail.com>
> ? ? ? ?PR c++/29043
> ? ? ? ?* g++.dg/init/pr29043.C: New.
>
> gcc/cp/ChangeLog:
>
> 2010-04-20 ?Fabien Chêne ?<fabien.chene@gmail.com>
> ? ? ? ?PR c++/29043
> ? ? ? ?* init.c (perform_member_init): check for uninitialized const or
> ? ? ? ?reference members, including array types.
>
> --
> Fab
>
--
Fab