expmed.c (extract_bit_field): Reverse operands of && condition to prevent a potential...
authorOlivier Hainque <hainque@act-europe.fr>
Mon, 21 Apr 2003 21:32:06 +0000 (23:32 +0200)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 21 Apr 2003 21:32:06 +0000 (17:32 -0400)
commit0d2f38ee4068f6d836a975f9e91663f72e17d93e
tree28e1168b00fd20a7fceed802205b8b1947fdeec4
parentd79f9ec9ffb6aa93e0bd6479ac12564eb27b46c1
expmed.c (extract_bit_field): Reverse operands of && condition to prevent a potential division by zero in the...

* expmed.c (extract_bit_field): Reverse operands of && condition to
        prevent a potential division by zero in the previously first branch.
* config/pa/pa.md (extv, extzv): FAIL if the bitfield length is zero.

From-SVN: r65907
gcc/ChangeLog
gcc/config/pa/pa.md
gcc/expmed.c