https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88896

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r251141, but it seems your testcase is invalid:
test.c:72:101: runtime error: signed integer overflow: 35792640 * 60 cannot be
represented in type 'int'
Guess you want to e.g. change * 365 to * 365U or * (uint32_t) 365, so that all
the arithmetics is done in uint32_t type when you want to support up to
uint32_t max.

Reply via email to