1 2002-08-07 Jakub Jelinek <jakub@redhat.com>
3 * tree-inline.c (remap_decl): Make sure DECL_TOO_LATE is clear for
6 * gcc.c-torture/compile/20020807-1.c: New test.
8 --- gcc/tree-inline.c.jj 2002-04-17 15:35:57.000000000 +0200
9 +++ gcc/tree-inline.c 2002-08-07 14:53:14.000000000 +0200
10 @@ -145,6 +145,9 @@ remap_decl (decl, id)
11 t = copy_decl_for_inlining (decl, fn,
12 VARRAY_TREE (id->fns, 0));
14 + if (TREE_CODE (t) == LABEL_DECL)
15 + DECL_TOO_LATE (t) = 0;
17 /* The decl T could be a dynamic array or other variable size type,
18 in which case some fields need to be remapped because they may
19 contain SAVE_EXPRs. */
20 --- gcc/testsuite/gcc.c-torture/compile/20020807-1.c.jj 2002-08-07 14:55:26.000000000 +0200
21 +++ gcc/testsuite/gcc.c-torture/compile/20020807-1.c 2002-08-07 14:22:07.000000000 +0200
26 +__attribute__ ((noinline))
33 +__attribute__ ((noinline))