Commit 368a1647 by Jakub Jelinek Committed by Jakub Jelinek

alpha.c (summarize_insn): Don't abort on ASM_INPUT.

	* config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.

	* gcc.dg/20011018-1.c: New test.

From-SVN: r46357
parent 4768dbdd
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
* simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
field is different to previous argument's neg field. field is different to previous argument's neg field.
* config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* final.c (get_decl_from_op): New function. * final.c (get_decl_from_op): New function.
......
...@@ -6876,7 +6876,7 @@ summarize_insn (x, sum, set) ...@@ -6876,7 +6876,7 @@ summarize_insn (x, sum, set)
case CONST_INT: case CONST_DOUBLE: case CONST_INT: case CONST_DOUBLE:
case SYMBOL_REF: case LABEL_REF: case CONST: case SYMBOL_REF: case LABEL_REF: case CONST:
case SCRATCH: case SCRATCH: case ASM_INPUT:
break; break;
/* Handle common unary and binary ops for efficiency. */ /* Handle common unary and binary ops for efficiency. */
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
* gcc.c-torture/execute/20011019-1.c: New test. * gcc.c-torture/execute/20011019-1.c: New test.
* gcc.dg/20011018-1.c: New test.
2001-10-19 NIIBE Yutaka <gniibe@m17n.org> 2001-10-19 NIIBE Yutaka <gniibe@m17n.org>
* gcc.c-torture/execute/ieee/ieee.exp: Change sh-*-* to sh*-*-*. * gcc.c-torture/execute/ieee/ieee.exp: Change sh-*-* to sh*-*-*.
......
/* { dg-do compile { target alpha*-*-* } } */
/* { dg-options "-O2 -mieee" } */
double foo (void);
void bar (float, float);
void test (void)
{
float f, g;
f = foo();
g = foo();
asm ("");
bar (f, g);
}
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