public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16671] New: [3.5 regression] ICE in tsubst_decl
@ 2004-07-22 15:30 bangerth at dealii dot org
  2004-07-22 16:10 ` [Bug c++/16671] " bangerth at dealii dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bangerth at dealii dot org @ 2004-07-22 15:30 UTC (permalink / raw)
  To: gcc-bugs

There is a recent ICE in tsubst_decl for the attached file that triggers all over the 
place in my library: 
 
deal.II/deal.II> c++ -c x.ii 
x.ii: In instantiation of `internals::SparseMatrixIterators::Accessor<float, false>::Reference': 
x.ii:44680:   instantiated from `void ConstraintMatrix::condense(SparseMatrix<number>&) 
const [with number = float]' 
x.ii:48639:   instantiated from here 
x.ii:36960: internal compiler error: in tsubst_decl, at cp/pt.c:6081 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 
I'll try to reduce the testcase somewhat soon. 
 
W.

-- 
           Summary: [3.5 regression] ICE in tsubst_decl
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org,nathan at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16671


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

* [Bug c++/16671] [3.5 regression] ICE in tsubst_decl
  2004-07-22 15:30 [Bug c++/16671] New: [3.5 regression] ICE in tsubst_decl bangerth at dealii dot org
@ 2004-07-22 16:10 ` bangerth at dealii dot org
  2004-07-22 17:00 ` giovannibajo at libero dot it
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bangerth at dealii dot org @ 2004-07-22 16:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-07-22 16:10 -------
I can't attach something today due to a misconfiguration on my side. But here's 
a reduced testcase: 
-------------------------- 
template <typename T> struct Accessor { 
    struct Reference { 
	void operator = (int); 
    }; 
}; 
 
template <typename T> 
void Accessor<T>::Reference::operator = (int) {} 
 
template class Accessor<float>::Reference; 
---------------------------- 
deal.II/deal.II> c++ -c x.cc 
x.cc: In instantiation of `Accessor<float>::Reference': 
x.cc:10:   instantiated from here 
x.cc:2: internal compiler error: in tsubst_decl, at cp/pt.c:6081 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 
W. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16671


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

* [Bug c++/16671] [3.5 regression] ICE in tsubst_decl
  2004-07-22 15:30 [Bug c++/16671] New: [3.5 regression] ICE in tsubst_decl bangerth at dealii dot org
  2004-07-22 16:10 ` [Bug c++/16671] " bangerth at dealii dot org
@ 2004-07-22 17:00 ` giovannibajo at libero dot it
  2004-07-22 17:06 ` nathan at codesourcery dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: giovannibajo at libero dot it @ 2004-07-22 17:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-07-22 17:00 -------
Almost surely caused by:
http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01572.html

Mark, can you have a look at this?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mmitchel at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
      Known to fail|                            |3.5.0
      Known to work|                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-22 17:00:31
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16671


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

* [Bug c++/16671] [3.5 regression] ICE in tsubst_decl
  2004-07-22 15:30 [Bug c++/16671] New: [3.5 regression] ICE in tsubst_decl bangerth at dealii dot org
  2004-07-22 16:10 ` [Bug c++/16671] " bangerth at dealii dot org
  2004-07-22 17:00 ` giovannibajo at libero dot it
@ 2004-07-22 17:06 ` nathan at codesourcery dot com
  2004-07-22 17:08 ` nathan at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: nathan at codesourcery dot com @ 2004-07-22 17:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at codesourcery dot com  2004-07-22 17:06 -------
Subject: Re:  [3.5 regression] ICE in tsubst_decl

bangerth at dealii dot org wrote:
> ------- Additional Comments From bangerth at dealii dot org  2004-07-22 16:10 -------
> I can't attach something today due to a misconfiguration on my side. But here's 
> a reduced testcase: 
> -------------------------- 
> template <typename T> struct Accessor { 
>     struct Reference { 
> 	void operator = (int); 
>     }; 
> }; 
>  
> template <typename T> 
> void Accessor<T>::Reference::operator = (int) {} 
>  
> template class Accessor<float>::Reference; 
this is already fixed. I think it's the one that I did this morning.
Can you confirm with an updated tree?

nathan


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16671


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

* [Bug c++/16671] [3.5 regression] ICE in tsubst_decl
  2004-07-22 15:30 [Bug c++/16671] New: [3.5 regression] ICE in tsubst_decl bangerth at dealii dot org
                   ` (2 preceding siblings ...)
  2004-07-22 17:06 ` nathan at codesourcery dot com
@ 2004-07-22 17:08 ` nathan at gcc dot gnu dot org
  2004-07-22 18:25 ` bangerth at ices dot utexas dot edu
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-07-22 17:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2004-07-22 17:08 -------
probably mine, as it appears fixed already. Please close if confirmed, or
add a new testcase if not.  thanks

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|mmitchel at gcc dot gnu dot |nathan at gcc dot gnu dot
                   |org                         |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16671


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

* [Bug c++/16671] [3.5 regression] ICE in tsubst_decl
  2004-07-22 15:30 [Bug c++/16671] New: [3.5 regression] ICE in tsubst_decl bangerth at dealii dot org
                   ` (3 preceding siblings ...)
  2004-07-22 17:08 ` nathan at gcc dot gnu dot org
@ 2004-07-22 18:25 ` bangerth at ices dot utexas dot edu
  2004-07-22 20:59 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bangerth at ices dot utexas dot edu @ 2004-07-22 18:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at ices dot utexas dot edu  2004-07-22 18:25 -------
Subject: Re:  [3.5 regression] ICE in tsubst_decl

> probably mine, as it appears fixed already. Please close if
> confirmed, or add a new testcase if not.  thanks

It'll show up in my builds next night. So let's just wait until tomorrow to 
see whether it is really fixed.

W.

-------------------------------------------------------------------------
Wolfgang Bangerth              email:            bangerth@ices.utexas.edu
                               www: http://www.ices.utexas.edu/~bangerth/



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16671


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

* [Bug c++/16671] [3.5 regression] ICE in tsubst_decl
  2004-07-22 15:30 [Bug c++/16671] New: [3.5 regression] ICE in tsubst_decl bangerth at dealii dot org
                   ` (4 preceding siblings ...)
  2004-07-22 18:25 ` bangerth at ices dot utexas dot edu
@ 2004-07-22 20:59 ` pinskia at gcc dot gnu dot org
  2004-07-23 13:48 ` bangerth at dealii dot org
  2004-07-23 14:19 ` nathan at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-22 20:59 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING
   Target Milestone|---                         |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16671


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

* [Bug c++/16671] [3.5 regression] ICE in tsubst_decl
  2004-07-22 15:30 [Bug c++/16671] New: [3.5 regression] ICE in tsubst_decl bangerth at dealii dot org
                   ` (5 preceding siblings ...)
  2004-07-22 20:59 ` pinskia at gcc dot gnu dot org
@ 2004-07-23 13:48 ` bangerth at dealii dot org
  2004-07-23 14:19 ` nathan at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: bangerth at dealii dot org @ 2004-07-23 13:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-07-23 13:48 -------
Alright, seems fixed now. Have another 3 distinct ICEs this night, though :-( 
 
Thanks everyone for fixing it. Nathan, did you have a testcase for this 
problem when you fixed it? 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16671


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

* [Bug c++/16671] [3.5 regression] ICE in tsubst_decl
  2004-07-22 15:30 [Bug c++/16671] New: [3.5 regression] ICE in tsubst_decl bangerth at dealii dot org
                   ` (6 preceding siblings ...)
  2004-07-23 13:48 ` bangerth at dealii dot org
@ 2004-07-23 14:19 ` nathan at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-07-23 14:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2004-07-23 14:19 -------
yes thanks, I distilled one from Gerald's example

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16671


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

end of thread, other threads:[~2004-07-23 14:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-22 15:30 [Bug c++/16671] New: [3.5 regression] ICE in tsubst_decl bangerth at dealii dot org
2004-07-22 16:10 ` [Bug c++/16671] " bangerth at dealii dot org
2004-07-22 17:00 ` giovannibajo at libero dot it
2004-07-22 17:06 ` nathan at codesourcery dot com
2004-07-22 17:08 ` nathan at gcc dot gnu dot org
2004-07-22 18:25 ` bangerth at ices dot utexas dot edu
2004-07-22 20:59 ` pinskia at gcc dot gnu dot org
2004-07-23 13:48 ` bangerth at dealii dot org
2004-07-23 14:19 ` nathan at gcc dot gnu dot org

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