[Bug rtl-optimization/28062] [4.1 regression] ICE in simplify_subreg, at simplify-rtx.c:4466
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-06-17 02:21 -------
Here is a C testcase (so that it does not get marked as P5):
typedef struct _NSPoint NSPoint;
struct _NSPoint
{
float x;
float y;
};
static inline NSPoint
NSMakePoint (float x, float y)
{
NSPoint point;
point.x = x;
point.y = y;
return point;
}
static inline NSPoint
RelativePoint (NSPoint point, NSPoint refPoint)
{
return NSMakePoint (refPoint.x + point.x, refPoint.y + point.y);
}
NSPoint g(NSPoint refPoint)
{
float pointA, pointB;
return RelativePoint (NSMakePoint (0, pointA), refPoint);
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-06-17 02:21:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28062
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply to: