re PR c++/16882 (overloading confused by const vector arguments)
commitd70b8c3ac3fc7419b4ddec11cf6321ed4e086fdf
authorPaolo Bonzini <bonzini@gnu.org>
Wed, 24 Nov 2004 10:06:54 +0000 (24 10:06 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Wed, 24 Nov 2004 10:06:54 +0000 (24 10:06 +0000)
tree0c12974a411269c0d5ba5e09d0d63e06d3cd121e
parentb38cd28c43ada6c2e1529b0f71cb598662d8f77c
re PR c++/16882 (overloading confused by const vector arguments)

2004-11-24  Paolo Bonzini  <bonzini@gnu.org>

PR c++/16882

* tree.c (make_vector_type): Move qualifiers to the vector type,
use the inner type's main variant and build a main variant for
the vector type if necessary.
(type_hash_eq): Check a vector type's TYPE_VECTOR_SUBPARTS.

cp:
2004-11-24  Paolo Bonzini  <bonzini@gnu.org>

PR c++/16882

* call.c (standard_conversion): Move check for conversions between
vector pointers...
* typeck.c (ptr_reasonably_similar): ... here.

testsuite:
2004-11-24  Paolo Bonzini  <bonzini@gnu.org>

PR c++/16882

* g++.dg/conversion/simd1.C: New test.

From-SVN: r91142
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/conversion/simd1.C [new file with mode: 0644]
gcc/tree.c