OSDN Git Service

* c-typeck.c (enum impl_conv): Add ic_argpass_nonproto.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Oct 2004 19:52:04 +0000 (19:52 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Oct 2004 19:52:04 +0000 (19:52 +0000)
commit050526fe1b7a6e93ace9e8cfd7a2fbe6b9454b27
tree4fa6c8af626d7dec63a89e86d8e3da6d78eff98b
parent7c813b54215f625d9e332bb9f5fa5a8c56a22ccf
* c-typeck.c (enum impl_conv): Add ic_argpass_nonproto.
(convert_for_assignment): Handle ic_argpass_nonproto.  Add
comments about its relevance to errors.
(c_convert_parm_for_inlining): Use ic_argpass_nonproto.

testsuite:
* gcc.dg/assign-warn-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88784 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/assign-warn-3.c [new file with mode: 0644]