Commit 355571c
authored
Fix usage of optimize attribute on unsupported compilers (phpGH-21819)
Clang supports __has_attribute(cold) but not __attribute__((optimize(...))). The cold and optimize branches need to be split.1 parent 61eb31a commit 355571c
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | 317 | | |
325 | 318 | | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
326 | 325 | | |
327 | 326 | | |
328 | 327 | | |
| |||
0 commit comments