This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This patch to the Go frontend stops putting constants passed to the predeclared print/println functions in temporaries. This was an accidental recent change when the printlock function was introduced. The print/println functions are unusual in that integer constants are treated as int64 or uint64 when necessary. Putting them in temporaries breaks that, forcing the constants to int, which means that the wrong thing happens on 32-bit systems. This fixes GCC PR 78145. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline. Ian
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |