public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/8134: ICE in force_store_init_value on legal code
@ 2002-10-03 12:26 georgeh
  0 siblings, 0 replies; 7+ messages in thread
From: georgeh @ 2002-10-03 12:26 UTC (permalink / raw)
  To: gcc-gnats; +Cc: alvaro


>Number:         8134
>Category:       c++
>Synopsis:       ICE in force_store_init_value on legal code
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 03 12:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     George Heintzelman (georgeh@rentec.com
>Release:        gcc 3.2
>Organization:
>Environment:
System: Linux monsterd01 2.4.18-rmap12h #1 SMP Mon May 13 14:01:21 EDT 2002 i686 unknown
Architecture: i686

        <machine, os, target, libraries (multiple lines)>
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-3.2/configure --disable-nls --enable-languages=c,c++,f77 --disable-libgcj --disable-shared --prefix=/usr/local/products/gcc/3.2
>Description:
Compiling the following legal code, I get:
/usr/local/products/gcc/3.2/bin/g++ -c gcc-ice-memptr.C 
gcc-ice-memptr.C:20: Internal compiler error in force_store_init_value, at 
   cp/typeck2.c:443

gcc-ice-memptr.C:
#include <list>

template <class T>
class string2 {
private:
  T default_value; 
  std::list<int> l;
public:
  template <class It>
  string2(const T &_default_value, It begin, It end) {
  }
};

class X {
};

typedef int X::* field_type;
int table[1] = {0};

string2<field_type> s2vh(0,table, table + 1);

>How-To-Repeat:
Repeated on Solaris 2.8 installation of g++ 3.2 as well.
>Fix:

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


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

* Re: c++/8134: ICE in force_store_init_value on legal code
@ 2002-10-16 12:40 mmitchel
  0 siblings, 0 replies; 7+ messages in thread
From: mmitchel @ 2002-10-16 12:40 UTC (permalink / raw)
  To: alvaro, gcc-bugs, gcc-prs, georgeh, nobody

Synopsis: ICE in force_store_init_value on legal code

State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Wed Oct 16 12:40:20 2002
State-Changed-Why:
    Fixed in GCC 3.2.1.

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


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

* Re: c++/8134: ICE in force_store_init_value on legal code
@ 2002-10-09 10:56 Pop Sébastian
  0 siblings, 0 replies; 7+ messages in thread
From: Pop Sébastian @ 2002-10-09 10:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/8134; it has been noted by GNATS.

From: =?iso-8859-1?Q?Pop_S=E9bastian?= <pop@gauvain.u-strasbg.fr>
To: Gabriel Dos Reis <gdr@integrable-solutions.net>
Cc: lerdsuwa@gcc.gnu.org, alvaro@rentec.com, gcc-bugs@gcc.gnu.org,
	georgeh@rentec.com, gcc-gnats@gcc.gnu.org
Subject: Re: c++/8134: ICE in force_store_init_value on legal code
Date: Wed, 9 Oct 2002 19:48:12 +0200

 On Tue, Oct 08, 2002 at 11:58:35PM +0200, Gabriel Dos Reis wrote:
 > 
 > Can you determine which patch fixes this PR?  It would be helpful if
 > it could be backported to branch,
 > 
 
 Here is the original message from the bug report:
 
 /usr/local/products/gcc/3.2/bin/g++ -c gcc-ice-memptr.C 
 gcc-ice-memptr.C:20: Internal compiler error in force_store_init_value, at 
    cp/typeck2.c:443
  
 
 There are 2 patches that modify this function:
 
 2002-05-14  Alexandre Oliva  <aoliva@redhat.com>
 * typeck2.c (force_store_init_value): New function.
 
 and 
 
 2002-09-30  Mark Mitchell  <mark@codesourcery.com>
 (force_store_init_value): Remove.
 
 I think that the later closed this bug report.
 


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

* Re: c++/8134: ICE in force_store_init_value on legal code
@ 2002-10-08 15:06 Gabriel Dos Reis
  0 siblings, 0 replies; 7+ messages in thread
From: Gabriel Dos Reis @ 2002-10-08 15:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

The following reply was made to PR c++/8134; it has been noted by GNATS.

From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: Pop Sébastian <pop@gauvain.u-strasbg.fr>
Cc: lerdsuwa@gcc.gnu.org, alvaro@rentec.com, gcc-bugs@gcc.gnu.org,
   georgeh@rentec.com, gcc-gnats@gcc.gnu.org
Subject: Re: c++/8134: ICE in force_store_init_value on legal code
Date: 08 Oct 2002 23:58:35 +0200

 Pop Sébastian <pop@gauvain.u-strasbg.fr> writes:
 
 | I can reproduce the bug with 
 | gcc version 3.2.1 20020924 (Debian prerelease)
 | 
 | The bug is not present in:
 | gcc version 3.0.4
 | 
 | nor in the latest version in CVS:
 | version gcc 3.3 20021007 (experimental)
 | 
 | Seems like the bug was a duplicate of another bug fixed in the mainline.
 | I suggest to close this PR.
 
 don't you have a GNATS account?
 
 Can you determine which patch fixes this PR?  It would be helpful if
 it could be backported to branch,
 
 -- Gaby


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

* Re: c++/8134: ICE in force_store_init_value on legal code
@ 2002-10-08 15:06 Pop Sébastian
  0 siblings, 0 replies; 7+ messages in thread
From: Pop Sébastian @ 2002-10-08 15:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]

The following reply was made to PR c++/8134; it has been noted by GNATS.

From: =?iso-8859-1?Q?Pop_S=E9bastian?= <pop@gauvain.u-strasbg.fr>
To: Gabriel Dos Reis <gdr@integrable-solutions.net>
Cc: lerdsuwa@gcc.gnu.org, alvaro@rentec.com, gcc-bugs@gcc.gnu.org,
	georgeh@rentec.com, gcc-gnats@gcc.gnu.org
Subject: Re: c++/8134: ICE in force_store_init_value on legal code
Date: Wed, 9 Oct 2002 00:05:38 +0200

 On Tue, Oct 08, 2002 at 11:58:35PM +0200, Gabriel Dos Reis wrote:
 > Pop Sébastian <pop@gauvain.u-strasbg.fr> writes:
 > 
 > | I can reproduce the bug with 
 > | gcc version 3.2.1 20020924 (Debian prerelease)
 > | 
 > | The bug is not present in:
 > | gcc version 3.0.4
 > | 
 > | nor in the latest version in CVS:
 > | version gcc 3.3 20021007 (experimental)
 > | 
 > | Seems like the bug was a duplicate of another bug fixed in the mainline.
 > | I suggest to close this PR.
 > 
 > don't you have a GNATS account?
 > 
 not yet...
 
 > Can you determine which patch fixes this PR?  It would be helpful if
 > it could be backported to branch,
 > 
 This remembers me something... in typeck2.c 
 I will try to retrieve it.
 
 > -- Gaby


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

* Re: c++/8134: ICE in force_store_init_value on legal code
@ 2002-10-08 14:36 Pop Sébastian
  0 siblings, 0 replies; 7+ messages in thread
From: Pop Sébastian @ 2002-10-08 14:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/8134; it has been noted by GNATS.

From: =?iso-8859-1?Q?Pop_S=E9bastian?= <pop@gauvain.u-strasbg.fr>
To: lerdsuwa@gcc.gnu.org, alvaro@rentec.com, gcc-bugs@gcc.gnu.org,
	gcc-prs@gcc.gnu.org, georgeh@rentec.com, nobody@gcc.gnu.org,
	gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/8134: ICE in force_store_init_value on legal code
Date: Tue, 8 Oct 2002 23:31:02 +0200

 On Fri, Oct 04, 2002 at 03:10:30PM -0000, lerdsuwa@gcc.gnu.org wrote:
 > Synopsis: ICE in force_store_init_value on legal code
 > 
 > State-Changed-From-To: open->analyzed
 > State-Changed-By: lerdsuwa
 > State-Changed-When: Fri Oct  4 08:10:29 2002
 > State-Changed-Why:
 >     Confirmed.  Regression from GCC 3.0.
 > 
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8134
 
 I can reproduce the bug with 
 gcc version 3.2.1 20020924 (Debian prerelease)
 
 The bug is not present in:
 gcc version 3.0.4
 
 nor in the latest version in CVS:
 version gcc 3.3 20021007 (experimental)
 
 Seems like the bug was a duplicate of another bug fixed in the mainline.
 I suggest to close this PR.
 
 
 Sebastian


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

* Re: c++/8134: ICE in force_store_init_value on legal code
@ 2002-10-04  8:10 lerdsuwa
  0 siblings, 0 replies; 7+ messages in thread
From: lerdsuwa @ 2002-10-04  8:10 UTC (permalink / raw)
  To: alvaro, gcc-bugs, gcc-prs, georgeh, nobody

Synopsis: ICE in force_store_init_value on legal code

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Fri Oct  4 08:10:29 2002
State-Changed-Why:
    Confirmed.  Regression from GCC 3.0.

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


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

end of thread, other threads:[~2002-10-16 19:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-03 12:26 c++/8134: ICE in force_store_init_value on legal code georgeh
2002-10-04  8:10 lerdsuwa
2002-10-08 14:36 Pop Sébastian
2002-10-08 15:06 Pop Sébastian
2002-10-08 15:06 Gabriel Dos Reis
2002-10-09 10:56 Pop Sébastian
2002-10-16 12:40 mmitchel

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