diff options
author | Tom Wood <wood@gnu.org> | 1992-11-20 20:38:07 +0000 |
---|---|---|
committer | Tom Wood <wood@gnu.org> | 1992-11-20 20:38:07 +0000 |
commit | cdd6e2db6a911a0b113a315793492c854319bc53 (patch) | |
tree | 83521525deeab939c4af904807b444fed43060ed | |
parent | 89881415f5d45a0da9f300b60d35141e1661ba09 (diff) | |
download | gcc-cdd6e2db6a911a0b113a315793492c854319bc53.zip gcc-cdd6e2db6a911a0b113a315793492c854319bc53.tar.gz gcc-cdd6e2db6a911a0b113a315793492c854319bc53.tar.bz2 |
(expand_inline_function): Mark all notes as integrated.
From-SVN: r2764
-rw-r--r-- | gcc/integrate.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c index 118f49e..84cbc13 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -1192,7 +1192,12 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add expand_start_bindings (0); if (GET_CODE (parm_insns) == NOTE && NOTE_LINE_NUMBER (parm_insns) > 0) - emit_note (NOTE_SOURCE_FILE (parm_insns), NOTE_LINE_NUMBER (parm_insns)); + { + rtx note = emit_note (NOTE_SOURCE_FILE (parm_insns), + NOTE_LINE_NUMBER (parm_insns)); + if (note) + RTX_INTEGRATED_P (note) = 1; + } /* Expand the function arguments. Do this first so that any new registers get created before we allocate the maps. */ @@ -1212,7 +1217,10 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add /* Where parameter is located in the function. */ rtx copy; - emit_note (DECL_SOURCE_FILE (formal), DECL_SOURCE_LINE (formal)); + rtx note = emit_note (DECL_SOURCE_FILE (formal), + DECL_SOURCE_LINE (formal)); + if (note) + RTX_INTEGRATED_P (note) = 1; arg_trees[i] = arg; loc = RTVEC_ELT (arg_vector, i); @@ -1398,7 +1406,10 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add && ! (GET_CODE (XEXP (loc, 0)) == REG && REGNO (XEXP (loc, 0)) > LAST_VIRTUAL_REGISTER)) { - emit_note (DECL_SOURCE_FILE (formal), DECL_SOURCE_LINE (formal)); + rtx note = emit_note (DECL_SOURCE_FILE (formal), + DECL_SOURCE_LINE (formal)); + if (note) + RTX_INTEGRATED_P (note) = 1; /* Compute the address in the area we reserved and store the value there. */ |