diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 2 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr21761.c | 9 |
4 files changed, 17 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 780a75f..8a1f571 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2005-05-29 Geoffrey Keating <geoffk@apple.com> + PR target/21761 + * config/rs6000/rs6000.md: Remove stray TARGET_32BIT from + pattern involving `:P'. + * Makefile.in (install-cpp): Depend on installdirs. 2005-05-30 Kazu Hirata <kazu@cs.umass.edu> diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 2c0b049..d46f97d 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -1672,7 +1672,7 @@ (const_int 0))) (set (match_operand:P 0 "gpc_reg_operand" "") (neg:P (match_dup 1)))] - "TARGET_32BIT && reload_completed" + "reload_completed" [(set (match_dup 0) (neg:P (match_dup 1))) (set (match_dup 2) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8f1d9a5..9a43157 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2005-05-29 Geoffrey Keating <geoffk@apple.com> + PR target/21761 + * gcc.c-torture/compile/pr21761.c: New. + * g++.old-deja/g++.eh/badalloc1.C: Make XFAIL only on darwin before darwin8. diff --git a/gcc/testsuite/gcc.c-torture/compile/pr21761.c b/gcc/testsuite/gcc.c-torture/compile/pr21761.c new file mode 100644 index 0000000..b9ca5c9 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr21761.c @@ -0,0 +1,9 @@ +void f1() +{ + long bit=0, exponent; + exponent = -exponent; + for (bit = 1; exponent; bit <<= 1) + if (exponent & bit) + exponent ^= bit; +} + |