This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33920] [4.3 Regression] Segfault in combine_blocks/tree-if-conv.c
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Oct 2007 14:16:28 -0000
- Subject: [Bug tree-optimization/33920] [4.3 Regression] Segfault in combine_blocks/tree-if-conv.c
- References: <bug-33920-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from tbm at cyrius dot com 2007-10-27 14:16 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
typedef union lispunion *object;
struct character
{
long e;
};
extern struct symbol Cnil_body;
extern struct symbol Ct_body;
struct vector
{
object *v_self;
};
union lispunion
{
struct vector v;
};
void init_code ()
{
object V659;
object _x, _y;
object V643;
long V648;
unsigned char V653;
object V651;
object V654;
object V658;
T1240:
if (V648 >= (long)V651)
goto T1243;
V653 = ((char *) V654->v.v_self)[V648];
V659 = (object) V654 + V653;
T1261:
V658 =
(object)
V659 ? (object) & Ct_body : (object) & Cnil_body;
if (V658 == (object) & Cnil_body)
goto T1249;
goto T1224;
T1249:
V648 = (long) V648 + 1;
goto T1240;
T1243:
V643 = (object) & Cnil_body;
T1224:
_y = V643;
number_plus (_x, _y);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33920