Test gcc.dg/cpp/wchar-1.c fails on cygwin
Neil Booth
neil@daikokuya.demon.co.uk
Sun Mar 17 05:16:00 GMT 2002
Billinghurst, David (CRTS) wrote:-
> New test gcc.dg/cpp/wchar-1.c fails on cygwin with
>
> .../wchar-1.c: In function `main':
> .../wchar-1.c:18: warning: comparison is always false due to limited range of data type
I've applied this to 3.2. Let me know if it fixes it, and I'll apply it
to 3.1 as well.
Thanks,
Neil.
* gcc.dg/cpp/wchar-1.c: Update.
Index: wchar-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/cpp/wchar-1.c,v
retrieving revision 1.1
diff -u -p -r1.1 wchar-1.c
--- wchar-1.c 2002/02/24 12:52:30 1.1
+++ wchar-1.c 2002/03/17 13:14:05
@@ -15,7 +15,7 @@ int main ()
if (c > 0)
abort ();
#else
- if (c < 0)
+ if (c < 0) /* { dg-warning "always false" } */
abort ();
#endif
More information about the Gcc-bugs
mailing list