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 places where struct attributes should be permitted #193

Merged
merged 18 commits into from
Oct 21, 2022

Commits on Apr 4, 2022

  1. Fixes do-while production to correspond to the actual production in t…

    …he C11 standard.
    
    This hasn't been a problem historically, because if we have code like:
    
        if(foo) {
            do { ... } while(0);
        }
    
    Then it gets parsed as (not the real AST):
    
        if($Expr{ foo }, seqStmt(
            doWhile(...), -- do { ... } while(0)
    	emptyStmt(), -- ;
        ))
    
    However, this caused a parse failure when parsing the DPDK header, with code like:
    
        if(foo)
            do { ... } while(0);
        else
            f();
    
    In this code, we have two statements after the if, so the else is
    "floating."
    remexre committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    4340da3 View commit details
    Browse the repository at this point in the history
  2. Adds GCC __thread.

    This is implemented synonym for C11 _Thread_local.
    https://stackoverflow.com/a/40635676 suggests that they're the same?
    This probably ought to be verified before merging this, but this is a
    hotfix.
    remexre committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    4b06317 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Configuration menu
    Copy the full SHA
    349f59a View commit details
    Browse the repository at this point in the history
  2. Add test case

    krame505 committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    e0397a3 View commit details
    Browse the repository at this point in the history
  3. Pass through #pragma GCC

    krame505 committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    f57d103 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

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

Commits on Apr 11, 2022

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

Commits on Apr 12, 2022

  1. Configuration menu
    Copy the full SHA
    e349a20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    28970ec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a218d98 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. Switch GCC to Clang. This is a hack to see if we can avoid pulling in…

    … all the xmm intrinsic crud.
    remexre committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    3a17801 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2022

  1. Updates builtins generator.

    remexre committed Apr 16, 2022
    Configuration menu
    Copy the full SHA
    66f3c04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c38e533 View commit details
    Browse the repository at this point in the history
  3. Regenerates builtins.

    remexre committed Apr 16, 2022
    Configuration menu
    Copy the full SHA
    7adfecd View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2022

  1. Configuration menu
    Copy the full SHA
    60f0dfe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3a3664 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. Revert "Switch GCC to Clang. This is a hack to see if we can avoid pu…

    …lling in all the xmm intrinsic crud."
    
    This reverts commit 3a17801.
    krame505 committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    96d4d89 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2022

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