Commit 7042d510 by Geoffrey Keating Committed by Geoffrey Keating

920923-1.c: stormy16 produces an extra error message.

	* gcc.dg/noncompile/920923-1.c: stormy16 produces an extra error
	message.

	* gcc.c-torture/execute/20011114-1.c: New testcase.

From-SVN: r47038
parent 902197eb
2001-11-14 Geoffrey Keating <geoffk@redhat.com>
* gcc.dg/noncompile/920923-1.c: xstormy16 produces an extra error
message.
* gcc.c-torture/execute/20011114-1.c: New testcase.
* gcc.c-torture/compile/20010327-1.c: Revert last change.
* gcc.c-torture/compile/20011114-1.c: New test, exactly
like the (before this change) version of 20010327-1.c.
......
char foo(char bar[])
{
return bar[1];
}
extern char foo(char *);
int main(void)
{
if (foo("xy") != 'y')
abort ();
exit (0);
}
......@@ -115,7 +115,7 @@ init_mem()
"mem_hash != (prec_t)0", 370, "b.c"),
0)));
flush_hash(mem_hash, 32);
build_ptables(mem_base, 1024*(1<<13));
build_ptables(mem_base, 1024*(1<<13)); /* { dg-bogus "integer overflow" "int smaller than 32 bits" { xfail "xstormy16-*-*" } } */
}
struct tm {
......
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