From: Geoffrey Keating Date: Mon, 30 May 2005 06:10:05 +0000 (+0000) Subject: re PR target/21761 (mainline gcc causing internal compiler error.) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66859ace3123cee9186238e5b32af3ae4304f22f;p=gcc.git re PR target/21761 (mainline gcc causing internal compiler error.) 2005-05-29 Geoffrey Keating PR target/21761 * config/rs6000/rs6000.md: Remove stray TARGET_32BIT from pattern involving `:P'. Index: testsuite/ChangeLog 2005-05-29 Geoffrey Keating PR target/21761 * gcc.c-torture/compile/pr21761.c: New. From-SVN: r100352 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 780a75f9015..8a1f571f87f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2005-05-29 Geoffrey Keating + 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 diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 2c0b0491abe..d46f97db899 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 8f1d9a5f184..9a431572699 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2005-05-29 Geoffrey Keating + 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 00000000000..b9ca5c91965 --- /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; +} +