This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/25310] [4.1 Regression] ICE in reload_cse_simplify_operands, at postreload.c:393
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2005 13:38:55 -0000
- Subject: [Bug target/25310] [4.1 Regression] ICE in reload_cse_simplify_operands, at postreload.c:393
- References: <bug-25310-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2005-12-08 13:38 -------
Reduced testcase:
typedef enum { HTTP_FIELD_MAX } http_field_t;
typedef struct { char hostname[256], fields[HTTP_FIELD_MAX][256]; }
http_t;
extern int httpRead(http_t *http, char *buffer, int length);
translate_messages(const char *language)
{
http_t *http;
char buffer[65536], *bufptr, *bufend;
int bytes;
bufend = buffer + sizeof(buffer) - 1;
while ((bytes = httpRead(http, bufptr, bufend - bufptr)) > 0)
;
}
(please make sure the original testcase works, too)
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |uweigand at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25310