Commit 347f3440 by Jakub Jelinek Committed by Jakub Jelinek

recog.c (validate_replace_rtx_1): Instead of aborting just make sure the change won't be validated.

	* recog.c (validate_replace_rtx_1): Instead of aborting just make
	sure the change won't be validated.

	* gcc.c-torture/compile/20010326-1.c: New test.

From-SVN: r41083
parent e59d6709
2001-04-04 Jakub Jelinek <jakub@redhat.com>
* recog.c (validate_replace_rtx_1): Instead of aborting just make
sure the change won't be validated.
Wed Apr 4 00:45:38 EDT 2001 John Wehle (john@feith.com)
* rtl.h (set_noop_p): Declare.
......
......@@ -625,7 +625,13 @@ validate_replace_rtx_1 (loc, from, to, object)
inner_mode = SImode;
if (GET_MODE_CLASS (mode) != MODE_INT)
abort ();
{
/* Substitute in something that we know won't be
recognized. */
to = gen_rtx_CLOBBER (GET_MODE (x), const0_rtx);
validate_change (object, loc, to, 1);
return;
}
if (BYTES_BIG_ENDIAN || WORDS_BIG_ENDIAN)
{
......
2001-04-04 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20010326-1.c: New test.
2001-04-03 Alexandre Oliva <aoliva@redhat.com>
* g++.old-deja/g++.ext/instantiate1.C: Adjust to accommodate
......
float d;
int e, f;
void foo (void)
{
struct { float u, v; } a = {0.0, 0.0};
float b;
int c;
c = e;
if (c == 0)
c = f;
b = d;
if (a.v < b)
a.v = b;
}
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