diff options
author | Richard Guenther <rguenther@suse.de> | 2006-04-28 14:36:14 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-04-28 14:36:14 +0000 |
commit | a4858cb066aa0a7bb05fc454ad7dc95f601c3dcc (patch) | |
tree | f9f5feea1149341ae5519f058635363eac4ca35e | |
parent | 9edaf51efb58a40203accbb2cf003d4cfdcd04c5 (diff) | |
download | gcc-a4858cb066aa0a7bb05fc454ad7dc95f601c3dcc.zip gcc-a4858cb066aa0a7bb05fc454ad7dc95f601c3dcc.tar.gz gcc-a4858cb066aa0a7bb05fc454ad7dc95f601c3dcc.tar.bz2 |
re PR target/26826 (ICE in reg_or_subregno, at jump.c:2011)
2006-04-28 Richard Guenther <rguenther@suse.de>
PR target/26826
* gcc.target/i386/pr26826.c: New testcase.
From-SVN: r113348
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr26826.c | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index de29bc8..9f2b6e7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-04-28 Richard Guenther <rguenther@suse.de> + + PR target/26826 + * gcc.target/i386/pr26826.c: New testcase. + 2006-04-28 Jakub Jelinek <jakub@redhat.com> PR middle-end/27260 diff --git a/gcc/testsuite/gcc.target/i386/pr26826.c b/gcc/testsuite/gcc.target/i386/pr26826.c new file mode 100644 index 0000000..8b341a2 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr26826.c @@ -0,0 +1,12 @@ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-require-effective-target ilp32 } */ +/* { dg-options "-O -fomit-frame-pointer -march=i586" } */ + +void foo(char* p, char c, int i) +{ + char a[2], *q=a+1; + if (p && i) + *p = q-a+bar(i); + if (c) + bar(i); +} |