This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, This patch fixes PR c++/43719. We were stripping array types too late. The diagnostic have been enhanced to show which field is uninitialized, in the same way than for PR c++/25811. Tested x86_64-unknown-linux-gnu. OK for trunk ? gcc/testsuite/ChangeLog: 2010-04-20 Fabien Chêne <fabien.chene@gmail.com> PR c++/43719 * g++.dg/init/pr43719.C: New. * g++.dg/cpp0x/decltype4.C: Adjust. * g++.dg/anon-struct4.C: Likewise. gcc/cp/ChangeLog: 2010-04-20 Fabien Chêne <fabien.chene@gmail.com> PR c++/43719 * decl.c (check_initializer): strip array type before checking for uninitialized const or ref members. -- Fab
Attachment:
pr43719.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |