mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-11 21:49:12 +00:00
Simplify ftrace_hook()
We now have a test to prove that its transitive closure doesn't perform floating point computations.
This commit is contained in:
parent
61b9677c05
commit
b6182db813
11 changed files with 142 additions and 85 deletions
|
@ -446,6 +446,7 @@ typedef struct {
|
|||
#endif
|
||||
|
||||
#ifndef optimizespeed
|
||||
/* warning: corrupts frame pointer; only use on leaf functions */
|
||||
#if !defined(__STRICT_ANSI__) && \
|
||||
((__GNUC__ + 0) * 100 + (__GNUC_MINOR__ + 0) >= 407 || \
|
||||
__has_attribute(__optimize__))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue