This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13058] [3.3/3.4 regression] ICE generating code for sparc64 in reload_cse_simplify_operands
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2003 22:38:11 -0000
- Subject: [Bug c/13058] [3.3/3.4 regression] ICE generating code for sparc64 in reload_cse_simplify_operands
- References: <20031114215044.13058.lloyd@must-have-coffee.gen.nz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2003-11-14 22:38 -------
I can confirm this with 3.3.2 and 3.4 20031108 on sparc-sun-solaris2.8 with
-O -m64. Smaller test case:
typedef struct { int ThumbnailSize; } ImageInfo_t;
double ConvertAnyFormat (void) { return 0; }
void ProcessExifDir(ImageInfo_t *ImageInfoP, int NumDirEntries) {
unsigned ThumbnailSize;
for (; NumDirEntries;) {
Get16u();
switch (NumDirEntries) {
case 0x0201:
case 0x0202:
ThumbnailSize = ConvertAnyFormat();
}
}
ImageInfoP->ThumbnailSize = ThumbnailSize;
}
The bug is somewhat volatile, this example doesn't ICE with 3.3.2...
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Summary|ICE generating code for |[3.3/3.4 regression] ICE
|sparc64 in |generating code for sparc64
|reload_cse_simplify_operands|in
| |reload_cse_simplify_operands
Target Milestone|--- |3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13058