public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/4226: 3.1 ICE in remove_unnecessary_notes
@ 2002-01-01 15:46 Scott Snyder
  0 siblings, 0 replies; 3+ messages in thread
From: Scott Snyder @ 2002-01-01 15:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/4226; it has been noted by GNATS.

From: Scott Snyder <snyder@fnal.gov>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org
Cc:  
Subject: Re: optimization/4226: 3.1 ICE in remove_unnecessary_notes
Date: 01 Jan 2002 17:36:21 -0600

 hi -
 
 This crash no longer occurs in the current cvs version of gcc (3.1 20011231).
 
 sss


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

* Re: optimization/4226: 3.1 ICE in remove_unnecessary_notes
@ 2002-01-01 18:35 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2002-01-01 18:35 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, snyder

Synopsis: 3.1 ICE in remove_unnecessary_notes

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Tue Jan  1 18:35:38 2002
State-Changed-Why:
    Submitter reports that problem is fixed in current snapshot.

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


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

* optimization/4226: 3.1 ICE in remove_unnecessary_notes
@ 2001-09-04 10:56 snyder
  0 siblings, 0 replies; 3+ messages in thread
From: snyder @ 2001-09-04 10:56 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4226
>Category:       optimization
>Synopsis:       3.1 ICE in remove_unnecessary_notes
>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 3.1 crashes when compiling the example with -O2.
>How-To-Repeat:

$ g++ -c -O2 x.cc
x.cc: In constructor `HepHistoHist1D::HepHistoHist1D(HepObj*)':
x.cc:38: Internal compiler error in remove_unnecessary_notes, at emit-rtl.c:
   2987
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.


------------------------------------------------------------
// g++ -c -O2

template <class _Tp>
class allocator {
public:
  allocator() {}
  ~allocator();

};

class X
{
public:
  typedef allocator<char> Alloc;
  X (const char*, const Alloc& = Alloc());
};


class HepObj 
{
public:
  virtual ~HepObj ();
  X    * dir_;
  X      dir()     const
  {return (dir_ ) ? *dir_ : "";}
};

class HepHistoHist1D
  : public HepObj
{
public:
  HepHistoHist1D(HepObj* original);
};

HepHistoHist1D::HepHistoHist1D (HepObj* original)
{
  original->dir();
}


------------------------------------------------------------


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


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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-01 15:46 optimization/4226: 3.1 ICE in remove_unnecessary_notes Scott Snyder
  -- strict thread matches above, loose matches on Subject: below --
2002-01-01 18:35 rodrigc
2001-09-04 10:56 snyder

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