Committed to dmalcolm/jit: gcc/jit/ * internal-api.c (gcc::jit::context::postprocess): Show source line numbers (if any) in gimple dump. --- gcc/jit/ChangeLog.jit | 5 +++++ gcc/jit/internal-api.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gcc/jit/ChangeLog.jit b/gcc/jit/ChangeLog.jit index df08834..adf273b 100644 --- a/gcc/jit/ChangeLog.jit +++ b/gcc/jit/ChangeLog.jit @@ -1,5 +1,10 @@ 2013-10-21 David Malcolm <dmalc...@redhat.com> + * internal-api.c (gcc::jit::context::postprocess): Show source + line numbers (if any) in gimple dump. + +2013-10-21 David Malcolm <dmalc...@redhat.com> + * libgccjit.c (gcc_jit_function_new_local): Use a more clear error message for the case where someone tries to add a local to a function imported from elsewhere. diff --git a/gcc/jit/internal-api.c b/gcc/jit/internal-api.c index 8f84e14..8bb6741 100644 --- a/gcc/jit/internal-api.c +++ b/gcc/jit/internal-api.c @@ -864,7 +864,7 @@ postprocess () current_function_decl = m_inner_fndecl; if (m_ctxt->get_bool_option (GCC_JIT_BOOL_OPTION_DUMP_INITIAL_GIMPLE)) - dump_function_to_file (m_inner_fndecl, stderr, TDF_VOPS|TDF_MEMSYMS); + dump_function_to_file (m_inner_fndecl, stderr, TDF_VOPS|TDF_MEMSYMS|TDF_LINENO); //debug_tree (m_inner_fndecl); //printf("about to add to cgraph\n"); -- 1.7.11.7