Skip to content

cgen: fix big IntegerLiteral LL postfix#25275

Merged
spytheman merged 3 commits intovlang:masterfrom
kbkpbot:fix-IntegerLiteral-LL
Sep 10, 2025
Merged

cgen: fix big IntegerLiteral LL postfix#25275
spytheman merged 3 commits intovlang:masterfrom
kbkpbot:fix-IntegerLiteral-LL

Conversation

@kbkpbot
Copy link
Contributor

@kbkpbot kbkpbot commented Sep 10, 2025

Fix issue #25269

As msvc need a LL postfix for big IntegerLiteral, without this LL postfix, it will save the IntegerLiteral in a 32bit register.

-2147483649 => -2147483649LL.

@kbkpbot kbkpbot linked an issue Sep 10, 2025 that may be closed by this pull request
@huly-for-github
Copy link

Connected to Huly®: V_0.6-25102

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.
Thank you @kbkpbot .

@spytheman spytheman merged commit e650d6b into vlang:master Sep 10, 2025
79 of 83 checks passed
@kbkpbot kbkpbot deleted the fix-IntegerLiteral-LL branch September 10, 2025 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

msvc int_min bug

2 participants