* 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
+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.
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
--- /dev/null
+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;
+}