Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/gnu/dist/gcc Pull up via patch fix for PR 7092. This f...



details:   https://anonhg.NetBSD.org/src/rev/c800a18aa467
branches:  netbsd-1-4
changeset: 468253:c800a18aa467
user:      garbled <garbled%NetBSD.org@localhost>
date:      Fri Apr 16 06:37:23 1999 +0000

description:
Pull up via patch fix for PR 7092.  This fix is allready in the egcs
1.1.2 on the trunk.
>Fix:
(From Richard Henderson (rth%cygnus.com@localhost))
The problem was in comparing two CODE_LABELs -- they do have an
embedded string, but it is not for strcmp consumption.

Approved by perry.

diffstat:

 gnu/dist/gcc/jump.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 7a7ae8f4a755 -r c800a18aa467 gnu/dist/gcc/jump.c
--- a/gnu/dist/gcc/jump.c       Fri Apr 16 05:16:44 1999 +0000
+++ b/gnu/dist/gcc/jump.c       Fri Apr 16 06:37:23 1999 +0000
@@ -4345,6 +4345,10 @@
     case SYMBOL_REF:
       return XSTR (x, 0) == XSTR (y, 0);
 
+    case CODE_LABEL:
+      /* If we didn't match EQ equality above, they aren't the same.  */
+      return 0;
+
     default:
       break;
     }



Home | Main Index | Thread Index | Old Index