[Bug c++/35049] [4.3 Regression] g++.dg/conversion/simd3.C:12: error: invalid operands to binary + (have 'float __vector__' and 'int __vector__')
dgregor at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 6 18:50:00 GMT 2008
------- Comment #11 from dgregor at gcc dot gnu dot org 2008-02-06 18:49 -------
Subject: Bug 35049
Author: dgregor
Date: Wed Feb 6 18:49:03 2008
New Revision: 132152
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132152
Log:
2008-02-06 Douglas Gregor <doug.gregor@gmail.com>
PR c++/35049
PR c++/35096
* typeck.c (structural_comptypes): Call cp_comptypes.
(comptypes): New; called from the C/C++ common bits to perform
strict checks.
(cp_comptypes): Renamed from comptypes, which is already used,
with a different signature, by the C++ front end.
(build_reinterpret_cast_1): Call cp_comptypes.
(ptr_reasonably_similar): Ditto.
* decl.c (decls_match): Ditto.
* cvt.c (convert_to_reference): Ditto.
* cp-tree.h (same_type_p): Ditto.
(same_or_base_type_p): Ditto.
(comptypes): Rename to cp_comptypes.
* pt.c (canonical_type_parameter): Call cp_comptypes.
2008-02-06 Douglas Gregor <doug.gregor@gmail.com>
PR c++/35049
PR c++/35096
* g++.dg/ext/vector13.C: New.
Added:
trunk/gcc/testsuite/g++.dg/ext/vector13.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/cvt.c
trunk/gcc/cp/decl.c
trunk/gcc/cp/pt.c
trunk/gcc/cp/typeck.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35049
More information about the Gcc-bugs
mailing list