cast-2.c
2.08 KB
-
c-typeck.c (build_c_cast): Always warn when casting from a pointer to an integer… · 8d1c7aef
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
Carlos O'Donell committed