Make-lang.in (cp/call.o): Add dependency for target.h.
authorAldy Hernandez <aldyh@redhat.com>
Thu, 7 Aug 2003 12:49:57 +0000 (12:49 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Thu, 7 Aug 2003 12:49:57 +0000 (12:49 +0000)
commit7d1496792bf96d5364e31b90656539ce3539c608
treef526fe69ca18f05fe4d77fb26284e92bd09419cf
parentd40c829f55c0b35e9b6ce9e9b7da9e6dc56a7941
Make-lang.in (cp/call.o): Add dependency for target.h.

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.

From-SVN: r70223
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]