Commit be32b0f
committed
[JSC] Work around GCC miscompilation in testmasm
https://bugs.webkit.org/show_bug.cgi?id=307056
Reviewed by Justin Michaud.
It seems that GCC miscompiles the switch statement in
testMoveConditionallyFloatingPointSameArg when -funswitch-loops is on
(that's the case for -O3). The symptom is that we don't handle
MacroAssembler::DoubleEqualAndOrdered (at least) and end up hitting the
following RELEASE_ASSERT_NOT_REACHED();.
Globally turn off this specific transformation when compiling with older
versions of GCC, to avoid running into further hard-to-diagnose bugs.
Canonical link: https://commits.webkit.org/307067@main1 parent 346db6f commit be32b0f
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
193 | 203 | | |
194 | 204 | | |
195 | 205 | | |
| |||
0 commit comments