[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-06-04 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2006-06-04 18:25 --- Subject: Bug 27592 Author: pinskia Date: Sun Jun 4 18:25:40 2006 New Revision: 114361 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114361 Log: 2006-06-01 Andrew Pinski [EMAIL PROTECTED] PR

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-06-04 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-06-04 18:25 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-05-21 Thread hjl at lucon dot org
--- Comment #9 from hjl at lucon dot org 2006-05-21 17:42 --- I have verified that the proposed patch fixes the C++ run-time problem on Linux/x86, Linux/x86-64 and Linux/ia64. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27592

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-05-21 18:02 --- I actually got time to test it last night. http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01065.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-05-21 Thread patchapp at dberlin dot org
--- Comment #11 from patchapp at dberlin dot org 2006-05-21 18:03 --- Subject: Bug number PR C++/27592 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01065.html --

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-05-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot |dot org

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-05-20 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-05-21 00:14 --- *** Bug 27694 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-05-20 Thread hjl at lucon dot org
--- Comment #5 from hjl at lucon dot org 2006-05-21 00:16 --- This bug only shows up after this patch http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00057.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27592

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-05-20 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-05-21 00:19 --- This is a front-end issue: if (SAVE_EXPR __dynamic_cast ((struct AD.1975 *) SAVE_EXPR (struct AD.1975 ) NON_LVALUE_EXPR aD.2037, _ZTI1AD.1992, _ZTI1BD.2033, 0)) So what does the middle-end expect when it casts

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-05-20 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-05-21 00:30 --- And here is the patch which fixes this (it was very simple to figure out what was going wrong): I don't have time to regression test it. [kudzu:trunk/gcc/cp] pinskia% svn diff rtti.c Index: rtti.c

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-05-20 Thread hjl at lucon dot org
--- Comment #8 from hjl at lucon dot org 2006-05-21 00:48 --- This patch does pass my initial test. I will rebuild the whole benckmark to double check it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27592

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-05-14 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-05-14 10:51 --- works for me on i686-pc-linux-gnu -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-05-14 Thread ingo dot josopait at gmx dot de
--- Comment #3 from ingo dot josopait at gmx dot de 2006-05-14 22:29 --- It fails on i686-pc-linux-gnu if I replace string arg = something; by string arg = s; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27592

[Bug c++/27592] [4.2 Regression] dynamic cast failure

2006-05-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-13 21:38 --- - D.30091 = __dynamic_cast (a.85, _ZTI1A, _ZTI1B, 0); - if (D.30091 != 0B) goto L3; else goto L4; + D.30521 = __dynamic_cast (a.82, _ZTI1A, _ZTI1B, 0); + D.30522 = (bool) D.30521; - is 4.1 and + is 4.2. That is