This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23320] [4.1 Regression] ICE in in base_addr_differ_p, at tree-data-ref.c:430
- From: "irar at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2005 08:14:20 -0000
- Subject: [Bug tree-optimization/23320] [4.1 Regression] ICE in in base_addr_differ_p, at tree-data-ref.c:430
- References: <20050810215827.23320.steven@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From irar at il dot ibm dot com 2005-08-11 08:14 -------
Created an attachment (id=9469)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9469&action=view)
Patch
Yes, you are right, I should check the type of the data-ref (array type in the
first case). And instead of the assert I'll add the check that both data-refs
are of pointer type in the second case.
I'll submit the changes after testing.
Thanks,
Ira
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |irar at il dot ibm dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23320