4 ms·
Does make me wonder what restrict-related bugs will be (have been?) uncovered in GCC, if any. Or whether the GCC devs saw what LLVM went through and decided to
by aw1621107 10mo ago
Does make me wonder what restrict-related bugs will be (have been?) uncovered in GCC, if any. Or whether the GCC devs saw what LLVM went through and decided to try to address any issues preemptively.
- gpderetta 10mo agogcc has had restrict for 25 years I think. I would hope most bugs have been squashed by now.
- aw1621107 10mo agoPossibly? LLVM had been around for a while as well but Rust still ended up running into aliasing-related optimizer bugs. Now that I think about it some more, perhaps gfortran might be a differentiating factor? Not familiar enough with Fortran to guess as to how much it would exercise aliasing-related optimizations, though.
- newpavlov 10mo agoIIRC at least one of the `restrict` bugs found by Rust was reproduced on both LLVM and GCC.