public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: GCC 3.2.1 -- Request for Bug Fixers
       [not found] <200210240005.g9O05Lf09720@gandalf.codesourcery.com>
@ 2002-10-24  1:42 ` Jakub Jelinek
  2002-10-24  8:54   ` Mark Mitchell
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2002-10-24  1:42 UTC (permalink / raw)
  To: Mark Mitchell; +Cc: gcc-patches

On Wed, Oct 23, 2002 at 05:05:21PM -0700, Mark Mitchell wrote:
> 
> We've got about 13 high-priority regressions that we need to fix
> before GCC 3.2.1 at this point.  We've made huge progress over the
> last week or two; a final push now can put us over the top.
> 
> Benjamin -- PR 6476 is a libstdc++ issue assigned to you.  I know you're
> figuring out madness what to put in the next version of the C++
> library this week, but find some time to nail this PR. :-)
> 
> Nick, Richard Earnshaw -- PR 7856 is an ARM bug; would one of you take
> a look?
> 
> Jakub -- PR 6981 is an x86 bug assigned to you; what is the status?

This one was actually fixed by Jim Wilson on mainline.
Ok to commit to branch?

2002-10-22  Jim Wilson  <wilson@redhat.com>

	* config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.

2002-10-15  Jim Wilson  <wilson@redhat.com>

	PR target/6981
	* config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.

2002-10-24  Jakub Jelinek  <jakub@redhat.com>

	* gcc.c-torture/execute/20021024-1.c: New test.

--- gcc/config/i386/i386.md	10 Oct 2002 21:46:09 -0000	1.388
+++ gcc/config/i386/i386.md	23 Oct 2002 01:06:40 -0000	1.399
@@ -4705,7 +4705,7 @@
 	(plus:DI (match_operand:DI 1 "nonimmediate_operand" "%0,0")
 		 (match_operand:DI 2 "general_operand" "roiF,riF")))
    (clobber (reg:CC 17))]
-  "!TARGET_64BIT"
+  "!TARGET_64BIT && ix86_binary_operator_ok (PLUS, DImode, operands)"
   "#")
 
 (define_split
@@ -6359,7 +6359,7 @@
 	(minus:DI (match_operand:DI 1 "nonimmediate_operand" "0,0")
 		  (match_operand:DI 2 "general_operand" "roiF,riF")))
    (clobber (reg:CC 17))]
-  "!TARGET_64BIT"
+  "!TARGET_64BIT && ix86_binary_operator_ok (MINUS, DImode, operands)"
   "#")
 
 (define_split

--- gcc/testsuite/gcc.c-torture/execute/20021024-1.c	2002-07-23 20:50:16.000000000 +0200
+++ gcc/testsuite/gcc.c-torture/execute/20021024-1.c	2002-10-24 10:51:37.000000000 +0200
@@ -0,0 +1,43 @@
+/* Origin: PR target/6981 from Mattias Engdegaard <mattias@virtutech.se>.  */
+
+void exit (int);
+void abort (void);
+
+unsigned long long *cp, m;
+
+void foo (void)
+{
+}
+
+void bar (unsigned rop, unsigned long long *r)
+{
+  unsigned rs1, rs2, rd;
+
+top:
+  rs2 = (rop >> 23) & 0x1ff;
+  rs1 = (rop >> 9) & 0x1ff;
+  rd = rop & 0x1ff;
+
+  *cp = 1;
+  m = r[rs1] + r[rs2];
+  *cp = 2;
+  foo();
+  if (!rd)
+    goto top;
+  r[rd] = 1;
+}
+
+int main(void)
+{
+  static unsigned long long r[64];
+  unsigned long long cr;
+  cp = &cr;
+
+  r[4] = 47;
+  r[8] = 11;
+  bar((8 << 23) | (4 << 9) | 15, r);
+
+  if (m != 47 + 11)
+    abort ();
+  exit (0);
+}

	Jakub

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GCC 3.2.1 -- Request for Bug Fixers
  2002-10-24  1:42 ` GCC 3.2.1 -- Request for Bug Fixers Jakub Jelinek
@ 2002-10-24  8:54   ` Mark Mitchell
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Mitchell @ 2002-10-24  8:54 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: gcc-patches

>> Jakub -- PR 6981 is an x86 bug assigned to you; what is the status?
>
> This one was actually fixed by Jim Wilson on mainline.
> Ok to commit to branch?

Yes, thanks!

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-24 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200210240005.g9O05Lf09720@gandalf.codesourcery.com>
2002-10-24  1:42 ` GCC 3.2.1 -- Request for Bug Fixers Jakub Jelinek
2002-10-24  8:54   ` Mark Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).