This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32144] [pointer_plus] Ice in chrec_fold_plus_poly_poly, at tree-chrec.c:110
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 May 2007 19:37:52 -0000
- Subject: [Bug tree-optimization/32144] [pointer_plus] Ice in chrec_fold_plus_poly_poly, at tree-chrec.c:110
- References: <bug-32144-14137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-29 19:37 -------
Reduced testcase:
typedef unsigned short __u16;
typedef unsigned int u32;
typedef __u16 __be16;
struct hfs_extent {
__be16 count;
};
int hfs_free_fork( int type)
{
u32 total_blocks, blocks, start;
struct hfs_extent *extent;
int res, i;
for (i = 0; i < 3; extent++, i++)
blocks += __fswab16((( __u16)(__be16)(extent[i].count)));
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC host triplet|i686-gnu-linux |
GCC target triplet| |i686-gnu-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32144