diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-10-17 22:35:29 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2006-10-17 22:35:29 +0000 |
commit | c7b0e0273ea01ccc3a8b8065944f89b6d619e787 (patch) | |
tree | 69dd14ebdbf552a0333a15bf8a7c239e37f2ec70 /libgfortran/runtime/environ.c | |
parent | 05b22df961070e926ac6bf4a8a114c5d5b1745bc (diff) | |
download | gcc-c7b0e0273ea01ccc3a8b8065944f89b6d619e787.zip gcc-c7b0e0273ea01ccc3a8b8065944f89b6d619e787.tar.gz gcc-c7b0e0273ea01ccc3a8b8065944f89b6d619e787.tar.bz2 |
re PR c++/29039 (implicitly defined constructor for class with reference member)
PR c++/29039
* typeck2.c (build_functional_cast): Don't zero-initialize
non-PODs; instead, call their constructors.
* method.c (synthesize_method): Always build mem-initializers, if
we're synthesizing the default constructor.
PR c++/29039
* g++.dg/init/ctor8.C: New test.
From-SVN: r117834
Diffstat (limited to 'libgfortran/runtime/environ.c')
0 files changed, 0 insertions, 0 deletions