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 target/25310] [4.1 Regression] ICE in reload_cse_simplify_operands, at postreload.c:393



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


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