public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10486: Regression (ICE) in 3.3 branch due to recent patch.
@ 2003-04-25 15:08 bangerth
  0 siblings, 0 replies; 6+ messages in thread
From: bangerth @ 2003-04-25 15:08 UTC (permalink / raw)
  To: carlo, gcc-bugs, gcc-prs, nobody

Synopsis: Regression (ICE) in 3.3 branch due to recent patch.

State-Changed-From-To: feedback->closed
State-Changed-By: bangerth
State-Changed-When: Fri Apr 25 15:08:18 2003
State-Changed-Why:
    Mark fixed this

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


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

* Re: c++/10486: Regression (ICE) in 3.3 branch due to recent patch.
@ 2003-04-25  1:56 Carlo Wood
  0 siblings, 0 replies; 6+ messages in thread
From: Carlo Wood @ 2003-04-25  1:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: Carlo Wood <carlo@alinoe.com>
To: Wolfgang Bangerth <bangerth@ices.utexas.edu>
Cc: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: c++/10486: Regression (ICE) in 3.3 branch due to recent patch.
Date: Fri, 25 Apr 2003 03:48:19 +0200

 On Thu, Apr 24, 2003 at 07:55:45PM -0500, Wolfgang Bangerth wrote:
 > Can you ping me when you find that it is indeed fixed for your code? I'll 
 > close the report then, if you want.
 
 Yup, it is fixed.  You can close it.
 
 Thanks again,
 
 -- 
 Carlo Wood <carlo@alinoe.com>


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

* Re: c++/10486: Regression (ICE) in 3.3 branch due to recent patch.
@ 2003-04-25  0:56 Wolfgang Bangerth
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Bangerth @ 2003-04-25  0:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: Wolfgang Bangerth <bangerth@ices.utexas.edu>
To: Carlo Wood <carlo@alinoe.com>
Cc: gcc-bugs@gcc.gnu.org, <gcc-gnats@gcc.gnu.org>
Subject: Re: c++/10486: Regression (ICE) in 3.3 branch due to recent patch.
Date: Thu, 24 Apr 2003 19:55:45 -0500 (CDT)

 > That test case indeed fails with my current 3.3.
 > I'll update again and retry.  Too bad I wasted a whole evening
 > condensing that test case while it was already fixed :/.
 
 What can I say -- I reduced and filed 10471, only to find out shortly 
 after that almost exactly the same bug had already been filed a couple of 
 hours earlier. The bug only existed about a day, and we now have 3 reports 
 about it...
 
 Can you ping me when you find that it is indeed fixed for your code? I'll 
 close the report then, if you want.
 
 W.
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth              email:            bangerth@ices.utexas.edu
                                www: http://www.ices.utexas.edu/~bangerth/
 
 


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

* Re: c++/10486: Regression (ICE) in 3.3 branch due to recent patch.
@ 2003-04-25  0:46 Carlo Wood
  0 siblings, 0 replies; 6+ messages in thread
From: Carlo Wood @ 2003-04-25  0:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: Carlo Wood <carlo@alinoe.com>
To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/10486: Regression (ICE) in 3.3 branch due to recent patch.
Date: Fri, 25 Apr 2003 02:45:51 +0200

 That test case indeed fails with my current 3.3.
 I'll update again and retry.  Too bad I wasted a whole evening
 condensing that test case while it was already fixed :/.
 But I'm happy it is fixed already anyway.
 
 Thanks!
 
 -- 
 Carlo Wood <carlo@alinoe.com>


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

* Re: c++/10486: Regression (ICE) in 3.3 branch due to recent patch.
@ 2003-04-25  0:20 bangerth
  0 siblings, 0 replies; 6+ messages in thread
From: bangerth @ 2003-04-25  0:20 UTC (permalink / raw)
  To: carlo, gcc-bugs, gcc-prs, nobody

Synopsis: Regression (ICE) in 3.3 branch due to recent patch.

State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Fri Apr 25 00:20:01 2003
State-Changed-Why:
    This is isomorph (there is a continuous deformation) from your
    testcase to this one
    ---------------------------
    template<typename T>
    struct B
    {
        B() { }
    };
    
    template<typename T>
    struct A
    {
        A(B<int> & = B<int>());
    };
    
    A<int> x;
    ------------------------
    which I think is the same as 10471. Mark fixed that sometime
    this night, and I don't see it in a 3.3 checked out
    this morning Texas time. I see it in 3.4 from yesterday.
    From when is your version? I bet you should just update
    and try again :-) Would you mind?
    
    W.

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


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

* c++/10486: Regression (ICE) in 3.3 branch due to recent patch.
@ 2003-04-25  0:06 carlo
  0 siblings, 0 replies; 6+ messages in thread
From: carlo @ 2003-04-25  0:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10486
>Category:       c++
>Synopsis:       Regression (ICE) in 3.3 branch due to recent patch.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 25 00:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Carlo Wood
>Release:        GNU C++ version 3.3 20030424 (prerelease)
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
After updating my CVS source tree at 20030424,
while the last update was from around 20030404,
I ran into a new ICE.

This is a regression, all previous versions compile
this fine, as did version 3.3 20030404.

Full output:

g++-cvs-3.3 -v -c troep.cc
Reading specs from /usr/local/gcc-cvs-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: /usr/src/gcc/gcc-cvs-3.3/configure --prefix=/usr/local/gcc-cvs-3.3 --enable-shared --with-gnu-as --with-gnu-ld --enable-languages=c++ --enable-debug --enable-threads
Thread model: posix
gcc version 3.3 20030424 (prerelease)
 /usr/local/gcc-cvs-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/cc1plus -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 -D_GNU_SOURCE troep.cc -D__GNUG__=3 -quiet -dumpbase troep.cc -auxbase troep -version -o /tmp/ccpOnYTr.s
GNU C++ version 3.3 20030424 (prerelease) (i686-pc-linux-gnu)
        compiled by GNU C version 3.3 20030424 (prerelease).
GGC heuristics: --param ggc-min-expand=55 --param ggc-min-heapsize=48296
ignoring nonexistent directory "/usr/local/gcc-cvs-3.3/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/gcc-cvs-3.3/include/c++/3.3
 /usr/local/gcc-cvs-3.3/include/c++/3.3/i686-pc-linux-gnu
 /usr/local/gcc-cvs-3.3/include/c++/3.3/backward
 /usr/local/include
 /usr/local/gcc-cvs-3.3/include
 /usr/local/gcc-cvs-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/include
 /usr/include
End of search list.
troep.cc: In constructor `A<_Tp, _Alloc>::A(typename
   _Alloc::rebind<_Tp>::other&) [with _Tp = int, _Alloc = B<int>]':
troep.cc:19: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>How-To-Repeat:
Compile the following code snippet:


template<typename _Tp, typename _Alloc>
  struct A
  {
    typedef typename _Alloc::template rebind<_Tp>::other allocator_type;
    A(allocator_type const& __a = allocator_type()) { }
  };

template<typename T>
  struct B
  {
    template <typename T1>
      struct rebind
      {
        typedef B<T1> other;
      };
    ~B() { }
  };

A<int, B<char>::rebind<int>::other> x;
>Fix:
Among others, removing the "~B() { }" helps.
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-04-25 15:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-25 15:08 c++/10486: Regression (ICE) in 3.3 branch due to recent patch bangerth
  -- strict thread matches above, loose matches on Subject: below --
2003-04-25  1:56 Carlo Wood
2003-04-25  0:56 Wolfgang Bangerth
2003-04-25  0:46 Carlo Wood
2003-04-25  0:20 bangerth
2003-04-25  0:06 carlo

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