Alcaro
Alcaro
Most of mold's ignored options are listed around here https://github.com/rui314/mold/blob/6e3d0e3a3cafd65975e77500e370f36a5eaaa872/src/cmdline.cc#L1296-L1308
In my regex engine, I implemented that rule by piggybacking on capture groups. If the current position is equal to the relevant saved pointer, backtrack. (Then discard the extra capture...
According to GCC codegen, popcnt is the winner if available, yes. If not, the best answer is `(v ^ (v-1)) > v-1`. https://godbolt.org/z/d61bxW4r1
[As discussed on discord](https://discord.com/channels/737189251069771789/737189308091596813/1429094136337928263), me and @muellerj2 feel that the best way forward here (when, or if, it ever becomes relevant) is to make the std::regex object contain only a...
gcc does, as far as I can determine, not use the LDFLAGS variable. Do ld.bfd flags, like --gc-sections, work? Are you prefixing your linker flags with `-Wl,`?
Looks like GCC accepts } as a literal character. It does the same with ] (but not )). https://godbolt.org/z/sds8jf9W6 Combine that with https://godbolt.org/z/oMvEr5YTs, and we've got accepts-invalid bugs in all...
- This stuff varies depending on not only the hardware and OS (like sizeof(long)), but also the compiler (and it wouldn't surprise me if Clang adds a -ftrap-zero-div flag that...
> To me the intent is to reflect such a compiler option (if any), which doesn't seem wrong. Compiler flags that change numeric_limits sound scary to me. Especially with Modules...
Let's make this mess even worse. Let's add two more interpretations of this property. - True for int, char and bool, because (T)1 / (T)0 traps (except Clang on ARM)...
Careful about that - browsers [have plenty of regex extensions](https://262.ecma-international.org/#sec-regular-expressions-patterns) that aren't part of ESv3 either. And even if the C++ spec is updated to cite a newer ES version,...