This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/13058] [3.3/3.4 regression] ICE generating code for sparc64 in reload_cse_simplify_operands


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]