Commit 072f20ef by Kazu Hirata Committed by Kazu Hirata

* testsuite/gcc.c-torture/execute/20020118-1.c: New test.

From-SVN: r48991
parent 8763a465
2002-01-18 Kazu Hirata <kazu@hxi.com>
* testsuite/gcc.c-torture/execute/20020118-1.c: New test.
2001-01-18 David Billinghurst <David.Billinghurst@riotinto.com> 2001-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
* g++.dg/other/deprecated.C: Fix FAIL from * g++.dg/other/deprecated.C: Fix FAIL from
......
/* This tests an insn length of sign extention on h8300 port. */
extern void exit (int);
volatile signed char *q;
volatile signed int n;
void
foo (void)
{
signed char *p;
for (;;)
{
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
}
}
int
main ()
{
exit (0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment