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/78482] [5/6/7 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu


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

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to David Edelsohn from comment #7)
> Yep, timing out on AIX also.  Is this assuming signed char?

Looks like it from the code.
char c, d;
....
for (; c >= 0; c--)


Simple fix is to just change char to be signed char.

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