re PR c++/22487 (C++ front-end produces mis-match types in EQ_EXPR (array constructor))
2005-11-04 Richard Guenther <rguenther@suse.de> PR c++/22487 * init.c (build_vec_init): Build comparison of matching types. From-SVN: r106487
This commit is contained in:
parent
4d4c9bdd65
commit
aab384ae9a
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-11-04 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR c++/22487
|
||||
* init.c (build_vec_init): Build comparison of matching
|
||||
types.
|
||||
|
||||
2005-11-03 Josh Conner <jconner@apple.com>
|
||||
|
||||
PR c++/19989
|
||||
|
|
|
@ -2613,8 +2613,8 @@ build_vec_init (tree base, tree maxindex, tree init,
|
|||
|
||||
for_stmt = begin_for_stmt ();
|
||||
finish_for_init_stmt (for_stmt);
|
||||
finish_for_cond (build2 (NE_EXPR, boolean_type_node,
|
||||
iterator, integer_minus_one_node),
|
||||
finish_for_cond (build2 (NE_EXPR, boolean_type_node, iterator,
|
||||
build_int_cst (TREE_TYPE (iterator), -1)),
|
||||
for_stmt);
|
||||
finish_for_expr (build_unary_op (PREDECREMENT_EXPR, iterator, 0),
|
||||
for_stmt);
|
||||
|
|
Loading…
Add table
Reference in a new issue