From: Jim Wilson Date: Tue, 31 Mar 1998 19:20:08 +0000 (+0000) Subject: Fix core dump while compiling gdb-4.16. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=221a9f65a1cf81b1987c151515f668b774c2e65f;p=platform%2Fupstream%2Fgcc.git Fix core dump while compiling gdb-4.16. * alpha.md (extzv): Correct check for valid operand[2] values. From-SVN: r18920 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9105c222..9f8b341 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ Tue Mar 31 16:57:33 1998 Jim Wilson + * alpha.md (extzv): Correct check for valid operand[2] values. + * profile.c (branch_prob): Add code to recognize HPPA tablejump entry branch. diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index 2c24f9e..1dffe90 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -4880,7 +4880,11 @@ " { /* We can do 8, 16, 32 and 64 bit fields, if aligned on byte boundaries. */ - if (INTVAL (operands[2]) % 8 != 0 || INTVAL (operands[3]) % 8 != 0) + if (INTVAL (operands[3]) % 8 != 0 + || (INTVAL (operands[2]) != 8 + && INTVAL (operands[2]) != 16 + && INTVAL (operands[2]) != 32 + && INTVAL (operands[2]) != 64)) FAIL; if (GET_CODE (operands[1]) == MEM)