public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/25357]  New: ICE in typeid
@ 2005-12-12  4:01 halcy0n at gentoo dot org
  2005-12-12  4:28 ` [Bug c++/25357] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: halcy0n at gentoo dot org @ 2005-12-12  4:01 UTC (permalink / raw)
  To: gcc-bugs

The following code fails on 3.3.6 and 3.4.5.  It does work on 4.0.2 and 4.1.0,
so I'm not sure if a fix would be backported to the 3.4 branch.

#include <typeinfo>

using namespace std;

class A
{
public:
        A ();
        virtual int a() = 0;
};

int main(void)
{
        A *B;

        typeid(typeid(*B)).name();
}


-- 
           Summary: ICE in typeid
           Product: gcc
           Version: 3.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: halcy0n at gentoo dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug c++/25357] [3.4 Regression] ICE in typeid
  2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
@ 2005-12-12  4:28 ` pinskia at gcc dot gnu dot org
  2005-12-12  4:30 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-12  4:28 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
      Known to work|4.0.2 4.1.0                 |4.0.2 4.1.0 2.95.3
            Summary|ICE in typeid               |[3.4 Regression] ICE in
                   |                            |typeid
   Target Milestone|---                         |3.4.6


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


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

* [Bug c++/25357] [3.4 Regression] ICE in typeid
  2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
  2005-12-12  4:28 ` [Bug c++/25357] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2005-12-12  4:30 ` pinskia at gcc dot gnu dot org
  2005-12-12 22:49 ` [Bug c++/25357] [3.4/4.0 " reichelt at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-12  4:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-12-12 04:30 -------
Confirmed, only a 3.4 regression.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-12-12 04:30:28
               date|                            |


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


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

* [Bug c++/25357] [3.4/4.0 Regression] ICE in typeid
  2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
  2005-12-12  4:28 ` [Bug c++/25357] [3.4 Regression] " pinskia at gcc dot gnu dot org
  2005-12-12  4:30 ` pinskia at gcc dot gnu dot org
@ 2005-12-12 22:49 ` reichelt at gcc dot gnu dot org
  2006-01-04  9:23 ` [Bug c++/25357] [3.4/4.0/4.2 " halcy0n at gentoo dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-12-12 22:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from reichelt at gcc dot gnu dot org  2005-12-12 22:49 -------
I also get an ICE on the 4.0 branch as of today (and 4.0.0 - 4.0.2):

bug.cc: In function 'int main()':
bug.cc:16: internal compiler error: in create_tmp_var, at gimplify.c:368
Please submit a full bug report, [etc.]


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored
      Known to fail|3.3.6 3.4.5                 |3.3.6 3.4.5 4.0.0 4.0.2
      Known to work|4.0.2 4.1.0 2.95.3          |4.1.0 2.95.3
            Summary|[3.4 Regression] ICE in     |[3.4/4.0 Regression] ICE in
                   |typeid                      |typeid
   Target Milestone|3.4.6                       |4.0.3


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


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

* [Bug c++/25357] [3.4/4.0/4.2 Regression] ICE in typeid
  2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
                   ` (2 preceding siblings ...)
  2005-12-12 22:49 ` [Bug c++/25357] [3.4/4.0 " reichelt at gcc dot gnu dot org
@ 2006-01-04  9:23 ` halcy0n at gentoo dot org
  2006-01-04 12:40 ` [Bug c++/25357] [3.4/4.0 " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: halcy0n at gentoo dot org @ 2006-01-04  9:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from halcy0n at gentoo dot org  2006-01-04 09:23 -------
I'm seeing the same 4.0 regression on mainline as well.


-- 

halcy0n at gentoo dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|3.3.6 3.4.5 4.0.0 4.0.2     |3.3.6 3.4.5 4.0.0 4.0.2
                   |                            |4.2.0
            Summary|[3.4/4.0 Regression] ICE in |[3.4/4.0/4.2 Regression] ICE
                   |typeid                      |in typeid


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



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

* [Bug c++/25357] [3.4/4.0 Regression] ICE in typeid
  2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
                   ` (3 preceding siblings ...)
  2006-01-04  9:23 ` [Bug c++/25357] [3.4/4.0/4.2 " halcy0n at gentoo dot org
@ 2006-01-04 12:40 ` pinskia at gcc dot gnu dot org
  2006-01-15  8:09 ` halcy0n at gentoo dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-04 12:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-01-04 12:40 -------
(In reply to comment #3)
> I'm seeing the same 4.0 regression on mainline as well.
Are you sure?
I don't see it on "4.2.0 20060103"  unless it happens after that.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.4/4.0/4.2 Regression] ICE|[3.4/4.0 Regression] ICE in
                   |in typeid                   |typeid


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



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

* [Bug c++/25357] [3.4/4.0 Regression] ICE in typeid
  2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
                   ` (4 preceding siblings ...)
  2006-01-04 12:40 ` [Bug c++/25357] [3.4/4.0 " pinskia at gcc dot gnu dot org
@ 2006-01-15  8:09 ` halcy0n at gentoo dot org
  2006-01-15 22:57 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: halcy0n at gentoo dot org @ 2006-01-15  8:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from halcy0n at gentoo dot org  2006-01-15 08:09 -------
Mainline is fine.  I accidently installed 4.0 over 4.2.


-- 

halcy0n at gentoo dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|3.3.6 3.4.5 4.0.0 4.0.2     |3.3.6 3.4.5 4.0.0 4.0.2
                   |4.2.0                       |
      Known to work|4.1.0 2.95.3                |4.2.0 4.1.0 2.95.3


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


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

* [Bug c++/25357] [3.4/4.0 Regression] ICE in typeid
  2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
                   ` (5 preceding siblings ...)
  2006-01-15  8:09 ` halcy0n at gentoo dot org
@ 2006-01-15 22:57 ` mmitchel at gcc dot gnu dot org
  2006-02-22 14:09 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-01-15 22:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from mmitchel at gcc dot gnu dot org  2006-01-15 22:57 -------
ICE on valid; P1.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug c++/25357] [3.4/4.0 Regression] ICE in typeid
  2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
                   ` (6 preceding siblings ...)
  2006-01-15 22:57 ` mmitchel at gcc dot gnu dot org
@ 2006-02-22 14:09 ` pinskia at gcc dot gnu dot org
  2006-03-11  3:16 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-22 14:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-02-22 14:09 -------
*** Bug 26417 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david dot decotigny at poly
                   |                            |dot in2p3 dot fr


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


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

* [Bug c++/25357] [3.4/4.0 Regression] ICE in typeid
  2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
                   ` (7 preceding siblings ...)
  2006-02-22 14:09 ` pinskia at gcc dot gnu dot org
@ 2006-03-11  3:16 ` mmitchel at gcc dot gnu dot org
  2006-05-13 21:21 ` [Bug c++/25357] [4.0 " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-03-11  3:16 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.3                       |4.0.4


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


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

* [Bug c++/25357] [4.0 Regression] ICE in typeid
  2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
                   ` (8 preceding siblings ...)
  2006-03-11  3:16 ` mmitchel at gcc dot gnu dot org
@ 2006-05-13 21:21 ` pinskia at gcc dot gnu dot org
  2006-07-11 19:59 ` dtemirbulatov at gmail dot com
  2007-02-03 16:08 ` gdr at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-13 21:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2006-05-13 21:21 -------
*** Bug 27591 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p dot barbierdereuille at
                   |                            |free dot fr


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


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

* [Bug c++/25357] [4.0 Regression] ICE in typeid
  2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
                   ` (9 preceding siblings ...)
  2006-05-13 21:21 ` [Bug c++/25357] [4.0 " pinskia at gcc dot gnu dot org
@ 2006-07-11 19:59 ` dtemirbulatov at gmail dot com
  2007-02-03 16:08 ` gdr at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: dtemirbulatov at gmail dot com @ 2006-07-11 19:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from dtemirbulatov at gmail dot com  2006-07-11 19:59 -------
fix posted here http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00144.html


-- 


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


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

* [Bug c++/25357] [4.0 Regression] ICE in typeid
  2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
                   ` (10 preceding siblings ...)
  2006-07-11 19:59 ` dtemirbulatov at gmail dot com
@ 2007-02-03 16:08 ` gdr at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 16:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from gdr at gcc dot gnu dot org  2007-02-03 16:08 -------
Fixed in GCC-4.1.0 ad higher.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.0.4                       |4.1.0


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


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

end of thread, other threads:[~2007-02-03 16:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-12  4:01 [Bug c++/25357] New: ICE in typeid halcy0n at gentoo dot org
2005-12-12  4:28 ` [Bug c++/25357] [3.4 Regression] " pinskia at gcc dot gnu dot org
2005-12-12  4:30 ` pinskia at gcc dot gnu dot org
2005-12-12 22:49 ` [Bug c++/25357] [3.4/4.0 " reichelt at gcc dot gnu dot org
2006-01-04  9:23 ` [Bug c++/25357] [3.4/4.0/4.2 " halcy0n at gentoo dot org
2006-01-04 12:40 ` [Bug c++/25357] [3.4/4.0 " pinskia at gcc dot gnu dot org
2006-01-15  8:09 ` halcy0n at gentoo dot org
2006-01-15 22:57 ` mmitchel at gcc dot gnu dot org
2006-02-22 14:09 ` pinskia at gcc dot gnu dot org
2006-03-11  3:16 ` mmitchel at gcc dot gnu dot org
2006-05-13 21:21 ` [Bug c++/25357] [4.0 " pinskia at gcc dot gnu dot org
2006-07-11 19:59 ` dtemirbulatov at gmail dot com
2007-02-03 16:08 ` gdr 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).