diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-16 19:01:31 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-16 19:01:31 +0000 |
commit | 443bb1a672be619430faff7ff9d4f8d6387a5988 (patch) | |
tree | 05ef909315d82a879a012d00b6ef1433f2dad614 /gcc/testsuite/gcc.dg/20020116-1.c | |
parent | e2294eb4ff6d984396da04c4fc6a7019430951f6 (diff) | |
download | gcc-443bb1a672be619430faff7ff9d4f8d6387a5988.tar.gz |
* config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
(and:DI () (const_int -8)).
(split_small_symbolic_mem_operand): Split
(mem (and:DI () (const_int -8)).
* gcc.dg/20020116-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48920 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/20020116-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/20020116-1.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/20020116-1.c b/gcc/testsuite/gcc.dg/20020116-1.c new file mode 100644 index 00000000000..d554675bc69 --- /dev/null +++ b/gcc/testsuite/gcc.dg/20020116-1.c @@ -0,0 +1,16 @@ +/* This testcase ICEd on Alpha because ldq_u argument was not subject to + small_symbolic_mem_operand splitting. */ +/* { dg-do compile } */ +/* { dg-options "-O2" } */ +/* { dg-options "-O2 -fpic -mexplicit-relocs -mcpu=ev4" { target alpha*-*-* } } */ + +static char a; +char *b; + +void foo (void) +{ + register char *c; + + c = b; + *c = a; +} |