]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/c-typeck.c
re PR c/12085 (Internal compiler error in convert_move, at expr.c:504 with -O3 flag)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Sat, 20 Dec 2003 07:12:39 +0000 (08:12 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 20 Dec 2003 07:12:39 +0000 (07:12 +0000)
commitc96f4f736a59db9dc34b776392576d4832914689
tree58cb78943c2eb8f3ef4c073d23518b703972ec8d
parentbcd11e5e45f59f88d76cd56024e1d7c14a7c4665
re PR c/12085 (Internal compiler error in convert_move, at expr.c:504 with -O3 flag)

PR c/12085
* c-typeck.c (build_function_call): Issue a warning if a
function is called through an incompatible prototype and
replace the call by a trap in this case.

From-SVN: r74874
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cast-function-1.c [new file with mode: 0644]