]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-typeck.c
re PR c/13382 (Type information for const pointer disappears during optimisation.)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Tue, 23 Dec 2003 05:26:41 +0000 (06:26 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 23 Dec 2003 05:26:41 +0000 (05:26 +0000)
commitb30063377737ba34e9ace3ce285d3bc2eb14d1a3
tree0cba5018a8b615a6a26dd4931f5fa05526ab6b28
parentadb83beed2e6048a262cb3b0f76357c8b14f7aae
re PR c/13382 (Type information for const pointer disappears during optimisation.)

PR c/13382
* c-typeck.c (convert_for_assignment): When converting from
integral type to pointer type, always call convert.

From-SVN: r74960
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/null-pointer-1.c [new file with mode: 0644]