Skip to content

Commit

Permalink
64-bit fix part 2 (#5)
Browse files Browse the repository at this point in the history
* Update build.yml

* mx32

* restore

* format

* fix2

* this too
  • Loading branch information
ethteck authored Jan 27, 2022
1 parent d7c6e2a commit 7b00be2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion emit-rtl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3352,7 +3352,8 @@ init_emit_once (line_numbers)
bzero ((char *) &u, sizeof u); /* Zero any holes in a structure. */
u.d = i == 0 ? dconst0 : i == 1 ? dconst1 : dconst2;

bcopy ((char *) &u, (char *) &CONST_DOUBLE_LOW (tem), sizeof u);
bcopy ((char *) &u, (char *) &CONST_DOUBLE_LOW (tem), sizeof u / 2);
bcopy ((char *) &u + (sizeof u / 2), (char *) &CONST_DOUBLE_HIGH (tem), sizeof u / 2);
CONST_DOUBLE_MEM (tem) = cc0_rtx;
PUT_MODE (tem, mode);

Expand Down

0 comments on commit 7b00be2

Please sign in to comment.