Summary: | [4.0/4.1 Regression] GCC Internal Compiler Error | ||
---|---|---|---|
Product: | gcc | Reporter: | Renato Perini <rperini> |
Component: | middle-end | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | gcc-bugs |
Priority: | P3 | Keywords: | ice-on-valid-code |
Version: | 4.0.0 | ||
Target Milestone: | 4.0.1 | ||
Host: | i686-pc-linux-gnu | Target: | i686-pc-linux-gnu |
Build: | i686-pc-linux-gnu | Known to work: | |
Known to fail: | Last reconfirmed: | 2005-05-04 14:53:10 | |
Attachments: | This is the preprocessed source file that triggers the bug |
Description
Renato Perini
2005-05-04 13:37:23 UTC
Created attachment 8817 [details]
This is the preprocessed source file that triggers the bug
This is the output generated with -v -save-temps flags
*** Bug 21378 has been marked as a duplicate of this bug. *** 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; } (In reply to comment #2) > *** Bug 21378 has been marked as a duplicate of this bug. *** Sorry for double posting. I have some problems on my Internet connection. Fixed already. |