Skip to content

Commit fbcb892

Browse files
Robert Zakrzewskiantoyo
Robert Zakrzewski
authored andcommitted
Fix is_same_type_as for vector type
1 parent a195205 commit fbcb892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/jit/jit-recording.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ class vector_type : public decorated_type
10111011
if (other_vec_type == NULL)
10121012
return false;
10131013
return get_num_units () == other_vec_type->get_num_units ()
1014-
&& get_element_type () == other_vec_type->get_element_type ();
1014+
&& get_element_type ()->is_same_type_as(other_vec_type->get_element_type ());
10151015
}
10161016

10171017
vector_type *is_vector () final override { return this; }

0 commit comments

Comments
 (0)