[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-10-11 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699 --- Comment #12 from Martin Jambor jamborm at gcc dot gnu.org 2010-10-11 18:45:28 UTC --- Author: jamborm Date: Mon Oct 11 18:45:23 2010 New Revision: 165327 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=165327 Log: 2010-10-11 Martin

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-10-11 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-10-08 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699 --- Comment #6 from Martin Jambor jamborm at gcc dot gnu.org 2010-10-08 12:12:34 UTC --- The problem seems to be the only folding of OBJ_TYPE_REF we do and which comes from a (copy) constructor. So I assume this is the same issue as PR 45934.

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-10-08 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699 --- Comment #7 from Martin Jambor jamborm at gcc dot gnu.org 2010-10-08 14:40:41 UTC --- Please disregard the previous comment, I saw what I wanted to see and not what was actually there. But it is true that avoiding the only O_T_R folding

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-10-08 Thread bredelin at ucla dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699 --- Comment #8 from bredelin at ucla dot edu 2010-10-08 15:58:49 UTC --- When you say segfault, I presume you mean abort? When I use the debugger, the problem appears to be in the call to new Parameters(*P); On x86_64, the problem occurs as

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-10-08 Thread bredelin at ucla dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699 --- Comment #9 from bredelin at ucla dot edu 2010-10-08 16:37:15 UTC --- On x86_32, the problem occurs somewhat differently. All I did differently is add -m32. It seems that on x86_32, the copy constructor vectorint::vectorint(const vector

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-10-08 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699 --- Comment #10 from Martin Jambor jamborm at gcc dot gnu.org 2010-10-08 16:51:19 UTC --- I think I know what is going on. BINFO_VIRTUALS of the BINFO describing Probability_Model within Parameters pint to a wring thunk of the method

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-10-08 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699 --- Comment #11 from Martin Jambor jamborm at gcc dot gnu.org 2010-10-08 17:57:11 UTC --- Created attachment 21998 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=21998 proposed patch But fortunately BINFOs contain the delta and so we can

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-10-06 Thread bredelin at ucla dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699 --- Comment #5 from bredelin at ucla dot edu 2010-10-06 15:46:08 UTC --- This bug still existed as of Oct 4, 2010. gcc version 4.6.0 20101004 (experimental) [trunk revision 164952] (Ubuntu 20101004-0ubuntu1) After this bug is fixed, I'll be

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-09-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-09-17 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|Incorrect copy constructor |[4.6 Regression] Incorrect |generated with -O

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-09-17 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-09-17 14:29 --- It is caused by revision 159362: http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00414.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-09-17 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O

2010-09-17 Thread jamborm at gcc dot gnu dot org
--- Comment #4 from jamborm at gcc dot gnu dot org 2010-09-17 14:39 --- I'll have a look at it but please be patient, my bug queue is rather long at the moment. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added