Re: [PATCH] Fix up testcase (PR tree-optimization/78482)

2016-11-23 Thread Jeff Law
On 11/23/2016 12:36 PM, Jakub Jelinek wrote: Hi! The testcase uses char and can't work properly with unsigned char (otherwise c >= 0 is always true). In addition to that I've noticed that the testcase as is actually doesn't fail with the unfixed gcc, it will just print 2 on stdout. The followi

Re: [PATCH] Fix up testcase (PR tree-optimization/78482)

2016-11-23 Thread Richard Biener
On November 23, 2016 8:36:11 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >The testcase uses char and can't work properly with unsigned char >(otherwise >c >= 0 is always true). > >In addition to that I've noticed that the testcase as is actually >doesn't >fail with the unfixed gcc, it will just pri