OSDN Git Service

PR c/6980
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Sep 2004 00:08:37 +0000 (00:08 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Sep 2004 00:08:37 +0000 (00:08 +0000)
commit3065972a7a2a9702075a1a3357cc2ba7264fd92a
treee9fe71e9b3dd13025618bfa5b1e1a256b7bf1ed5
parentf96e92d9c6feb507d051e500b21ee88275a027b3
PR c/6980
* c-typeck.c (build_c_cast): Improve wording of
-Wbad-function-cast diagnostic.

testsuite:
* gcc.dg/Wbad-function-cast-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87991 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wbad-function-cast-1.c [new file with mode: 0644]