[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] COMP-5 to COMP move incorrect
From: |
Roger While |
Subject: |
[open-cobol-list] COMP-5 to COMP move incorrect |
Date: |
Mon Sep 27 06:25:12 2004 |
Move of equal length/equally signed COMP-5 to COMP
(and vice-versa) generates incorrect code.
(A memcpy)
Problem is in typeck.c, cb_build_move_field().
At line 2450 we need to insert :
&& src_f->flag_binary_swap == dst_f->flag_binary_swap
Roger While
- [open-cobol-list] COMP-5 to COMP move incorrect,
Roger While <=