This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'


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

--- Comment #7 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
(In reply to Thomas Preud'homme from comment #6)
> Created attachment 36078 [details]
> Use unsigned type for inc to have defined left shift

Hi Markus,

Sorry for the delay, I got busy on some other bugs. Would you mind giving the
patch attached to the PR a go? I tried reproducing the issue but couldn't. I
did ran the regression testsuite though and it's all good.

Best regards.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]