]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/5656 (ICE in emit_move_insn, at expr.c:2748, regression from gcc 3.0)
authorJakub Jelinek <jakub@redhat.com>
Tue, 19 Mar 2002 08:47:14 +0000 (09:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 19 Mar 2002 08:47:14 +0000 (09:47 +0100)
commitf735a153482c5fd3b7f4055f910096730ed02f19
treef8f50124b7cee68203bee922ac64a4b0c77721a4
parentc1ea78430722efa016fb62d2af76cfdbf31fec02
re PR c/5656 (ICE in emit_move_insn, at expr.c:2748, regression from gcc 3.0)

PR c/5656
* langhooks.h (struct lang_hooks_for_tree_inlining): Add
convert_parm_for_inlining.
* c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
Define.
* langhooks-def.h: Likewise.
* objc/objc-lang.c: Likewise.
* langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
function.
* tree-inline.c (initialize_inlined_parameters):
Call convert_parm_for_inlining lang hook if needed.
* c-typeck.c (c_convert_parm_for_inlining): New function.
* c-tree.h (c_convert_parm_for_inlining): Add prototype.

* gcc.c-torture/compile/20020318-1.c: New test.

From-SVN: r51025
gcc/ChangeLog
gcc/c-lang.c
gcc/c-tree.h
gcc/c-typeck.c
gcc/langhooks-def.h
gcc/langhooks.c
gcc/langhooks.h
gcc/objc/objc-lang.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20020318-1.c [new file with mode: 0644]
gcc/tree-inline.c