2003-08-07 Aldy Hernandez <aldyh@redhat.com>
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Aug 2003 12:49:57 +0000 (12:49 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Aug 2003 12:49:57 +0000 (12:49 +0000)
commitfdb4703c27442c4541be927164373401e8a12ad3
treef526fe69ca18f05fe4d77fb26284e92bd09419cf
parentf24d7ff3837c43d5ffbb587ddee1c0ed9cf916ce
2003-08-07  Aldy Hernandez  <aldyh@redhat.com>

* cp/Make-lang.in (cp/call.o): Add dependency for target.h.

* cp/call.c (standard_conversion): Support opaque types.
Include target.h.
(strip_top_quals): Use cp_build_qualified_type instead of
TYPE_MAIN_VARIANT.

* cp/typeck.c (convert_for_assignment): Support opaque types.

* testsuite/g++.dg/other/opaque-1.C: New.

* testsuite/g++.dg/other/opaque-2.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70223 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/cp/call.c
gcc/cp/typeck.c
gcc/testsuite/g++.dg/other/opaque-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/other/opaque-2.C [new file with mode: 0644]