--- Comment #4 from rguenth at gcc dot gnu dot org 2010-07-13 13:31 ---
Subject: Bug 36960
Author: rguenth
Date: Tue Jul 13 13:31:26 2010
New Revision: 162141
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162141
Log:
2010-07-13 Richard Guenther
PR tree-optimization/
--- Comment #3 from steven at gcc dot gnu dot org 2010-07-13 09:41 ---
Works with GCC 4.3, 4.4, 4.5, and trunk.
GCC 4.2 is no longer maintained, so this bug will not be fixed.
Richi, perhaps you can use the test case, put it in the test suite?
--
steven at gcc dot gnu dot org chang
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-07-29 00:02 ---
Likewise for 4.3.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36960
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-29 00:01 ---
i = 0;
upper.D.2127.ref = &i;
upper.D.2125._vptr$Middle = &_ZTV5Upper + 12;
return *((struct Lower *) &upper + (long unsigned int) *(int *)
&_ZTV5Upper)->ref;
This works on the trunk correctly.
--
http: