c-typeck.c (build_c_cast): Always warn when casting from a pointer to an integer…
c-typeck.c (build_c_cast): Always warn when casting from a pointer to an integer of different size... gcc/ 2006-01-05 Carlos O'Donell <carlos@codesourcery.com> * c-typeck.c (build_c_cast): Always warn when casting from a pointer to an integer of different size, even if the node was constant. gcc/testsuite 2006-01-05 Carlos O'Donell <carlos@codesourcery.com> * gcc.dg/cast-1.c: Add new warning. * gcc.dg/cast-2.c: Likewise. * gcc.dg/cast-3.c: Likewise. * gcc.dg/format/cast-1.c: Likewise. * gcc.dg/cast-4.c: New testcase. From-SVN: r109386
Showing
gcc/testsuite/gcc.dg/cast-4.c
0 → 100644
Please
register
or
sign in
to comment