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

Add __optnone__ attribute for Clang #4715

Merged
merged 3 commits into from
Jan 30, 2018
Merged

Add __optnone__ attribute for Clang #4715

merged 3 commits into from
Jan 30, 2018

Commits on Jan 15, 2018

  1. Add the __optnone__ attribute to help avoid optimizing out MPIR_Break…

    …point
    
    Thanks to @kiranchandramohan for the suggestion
    
    Signed-off-by: Ralph Castain <rhc@open-mpi.org>
    (cherry picked from commit 5c4185a)
    Ralph Castain committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    2299cd9 View commit details
    Browse the repository at this point in the history
  2. Fix the optnone attribute, add extension attribute

    See how the various compilers handle these
    
    Signed-off-by: Ralph Castain <rhc@open-mpi.org>
    (cherry picked from commit db8ebd3)
    Ralph Castain committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    5244034 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2018

  1. opal_check_attributes: fix __extension__ test

    Per
    https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html#index-_005f_005fextension_005f_005f,
    use __extension__ in a C statement that will actually verify if the
    compiler supports it or not.
    
    Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
    (cherry picked from commit ff31da6)
    jsquyres committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    0e723b5 View commit details
    Browse the repository at this point in the history