Last active
November 19, 2018 02:11
-
-
Save dcci/c99d8f587e9790df4be0bea66c9112ee to your computer and use it in GitHub Desktop.
optimized out arguments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__attribute__((noinline)) | |
int fn1 (long int x, long int y, long int z) { | |
int l = x * 2; | |
int q = y * z; | |
return l + q; | |
} | |
__attribute__((noinline)) long int | |
fn2 (long int a, long int b, long int c) | |
{ | |
long int q = 2 * a; | |
return fn1 (5, 6, 7); | |
} | |
int main(void) { | |
return fn2(14, 23, 34); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment