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

Respect the alignment attribute of functions. #186

Merged
merged 8 commits into from
Jan 15, 2024

Commits on Dec 19, 2023

  1. Respect the alignment attribute of functions. This is necessary to su…

    …pport calls to function pointer calls to member functions (which need to be aligned to 2, and the generated code crashes if this happens to be not the case)
    bcoppens committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    cba313d View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. Configuration menu
    Copy the full SHA
    8c4c719 View commit details
    Browse the repository at this point in the history
  2. MSVC doesn't support adding alignment to functions, so create a separ…

    …ate #define for this, which is a no-op on MSVC
    
    Given that this occurs in several tests, and the MSVC tests have error-on-warning, this is a comment rather than a #warning
    bcoppens committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    0f410a3 View commit details
    Browse the repository at this point in the history
  3. Fix formatting

    bcoppens committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    455a8ee View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

  1. Suppress 'dereferencing type-punned pointer will break strict-aliasin…

    …g rules' for the test case in gcc
    bcoppens committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    9847b15 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9a56fc View commit details
    Browse the repository at this point in the history
  3. Correct flag this time

    bcoppens committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    9db63b9 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

  1. Configuration menu
    Copy the full SHA
    44339b4 View commit details
    Browse the repository at this point in the history