public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61020] [4.9/4.10 Regression] typeid(typeid(X)) produces 'ud2'
       [not found] <bug-61020-4@http.gcc.gnu.org/bugzilla/>
@ 2014-04-30 17:36 ` redi at gcc dot gnu.org
  2014-04-30 18:19 ` pinskia at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2014-04-30 17:36 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-04-30
      Known to work|                            |4.8.2
     Ever confirmed|0                           |1


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

* [Bug c++/61020] [4.9/4.10 Regression] typeid(typeid(X)) produces 'ud2'
       [not found] <bug-61020-4@http.gcc.gnu.org/bugzilla/>
  2014-04-30 17:36 ` [Bug c++/61020] [4.9/4.10 Regression] typeid(typeid(X)) produces 'ud2' redi at gcc dot gnu.org
@ 2014-04-30 18:19 ` pinskia at gcc dot gnu.org
  2014-04-30 18:41 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-04-30 18:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
  _ZTI7Derived.0_1 = &_ZTI7Derived;
  _3 = MEM[(const struct type_info *)_ZTI7Derived.0_1]._vptr.type_info;
  _4 = _3 + 18446744073709551608;
  _5 = *_4;

Is being optimized to be 0 for some reason.

Looks like _ZTVN10__cxxabiv120__si_class_type_infoE (vtable for
__cxxabiv1::__si_class_type_info) is not being recorded correctly inside GCC.


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

* [Bug c++/61020] [4.9/4.10 Regression] typeid(typeid(X)) produces 'ud2'
       [not found] <bug-61020-4@http.gcc.gnu.org/bugzilla/>
  2014-04-30 17:36 ` [Bug c++/61020] [4.9/4.10 Regression] typeid(typeid(X)) produces 'ud2' redi at gcc dot gnu.org
  2014-04-30 18:19 ` pinskia at gcc dot gnu.org
@ 2014-04-30 18:41 ` jakub at gcc dot gnu.org
  2014-05-05  8:37 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-04-30 18:41 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
   Target Milestone|---                         |4.9.1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r200211.


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

* [Bug c++/61020] [4.9/4.10 Regression] typeid(typeid(X)) produces 'ud2'
       [not found] <bug-61020-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-04-30 18:41 ` jakub at gcc dot gnu.org
@ 2014-05-05  8:37 ` rguenth at gcc dot gnu.org
  2014-06-03  0:26 ` jason at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-05-05  8:37 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
           Priority|P3                          |P2


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

* [Bug c++/61020] [4.9/4.10 Regression] typeid(typeid(X)) produces 'ud2'
       [not found] <bug-61020-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-05-05  8:37 ` rguenth at gcc dot gnu.org
@ 2014-06-03  0:26 ` jason at gcc dot gnu.org
  2014-06-03 11:56 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2014-06-03  0:26 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61020

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org


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

* [Bug c++/61020] [4.9/4.10 Regression] typeid(typeid(X)) produces 'ud2'
       [not found] <bug-61020-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2014-06-03  0:26 ` jason at gcc dot gnu.org
@ 2014-06-03 11:56 ` jason at gcc dot gnu.org
  2014-06-03 11:57 ` jason at gcc dot gnu.org
  2014-06-03 12:25 ` jason at gcc dot gnu.org
  7 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2014-06-03 11:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61020

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun  3 11:55:36 2014
New Revision: 211176

URL: http://gcc.gnu.org/viewcvs?rev=211176&root=gcc&view=rev
Log:
    PR c++/61020
    * varpool.c (ctor_for_folding): Handle uninitialized vtables.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/opt/typeinfo1.C
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/varpool.c


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

* [Bug c++/61020] [4.9/4.10 Regression] typeid(typeid(X)) produces 'ud2'
       [not found] <bug-61020-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2014-06-03 11:56 ` jason at gcc dot gnu.org
@ 2014-06-03 11:57 ` jason at gcc dot gnu.org
  2014-06-03 12:25 ` jason at gcc dot gnu.org
  7 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2014-06-03 11:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61020

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun  3 11:56:58 2014
New Revision: 211178

URL: http://gcc.gnu.org/viewcvs?rev=211178&root=gcc&view=rev
Log:
    PR c++/61020
    * varpool.c (ctor_for_folding): Handle uninitialized vtables.

Added:
    trunk/gcc/testsuite/g++.dg/opt/typeinfo1.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/varpool.c


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

* [Bug c++/61020] [4.9/4.10 Regression] typeid(typeid(X)) produces 'ud2'
       [not found] <bug-61020-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2014-06-03 11:57 ` jason at gcc dot gnu.org
@ 2014-06-03 12:25 ` jason at gcc dot gnu.org
  7 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2014-06-03 12:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61020

Jason Merrill <jason at gcc dot gnu.org> changed:

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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2014-06-03 12:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-61020-4@http.gcc.gnu.org/bugzilla/>
2014-04-30 17:36 ` [Bug c++/61020] [4.9/4.10 Regression] typeid(typeid(X)) produces 'ud2' redi at gcc dot gnu.org
2014-04-30 18:19 ` pinskia at gcc dot gnu.org
2014-04-30 18:41 ` jakub at gcc dot gnu.org
2014-05-05  8:37 ` rguenth at gcc dot gnu.org
2014-06-03  0:26 ` jason at gcc dot gnu.org
2014-06-03 11:56 ` jason at gcc dot gnu.org
2014-06-03 11:57 ` jason at gcc dot gnu.org
2014-06-03 12:25 ` jason at gcc dot gnu.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).