gcc 2.97 20001016 (experimental) -- Internal compiler error
Joe Ramey
ramey@hc.ti.com
Fri Oct 20 13:15:00 GMT 2000
I ran across this bug when trying to compile the latest release of the
UW imap server. I encountered an error when using gcc-2.95.2 19991024
(release), so I downloaded and installed the latest development
snapshot but it still has trouble with this file.
------------------------------------------------------------------------------
Version: gcc version 2.97 20001016 (experimental)
System: sparc-sun-solaris2.6
Configured with: --enable-languages=c++
Command: gcc -g -c try.c
Output:
try.c: In function `mbx_hdrpos':
try.c:18: Unrecognizable insn:
(insn 24 22 26 (set (reg:SI 109)
(minus:SI (const_int 4 [0x4])
(const_int -4096 [0xfffff000]))) -1 (nil)
(nil))
try.c:18: Internal compiler error in , at recog.c:2162
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
Source code:
------------------------------------------------------------------------------
typedef struct mail_stream {
void *local; /* pointer to driver local data */
} MAILSTREAM;
typedef struct mbx_local {
char *buf; /* temporary buffer */
unsigned long buflen; /* current size of temporary buffer */
} MBXLOCAL;
unsigned long mbx_hdrpos (MAILSTREAM *stream,unsigned long msgno,
unsigned long *size,char **hdr)
{
((MBXLOCAL *) stream->local)->buf = (char *) fs_get ((((MBXLOCAL *) stream->local)->buflen = 4096) + 4);
/* not found: header consumes entire message */
}
------------------------------------------------------------------------------
More information about the Gcc-bugs
mailing list