https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90292
--- Comment #3 from Alexander Monakov ---
When changing iterators to 'int', you also need to change n to int as well,
otherwise in 'n*(i) + (j)', i and j are promoted to unsigned anyway.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90292
--- Comment #2 from Giuliano Belinassi ---
Just for the sake of completeness, this issue is not addressed by just changing
the iterators to 'int'. However, it is in fact solved by changing the iterators
to 'unsigned long', 'long', or doing a cast
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90292
Alexander Monakov changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|