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

Fix GCC frame-address Regression test failure on Linux with clang 18.1.8 #148

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 30, 2024

  1. Fix GCC frame-address Regression test failure on Linux with clang 18.1.8

    SingleSource/Regression/C/gcc-c-torture/execute/frame-address.c fails
    on Linux/X86_64 with the following error:
    Abort
    
    Even though the code in frame-address.c tries to prevent tail call optimizations,
    clang still elides stack frames when O3 is enabled.
    
    This patch uses volatile function pointers to
    prevent the stack frame elision in frame-address.c
    violet73 committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    31262da View commit details
    Browse the repository at this point in the history