https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56698
Eric Gallager changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56698
Eric Gallager changed:
What|Removed |Added
CC||egallager at gcc dot gnu.org
---
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56698
--- Comment #3 from Mike Hommey mh+gcc at glandium dot org 2013-04-03
15:46:04 UTC ---
Created attachment 29798
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29798
Preprocessed file
This is the preprocessed file.
In case that
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56698
--- Comment #4 from Mike Hommey mh+gcc at glandium dot org 2013-04-03
18:35:14 UTC ---
Created attachment 29800
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29800
nsDiskCacheMap.gcda
I can reproduce with the preprocessed file and
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56698
Jason Merrill jason at gcc dot gnu.org changed:
What|Removed |Added
CC||jason at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56698
Jason Merrill jason at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56698
--- Comment #1 from Mike Hommey mh+gcc at glandium dot org 2013-03-23
18:11:16 UTC ---
Interestingly, if I modify CalculateFileIndex to return 3 instead of 0, the
error doesn't happen. So it might be a case of confusing gcc warning/error