diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2023-05-17 17:42:03 +0100 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2023-05-17 17:42:03 +0100 |
commit | f5b246ce5fd95e721f0f418633964f466448d2ae (patch) | |
tree | 3f9491e960cc7a2bd50e904aaf1d0a059bcad63d /gcc/target-def.h | |
parent | 637edefc5863cf3b572c0c0bcd58fcc01ee60184 (diff) | |
download | gcc-f5b246ce5fd95e721f0f418633964f466448d2ae.tar.gz |
WriteInt in the ISO libraries should not emit '+' for positive values
This trivial patch changes the default behaviour for WriteInt so that
'+' is not emitted when writing positive values.
gcc/m2/ChangeLog:
* gm2-libs-iso/LongWholeIO.mod (WriteInt): Only request a
sign if the value is < 0.
* gm2-libs-iso/ShortWholeIO.mod (WriteInt): Only request a
sign if the value is < 0.
* gm2-libs-iso/WholeIO.mod (WriteInt): Only request a sign
if the value is < 0.
* gm2-libs-iso/WholeStr.mod (WriteInt): Only request a sign
if the value is < 0.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/target-def.h')
0 files changed, 0 insertions, 0 deletions