]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/4884 (g++ 3.0.2 problem with -fvolatile)
authorMark Mitchell <mark@codesourcery.com>
Tue, 26 Mar 2002 18:37:56 +0000 (18:37 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 26 Mar 2002 18:37:56 +0000 (18:37 +0000)
commit46ff5047273650dd7feac4612ffa4892163b9bae
tree457c94b15fbf4b8396dc29d7b64acf8e374db662
parent6d4c57a0a4a143743358da16e3e94d44973aa25a
re PR c++/4884 (g++ 3.0.2 problem with -fvolatile)

PR c++/4884.
* init.c (build_new_1): Allow for the fact the result of
build_function_call may be a COMPOUND_EXPR.

* g++.dg/init/new1.C: New test.

From-SVN: r51396
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/new1.C [new file with mode: 0644]