Commit 870ae2a
authored
Fix typo in __GNUC_PREREQ__ version check (#1086)
__GNUC_MINOR__ was missing a trailing underscore, which prevented
__builtin_expect() from being used via __predict_false() in the error
path of checked functions like __memcpy_chk(). __builtin_expect is
defined from GCC 3 (2001) and Clang 2.2 (2008).
Signed-off-by: Tiago de Paula <tiagodepalves@gmail.com>1 parent 07cd9c3 commit 870ae2a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments