public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type
@ 2003-07-02 15:20 bangerth at dealii dot org
  2003-07-02 16:45 ` [Bug c++/11406] sorry+ICE: " giovannibajo at libero dot it
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bangerth at dealii dot org @ 2003-07-02 15:20 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: ICE after `array_ref' not supported by dump_type
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          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

Here's a small testcase that ICEs:
--------------------------
template <int> struct S{};

template <int N> S<sizeof(new double[N])> f () {}

template S<4> f<2>();
--------------------------

With present mainline, we get:
tmp/gg> ../build-gcc/gcc-install/bin/c++ -c x.cc
x.cc:3: sorry, unimplemented: `array_ref' not supported by dump_type
x.cc:3: sorry, unimplemented: `array_ref' not supported by dump_type

Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,

W.


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

* [Bug c++/11406] sorry+ICE: `array_ref' not supported by dump_type
  2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
@ 2003-07-02 16:45 ` giovannibajo at libero dot it
  2003-08-05 21:42 ` reichelt at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: giovannibajo at libero dot it @ 2003-07-02 16:45 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


giovannibajo at libero dot it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-02 16:45:23
               date|                            |
            Summary|ICE after `array_ref' not   |sorry+ICE: `array_ref' not
                   |supported by dump_type      |supported by dump_type
   Target Milestone|3.4                         |---


------- Additional Comments From giovannibajo at libero dot it  2003-07-02 16:45 -------
Nothing fancy with the ICE. It's just trying to emit the same sorry message 
another time, but within an error diagnostic (the template instantiation is not 
right), so it doesn't work.
In other words, the ICE will go away when the sorry is fixed. Let's keep this 
only for the sorry.

The sorry() is another problem with dumping new-expressions. There are too many 
different trees called NEW_EXPR, so dump_expr gets confused.


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

* [Bug c++/11406] sorry+ICE: `array_ref' not supported by dump_type
  2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
  2003-07-02 16:45 ` [Bug c++/11406] sorry+ICE: " giovannibajo at libero dot it
@ 2003-08-05 21:42 ` reichelt at gcc dot gnu dot org
  2003-08-06  7:25 ` gdr at integrable-solutions dot net
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-08-05 21:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From reichelt at gcc dot gnu dot org  2003-08-05 21:42 -------
We now get a plain ICE (a segfault) on mainline.


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

* [Bug c++/11406] sorry+ICE: `array_ref' not supported by dump_type
  2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
  2003-07-02 16:45 ` [Bug c++/11406] sorry+ICE: " giovannibajo at libero dot it
  2003-08-05 21:42 ` reichelt at gcc dot gnu dot org
@ 2003-08-06  7:25 ` gdr at integrable-solutions dot net
  2003-08-29 12:39 ` gdr at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdr at integrable-solutions dot net @ 2003-08-06  7:25 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From gdr at integrable-solutions dot net  2003-08-06 07:25 -------
Subject: Re:  sorry+ICE: `array_ref' not supported by dump_type


I'm lookiing into it as part of the new pretty-printer work.


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

* [Bug c++/11406] sorry+ICE: `array_ref' not supported by dump_type
  2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
                   ` (2 preceding siblings ...)
  2003-08-06  7:25 ` gdr at integrable-solutions dot net
@ 2003-08-29 12:39 ` gdr at gcc dot gnu dot org
  2003-12-18 18:31 ` dhazeghi at yahoo dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdr at gcc dot gnu dot org @ 2003-08-29 12:39 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2003-08-24 17:25:47         |2003-08-29 12:39:56
               date|                            |


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

* [Bug c++/11406] sorry+ICE: `array_ref' not supported by dump_type
  2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
                   ` (3 preceding siblings ...)
  2003-08-29 12:39 ` gdr at gcc dot gnu dot org
@ 2003-12-18 18:31 ` dhazeghi at yahoo dot com
  2004-06-23 15:13 ` reichelt at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-18 18:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2003-12-18 18:13 -------
Gaby, did you mean to assign this to yourself? It's still assigned to unassigned...

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gdr at integrable-solutions
                   |                            |dot net
   Last reconfirmed|2003-11-03 04:13:41         |2003-12-18 18:13:21
               date|                            |


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


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

* [Bug c++/11406] sorry+ICE: `array_ref' not supported by dump_type
  2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
                   ` (4 preceding siblings ...)
  2003-12-18 18:31 ` dhazeghi at yahoo dot com
@ 2004-06-23 15:13 ` reichelt at gcc dot gnu dot org
  2004-06-23 15:21 ` bangerth at dealii dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-06-23 15:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-06-23 15:08 -------
Fixed on mainline by Mark's patch

http://gcc.gnu.org/ml/gcc-cvs/2004-06/msg00888.html

Do we want to add the testcase to the testsuite?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at codesourcery dot com
             Status|ASSIGNED                    |RESOLVED
      Known to fail|                            |3.2.3 3.3.4 3.4.1
      Known to work|                            |3.5.0
         Resolution|                            |FIXED
   Target Milestone|---                         |3.5.0


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


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

* [Bug c++/11406] sorry+ICE: `array_ref' not supported by dump_type
  2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
                   ` (5 preceding siblings ...)
  2004-06-23 15:13 ` reichelt at gcc dot gnu dot org
@ 2004-06-23 15:21 ` bangerth at dealii dot org
  2004-06-23 15:23 ` gdr at acm dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bangerth at dealii dot org @ 2004-06-23 15:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-06-23 15:19 -------
Shouldn't adding testcase almost fall under the "obvious" rule? 
W. 

-- 


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


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

* [Bug c++/11406] sorry+ICE: `array_ref' not supported by dump_type
  2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
                   ` (6 preceding siblings ...)
  2004-06-23 15:21 ` bangerth at dealii dot org
@ 2004-06-23 15:23 ` gdr at acm dot org
  2004-06-23 15:26 ` gdr at acm dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdr at acm dot org @ 2004-06-23 15:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at acm dot org  2004-06-23 15:21 -------
Subject: Re:  sorry+ICE: `array_ref' not supported by 
     dump_type

You Wrote reichelt at gcc dot gnu dot org
>
> ------- Additional Comments From reichelt at gcc dot gnu dot org
> 2004-06-23 15:08 -------
> Fixed on mainline by Mark's patch
>
> http://gcc.gnu.org/ml/gcc-cvs/2004-06/msg00888.html
>
> Do we want to add the testcase to the testsuite?

Yes, I think we do.

I also believe I've seen instances of this PR several times so
that we care about not going back again.

Thanks



-- 


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


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

* [Bug c++/11406] sorry+ICE: `array_ref' not supported by dump_type
  2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
                   ` (7 preceding siblings ...)
  2004-06-23 15:23 ` gdr at acm dot org
@ 2004-06-23 15:26 ` gdr at acm dot org
  2004-06-23 15:34 ` reichelt at igpm dot rwth-aachen dot de
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdr at acm dot org @ 2004-06-23 15:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at acm dot org  2004-06-23 15:23 -------
Subject: Re:  sorry+ICE: `array_ref' not supported by 
     dump_type

You Wrote bangerth at dealii dot org
>
> ------- Additional Comments From bangerth at dealii dot org  2004-06-23
> 15:19 -------
> Shouldn't adding testcase almost fall under the "obvious" rule?

Adding testcases is obvious, except when it is not :-)
In this case, yes, adding the testcase is obvious.



-- 


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


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

* [Bug c++/11406] sorry+ICE: `array_ref' not supported by dump_type
  2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
                   ` (8 preceding siblings ...)
  2004-06-23 15:26 ` gdr at acm dot org
@ 2004-06-23 15:34 ` reichelt at igpm dot rwth-aachen dot de
  2004-06-23 15:36 ` bangerth at dealii dot org
  2004-07-05 10:32 ` cvs-commit at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: reichelt at igpm dot rwth-aachen dot de @ 2004-06-23 15:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at igpm dot rwth-aachen dot de  2004-06-23 15:27 -------
Subject: Re:  sorry+ICE: `array_ref' not supported by dump_type

On 23 Jun, bangerth at dealii dot org wrote:
> 
> ------- Additional Comments From bangerth at dealii dot org  2004-06-23 15:19 -------
> Shouldn't adding testcase almost fall under the "obvious" rule? 

Ok. Are you going to commit it? It's your testcase. ;-)




-- 


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


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

* [Bug c++/11406] sorry+ICE: `array_ref' not supported by dump_type
  2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
                   ` (9 preceding siblings ...)
  2004-06-23 15:34 ` reichelt at igpm dot rwth-aachen dot de
@ 2004-06-23 15:36 ` bangerth at dealii dot org
  2004-07-05 10:32 ` cvs-commit at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: bangerth at dealii dot org @ 2004-06-23 15:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-06-23 15:34 -------
I don't keep CVS writable trees around, so would appreciate if someone else could 
do it. 
 
Thanks 
  Wolfgang 

-- 


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


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

* [Bug c++/11406] sorry+ICE: `array_ref' not supported by dump_type
  2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
                   ` (10 preceding siblings ...)
  2004-06-23 15:36 ` bangerth at dealii dot org
@ 2004-07-05 10:32 ` cvs-commit at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-05 10:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-05 10:32 -------
Subject: Bug 11406

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	reichelt@gcc.gnu.org	2004-07-05 10:31:55

Modified files:
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/template: sizeof8.C 

Log message:
	PR c++/11406
	* g++.dg/template/sizeof8.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3939&r2=1.3940
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/sizeof8.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

end of thread, other threads:[~2004-07-05 10:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-02 15:20 [Bug c++/11406] New: ICE after `array_ref' not supported by dump_type bangerth at dealii dot org
2003-07-02 16:45 ` [Bug c++/11406] sorry+ICE: " giovannibajo at libero dot it
2003-08-05 21:42 ` reichelt at gcc dot gnu dot org
2003-08-06  7:25 ` gdr at integrable-solutions dot net
2003-08-29 12:39 ` gdr at gcc dot gnu dot org
2003-12-18 18:31 ` dhazeghi at yahoo dot com
2004-06-23 15:13 ` reichelt at gcc dot gnu dot org
2004-06-23 15:21 ` bangerth at dealii dot org
2004-06-23 15:23 ` gdr at acm dot org
2004-06-23 15:26 ` gdr at acm dot org
2004-06-23 15:34 ` reichelt at igpm dot rwth-aachen dot de
2004-06-23 15:36 ` bangerth at dealii dot org
2004-07-05 10:32 ` cvs-commit 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).