Skip to content
Snippets Groups Projects
Commit 6f0e4c4d authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 2000-06-12 11:04:12 by simonmar]

Fix a nasty bug: the 'c' component of StgUnion was declared as type
StgChar, which sounds reasonable, but meant that when assigning a char
to R1 gcc would correctly arrange to only overwrite the low byte
rather than zero-extending the value.  We assume elsewhere that when
R1 contains a char that the upper 24 bits are zero, so this was wrong.

This bug must have been around for a *long* time, strange that it only
just showed up. <shrug>
parent 4d0f4a69
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment