public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* middle-end/4227: 3.1 ICE in expand_end_loop
@ 2001-09-04 10:56 snyder
  0 siblings, 0 replies; 4+ messages in thread
From: snyder @ 2001-09-04 10:56 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4227
>Category:       middle-end
>Synopsis:       3.1 ICE in expand_end_loop
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 04 10:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     scott snyder
>Release:        3.1 20010902 (experimental)
>Organization:
>Environment:
System: Linux karma 2.4.3-12 #1 Fri Jun 8 13:35:30 EDT 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../egcs/configure --prefix=/usr/local/egcs --enable-threads=posix --enable-long-long
>Description:

gcc crashes compiling the example below with -O2.

>How-To-Repeat:

$ g++ -c -O2 y.cc
y.cc: In constructor `d0_RList::d0_RList(int*, int*)':
y.cc:22: Internal compiler error in expand_end_loop, at stmt.c:2563
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.

----------------------------------------------------------
template<class _Tp>
struct It {
  It (int* __x)  {}
};



struct list
{
  ~list();
  void insert (It<int> x);
};


struct d0_RList : public list
{
  d0_RList (int* first, int* last);
};

d0_RList::d0_RList (int* first, int* last)
{
  for (int* i = first; i != last ; i++)
    insert (0);
}
----------------------------------------------------------


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


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

* Re: middle-end/4227: 3.1 ICE in expand_end_loop
@ 2002-01-01 18:37 rodrigc
  0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2002-01-01 18:37 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, snyder

Synopsis: 3.1 ICE in expand_end_loop

State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Tue Jan  1 18:37:21 2002
State-Changed-Why:
    Submitter reports that this is fixed in current snapshots.

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


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

* Re: middle-end/4227: 3.1 ICE in expand_end_loop
@ 2002-01-01 15:16 Scott Snyder
  0 siblings, 0 replies; 4+ messages in thread
From: Scott Snyder @ 2002-01-01 15:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR middle-end/4227; it has been noted by GNATS.

From: Scott Snyder <snyder@fnal.gov>
To: gerald@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
        gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: middle-end/4227: 3.1 ICE in expand_end_loop
Date: 01 Jan 2002 17:06:44 -0600

 >    This seems this has been fixed, at least I cannot reproduce
 >    your crash (and a similiar crash of mine definitely has been
 >    fixed).
     
 >    Would you mind trying again with a current version of GCC and
 >    reporting whether it still fails or not?
 
 With the current cvs version (3.1 20011231), i no longer see the crash.
 
 sss
 
 


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

* Re: middle-end/4227: 3.1 ICE in expand_end_loop
@ 2001-12-23  9:10 gerald
  0 siblings, 0 replies; 4+ messages in thread
From: gerald @ 2001-12-23  9:10 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, snyder

Synopsis: 3.1 ICE in expand_end_loop

State-Changed-From-To: open->feedback
State-Changed-By: gerald
State-Changed-When: Sun Dec 23 09:10:12 2001
State-Changed-Why:
    This seems this has been fixed, at least I cannot reproduce
    your crash (and a similiar crash of mine definitely has been
    fixed).
    
    Would you mind trying again with a current version of GCC and
    reporting whether it still fails or not?

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


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

end of thread, other threads:[~2002-01-02  2:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-04 10:56 middle-end/4227: 3.1 ICE in expand_end_loop snyder
2001-12-23  9:10 gerald
2002-01-01 15:16 Scott Snyder
2002-01-01 18:37 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).