-
- Downloads
-
@folkert and @lhausammann.
That solves the mystery. Taking a
ptrdiff_t
between two pointers and using this as "delta" in another array is actually a so-called undefined behaviour. GCC implements this as we expect. ICC does not. (And both are correct as the standard does not say what to do)This means that extra
gpart
likely never worked with the intel compiler until now. -
@folkert I also pushed the exact same fix to your branch.
-
It's lucky that I had spent days scratching my head about !1000 (merged) in the past and that I remembered. This is really an obscure part of C...
Please register or sign in to comment