------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-04
14:53 -------
Confirmed, reduced testcase:
typedef struct IpoKey {
struct IpoKey *next, *prev;
short flag, rt;
float val;
struct BezTriple **data;
} IpoKey;
IpoKey *first;
static int float_to_frame (float frame)
{
int to= (int) frame;
if (frame-to>0.5) to++;
return to;
}
int movekey_ipo(int dir, float scene)
{
IpoKey *ik;
float toframe = 0.0;
int a;
ik= first;
while (ik && float_to_frame(ik->val)<=(scene)) {
ik= ik->next;
}
if (ik) toframe= ik->val;
a= float_to_frame(toframe);
return a;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c |middle-end
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2005-05-04 14:53:10
date| |
Summary|GCC Internal Compiler Error |[4.0/4.1 Regression] GCC
| |Internal Compiler Error
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21379