Message ID | 76AD3AB2-2DAC-432B-8315-CCFB0BCB0883@gmail.com |
---|---|
State | New |
Headers | show |
--- a/gcc/function.c +++ b/gcc/function.c @@ -217,10 +217,10 @@ free_after_compilation (struct function *f) HOST_WIDE_INT get_frame_size (void) { - if (FRAME_GROWS_DOWNWARD) - return -frame_offset; + if (-crtl->frame.grows_downward) + return -crtl->frame.frame_offset; else - return frame_offset; + return crtl->frame.frame_offset; } frame.grows_downward is a bool it seems and as such I wonder what the minus in the condition means or is supposed to achieve?