]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/class.c
re PR c++/6073 ([Solaris] Internal compiler error in simplify_gen_subreg, at simplify...
authorJakub Jelinek <jakub@redhat.com>
Fri, 29 Mar 2002 07:47:06 +0000 (08:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 29 Mar 2002 07:47:06 +0000 (08:47 +0100)
commitc7f4981a5122c9b1dfcbe4596b05515d055a4b17
tree8e128b7515ac1569027f92d51c6d3f9ba751f14e
parentc9045f47b662410e49a1f8bfd4bf9aa70d647bbd
re PR c++/6073 ([Solaris] Internal compiler error in simplify_gen_subreg, at simplify-rtx.c:2711)

PR c++/6073
* class.c (finish_struct_1): Update static field's DECL_MODE even
if its type is a variant of t.

* g++.dg/opt/static1.C: New test.

From-SVN: r51549
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/static1.C [new file with mode: 0644]