Commit 7127fd58 by Richard Henderson Committed by Richard Henderson

integrate.c (output_inline_function): Reset input_filename and lineno from the…

integrate.c (output_inline_function): Reset input_filename and lineno from the decl before rest_of_compilation.

        * integrate.c (output_inline_function): Reset input_filename
        and lineno from the decl before rest_of_compilation.

From-SVN: r62464
parent 48d1ce96
2003-02-05 Richard Henderson <rth@redhat.com>
* integrate.c (output_inline_function): Reset input_filename
and lineno from the decl before rest_of_compilation.
2003-02-05 Richard Henderson <rth@redhat.com>
* defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
(CTZ_DEFINED_VALUE_AT_ZERO): New.
* doc/rtl.texi, doc/tm.texi: Document them.
......
......@@ -3028,6 +3028,11 @@ output_inline_function (fndecl)
debug_hooks = &do_nothing_debug_hooks;
}
/* Make sure warnings emitted by the optimizers (e.g. control reaches
end of non-void function) is not wildly incorrect. */
input_filename = DECL_SOURCE_FILE (fndecl);
lineno = DECL_SOURCE_LINE (fndecl);
/* Compile this function all the way down to assembly code. As a
side effect this destroys the saved RTL representation, but
that's okay, because we don't need to inline this anymore. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment