public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* middle-end/6008: Internal compiler error in expand_end_loop, at stmt.c:2527
@ 2002-03-19 17:06 andy
  0 siblings, 0 replies; 3+ messages in thread
From: andy @ 2002-03-19 17:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6008
>Category:       middle-end
>Synopsis:       Internal compiler error in expand_end_loop, at stmt.c:2527
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 19 17:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrew D Jewell
>Release:        gcc version 3.0.4 (Red Hat Linux 7.2 3.0.4-1)
>Organization:
>Environment:
vectra2.alexa.com andy 108% g++3 -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib
Thread model: posix
gcc version 3.0.4 (Red Hat Linux 7.2 3.0.4-1)

vectra2.alexa.com andy 109% uname -a
Linux vectra2.alexa.com 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
>Description:
I get this Internal compiler error when compiling this code (which compiles correctly in 2.95.3) :

vectra2.alexa.com andy 106% g++3 -O -Wall n_inverter.cc
n_inverter.cc: In constructor `InverterImp::InverterImp(const char*, unsigned   int)':
n_inverter.cc:46: Internal compiler error in expand_end_loop, at stmt.c:2527
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

>How-To-Repeat:
#include <cstring>
#include <map>
#include <vector>
#include <set>

typedef int ResultCode;
typedef unsigned RecordID;
typedef unsigned int uint32;

enum {
  TextField,
  SiteField,
  UrlField,
  TitleField,
  DateField,
  LinkField,
  LSiteField,
  CoolField,
  MaxFields
};

class Term {
public:
  enum {LEN=11, DLEN=12};

  Term() {t[0]=0; t[LEN]=0;}
  explicit Term(const char * s) {strncpy(t, s, LEN); t[LEN]=0;}
private:
  char t[DLEN];
};

class InverterImp  {
public:
  InverterImp(const char * inSrcName, uint32 inSrcSize);

private:
  typedef std::vector<RecordID> VR;
  typedef std::map<Term, VR> TermMap_t;
  TermMap_t _posts[MaxFields];
};

InverterImp::InverterImp(const char * inSrcName, uint32 inSrcSize)
{
}



>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: middle-end/6008: Internal compiler error in expand_end_loop, at stmt.c:2527
@ 2002-04-20 13:32 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2002-04-20 13:32 UTC (permalink / raw)
  To: andy, gcc-bugs, gcc-prs, nobody

Synopsis: Internal compiler error in expand_end_loop, at stmt.c:2527

State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Apr 20 13:32:22 2002
State-Changed-Why:
    No feedback.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6008


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: middle-end/6008: Internal compiler error in expand_end_loop, at stmt.c:2527
@ 2002-03-21  7:43 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2002-03-21  7:43 UTC (permalink / raw)
  To: andy, gcc-bugs, gcc-prs, nobody

Synopsis: Internal compiler error in expand_end_loop, at stmt.c:2527

State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Thu Mar 21 07:43:12 2002
State-Changed-Why:
    Did you notice that the compiler instructed you
    to submit your bug report to Red Hat's bugzilla?  Did you
    do that?
    
    I cannot reproduce your problem with the FSF version
    of gcc 3.0.4, nor with the prerelease gcc 3.1

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6008


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-20 20:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-19 17:06 middle-end/6008: Internal compiler error in expand_end_loop, at stmt.c:2527 andy
2002-03-21  7:43 rodrigc
2002-04-20 13:32 rodrigc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).