Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negation abuse #163

Open
jackson2k2 opened this issue Sep 18, 2023 · 0 comments
Open

Negation abuse #163

jackson2k2 opened this issue Sep 18, 2023 · 0 comments

Comments

@jackson2k2
Copy link

jackson2k2 commented Sep 18, 2023

if (var)
{
    unsigned char regalloc = -regalloc;
}

This is guaranteed to cause chaos on gcc 2.x, especially when used on uninitialized variables. Might be worth implementing. This is needed to match a function in Pokémon Ruby. Not the same as but is similar to ethteck's feature request.

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

No branches or pull requests

1 participant