This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37417] [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2008 16:41:20 -0000
- Subject: [Bug c++/37417] [4.4 Regression] error: type mismatch in binary expression, verify_gimple failed
- References: <bug-37417-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jakub at gcc dot gnu dot org 2008-09-09 16:41 -------
FE bug:
tree
array_type_nelts_top (tree type)
{
return fold_build2 (PLUS_EXPR, sizetype,
array_type_nelts (type),
integer_one_node);
}
Should use size_one_node instead.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2008-09-08 21:05:56 |2008-09-09 16:41:19
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37417