|
From: | Andreas Schwab |
Subject: | [bug #59714] SV_STACK_DIRECTION doesn't work |
Date: | Thu, 17 Dec 2020 16:31:06 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) konqueror/5.0.97 Version/10.0 Safari/602.1 |
URL: <https://savannah.gnu.org/bugs/?59714> Summary: SV_STACK_DIRECTION doesn't work Project: libsigsegv Submitted by: schwab Submitted on: Thu 17 Dec 2020 10:31:04 PM CET Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: With modern compilers, get_stack_direction is completely non-functional. The compiler will inline the recursive call and allocate the two instances of the local variable dummy at arbitrary addresses unrelated to stack direction. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59714> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |