http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56698
--- Comment #5 from Mike Hommey <mh+gcc at glandium dot org> 2013-04-09 14:54:51 UTC --- As noted in https://bugzilla.mozilla.org/show_bug.cgi?id=854105#c4, fileIndex is uint32_t, so 0 - 1 is UINT32_MAX, which makes the error valid. Now the question is why does it only show up with PGO with gcda info?