summaryrefslogtreecommitdiff
path: root/gcc/hosthooks-def.h
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2023-05-17 17:42:03 +0100
committerGaius Mulley <gaiusmod2@gmail.com>2023-05-17 17:42:03 +0100
commitf5b246ce5fd95e721f0f418633964f466448d2ae (patch)
tree3f9491e960cc7a2bd50e904aaf1d0a059bcad63d /gcc/hosthooks-def.h
parent637edefc5863cf3b572c0c0bcd58fcc01ee60184 (diff)
downloadgcc-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/hosthooks-def.h')
0 files changed, 0 insertions, 0 deletions