diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-10-19 21:34:44 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2001-10-19 21:34:44 +0200 |
commit | 368a164799eb94baa3711e1982a74018471e1a16 (patch) | |
tree | 683ac430aa410fe4fb5835447d72815e359bbdb4 | |
parent | 4768dbddcd8b626899574a5d10651e68d27f9328 (diff) | |
download | gcc-368a164799eb94baa3711e1982a74018471e1a16.zip gcc-368a164799eb94baa3711e1982a74018471e1a16.tar.gz gcc-368a164799eb94baa3711e1982a74018471e1a16.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20011018-1.c | 15 |
4 files changed, 20 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a8155b..cd0732c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -3,6 +3,8 @@ * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg 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> * final.c (get_decl_from_op): New function. diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index b29112c..1aacc55 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -6876,7 +6876,7 @@ summarize_insn (x, sum, set) case CONST_INT: case CONST_DOUBLE: case SYMBOL_REF: case LABEL_REF: case CONST: - case SCRATCH: + case SCRATCH: case ASM_INPUT: break; /* Handle common unary and binary ops for efficiency. */ diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a59720d..ff810d2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -2,6 +2,8 @@ * gcc.c-torture/execute/20011019-1.c: New test. + * gcc.dg/20011018-1.c: New test. + 2001-10-19 NIIBE Yutaka <gniibe@m17n.org> * gcc.c-torture/execute/ieee/ieee.exp: Change sh-*-* to sh*-*-*. diff --git a/gcc/testsuite/gcc.dg/20011018-1.c b/gcc/testsuite/gcc.dg/20011018-1.c new file mode 100644 index 0000000..aed5d32 --- /dev/null +++ b/gcc/testsuite/gcc.dg/20011018-1.c @@ -0,0 +1,15 @@ +/* { 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); +} |