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]

Re: [PATCH] PR c++/43890


Hi,

Here is a better patch that move the check for user-provided
constructor out of the loop.
Tested x86_64-unknown-linux-gnu.

gcc/testsuite/ChangeLog:

2010-04-26  Fabien Chêne  <fabien.chene@gmail.com>
       PR c++/43890
       * g++.dg/init/pr43890.C: New.

gcc/cp/ChangeLog:

2010-04-26  Fabien Chêne  <fabien.chene@gmail.com>
       PR c++/43890
       * init.c (diagnose_uninitialized_cst_or_ref_member): check for
       user-provided constructor while recursing.

-- 
Fab

Attachment: pr43890.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]