re PR c++/2936 (gcc gives me an internal error when compiling mozilla with --enable...
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 30 May 2001 08:44:56 +0000 (08:44 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 30 May 2001 08:44:56 +0000 (08:44 +0000)
commite97c94888969b416c239fcaa027770d9b0157323
tree8ba2f374e395671acbd26e6ad707d17c8c1f9df2
parentb86ee4a56ded8c3a4090f7eff5b3efd0f95e4bde
re PR c++/2936 (gcc gives me an internal error when compiling mozilla with --enable-optimization="-O3")

cp:
PR g++/2936
* decl.c (finish_anon_union): Copy context.
* optimize.c (remap_decl): Remap anonymous aggregate members too.
testsuite:
* g++.old-deja/g++.other/optimize3.C: New file.

From-SVN: r42705
gcc/cp/ChangeLog
gcc/cp/optimize.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/optimize3.C [new file with mode: 0644]