2010-04-09 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c++/28584 * c.opt (Wint-to-pointer-cast): Available in C++. * doc/invoke.texi (Wint-to-pointer-cast): Available in C++. cp/ * typeck.c (cp_build_c_cast): Warn for casting integer to larger pointer type. testsuite/ * gcc.dg/Wint-to-pointer-cast-1.c: Move to... * c-c++-common/Wint-to-pointer-cast-1.c: ... here. * gcc.dg/Wint-to-pointer-cast-2.c: Move to... * c-c++-common/Wint-to-pointer-cast-2.c: ... here. * gcc.dg/Wint-to-pointer-cast-3.c: Move to... * c-c++-common/Wint-to-pointer-cast-3.c: ... here. Update. * g++.old-deja/g++.mike/warn1.C: Add -Wno-int-to-pointer-cast. * g++.dg/other/increment1.C: Likewise. From-SVN: r158150
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| dfp | Loading commit data... | |
| dwarf2 | Loading commit data... | |
| torture | Loading commit data... | |
| Wconversion-real.c | Loading commit data... | |
| Wint-to-pointer-cast-1.c | Loading commit data... | |
| Wint-to-pointer-cast-2.c | Loading commit data... | |
| Wint-to-pointer-cast-3.c | Loading commit data... | |
| asmgoto-1.c | Loading commit data... | |
| asmgoto-2.c | Loading commit data... | |
| asmgoto-3.c | Loading commit data... | |
| attr-used-2.c | Loading commit data... | |
| attr-used.c | Loading commit data... | |
| builtin-offsetof.c | Loading commit data... | |
| pr36513-2.c | Loading commit data... | |
| pr36513.c | Loading commit data... | |
| pr41779.c | Loading commit data... | |
| pr41935.c | Loading commit data... | |
| pr42674.c | Loading commit data... | |
| raw-string-1.c | Loading commit data... | |
| raw-string-10.c | Loading commit data... | |
| raw-string-2.c | Loading commit data... | |
| raw-string-3.c | Loading commit data... | |
| raw-string-4.c | Loading commit data... | |
| raw-string-5.c | Loading commit data... | |
| raw-string-6.c | Loading commit data... | |
| raw-string-7.c | Loading commit data... | |
| raw-string-8.c | Loading commit data... | |
| raw-string-9.c | Loading commit data... | |
| restrict-1.c | Loading commit data... | |
| restrict-2.c | Loading commit data... | |
| restrict-4.c | Loading commit data... |