NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/44057
The following reply was made to PR lib/44057; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: lib/44057
Date: Sat, 16 Apr 2011 20:27:26 +0200
--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Following this suggestion I tested the attached patch, and it made both
sparc64 and alpha pass the test.
I am not going to commit this to keep clear out of license problems.
Now that we know it is a gcc bug, let the problem rest untill a newer
gcc gets imported.
If this should not happen before the branch for NetBSD 6, let core/board
decide how to deal with it.
Martin
--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="combine.c.patch"
Index: combine.c
===================================================================
RCS file: /cvsroot/src/gnu/dist/gcc4/gcc/combine.c,v
retrieving revision 1.1.1.5
diff -c -u -p -r1.1.1.5 combine.c
--- combine.c 31 Aug 2008 09:31:22 -0000 1.1.1.5
+++ combine.c 16 Apr 2011 18:20:32 -0000
@@ -8257,6 +8257,9 @@ distribute_and_simplify_rtx (rtx x, int
return NULL_RTX;
mode = GET_MODE (x);
+ if (FLOAT_MODE_P (mode) && !flag_unsafe_math_optimizations)
+ return NULL_RTX;
+
outer_code = GET_CODE (x);
distributed = XEXP (x, !n);
--h31gzZEtNLTqOjlF--
Home |
Main Index |
Thread Index |
Old Index