Re: How to handle g++.dg/warn/multiple-overflow-warn-3.C failure

2007-04-26 Thread Andrew Pinski
On 4/26/07, Steve Ellcey <[EMAIL PROTECTED]> wrote: I thought of changing all the wchar_t's to int's but I think that might negate what the test is trying to check since there would be no implicit conversions in the code any more and the test would probably never have given multiple overflow warn

How to handle g++.dg/warn/multiple-overflow-warn-3.C failure

2007-04-26 Thread Steve Ellcey
I was wondering if anyone had some advice on how to handle the testcase g++.dg/warn/multiple-overflow-warn-3.C. The test case fails on my HP-UX platforms because the underlying type for wchar_t on HP-UX is 'unsigned int' and not 'int' like it is on Linux. This means that the expression does not