Age | Commit message (Collapse) | Author |
|
original function to...
(lto_find_integral_type_1): ...this. Consult UNSIGNEDP if we
don't have a base type.
(lto_read_enumeration_type_DIE): Examine the values of the
enumeration to determine whether we can use an unsigned type for
the base type of the enumeration.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131207 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
regardless of whether we are outputting the function in which
it was defined.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131161 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
and TYPE_ALIGN on UNION_TYPEs as soon as possible.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131160 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(LANG_HOOKS_TYPES_COMPATIBLE_P): Define.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131138 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* dwarf2out.c (force_decl_die): Unset the DECL_IGNORED_P flag if
we are called from LTO. Remove the DW_AT_declaration flag if the
decl has an initial value.
* lto-function-out.c (output_expr_operand): Add explicit check
for statics or externs rathen than use DECL_CONTEXT.
(output_local_vars): Serialize the DECL_INITIAL field of local
statics and add it the unexpanded_vars_list as necessary.
gcc/lto/
* lto-read.c (input_expr_operand): Fixed uninitialize var warning.
(input_local_vars): Read in DECL_INITIAL and context for local
statics that need to be put in unexpanded_vars_list.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131137 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
for calling real_from_string.
(input_expr_operand): If we take the address of a FUNCTION_DECL,
tell cgraph that it's needed.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131120 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2007-12-19 Doug Kwan <dougkwan@google.com>
* dwarf2out.c (base_type_de): Use DW_ATE_GNU_complex_unsigned
and DW_ATE_GNU_complex_signed as appropriate instead of using
DW_ATE_lo_user.
* dwarf2.h (DW_ATE_GNU_complex_signed, DW_ATE_GNU_complex_unsigned):
New encoding formats.
ChangeLog
2007-12-19 Doug Kwan <dougkwan@google.com>
* lto.c (lto_read_base_type_DIE): Handle complex integer types.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131091 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* real.c (real_to_decimal, real_to_hexadecimal): Distinguish
QNaN & SNaN.
(real_from_string): Handle NaNs and Inf as approriate.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131090 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(lto_file_read): Reset the members of 'context' every time we read
a toplevel DIE, with special attention to last_param_type.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131043 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
'declaration'. Set the assembler name for non-public functions.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131039 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* lto-function-out.c (output_block.unexpanded_local_decls_index): New vector.
(destroy_output_block): Added missing ifdef.
(output_decl_index): Added this_index to return added index.
(output_type_ref): Added parameter to output_decl_index.
(output_local_decl_ref): Added write parameter and code to initialize
unexpanded_local_decls_index.
(output_expr_operand): Added extra operands to output_decl_index and
output_local_decl_ref.
(output_local_var): New function split out from output_local_vars.
(output_local_vars): Added code to string unexpanded_var_list separately.
(output_function): Added code to output decl_context for function.
2007-12-17 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto_read.c (data_in.unexpanded_indexes): New array.
(input_local_var): Added code to read in unexpanded_var_list
indexes for variables. Only read in DECL_CHAIN field for
parameters.
(input_local_vars): Added code to rebuild unexpanded_var_list in
order using unexpanded_indexes.
(input_function): Added code to set DECL_CONTEXT for functions.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131009 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* lto.c (lto_read_pointer_reference_type_DIE): Handle optional name
in pointer and reference types.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130939 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(lto_init_ref): Call it.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130918 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
RESULT_DECL.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130915 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
already read the DIE.
(lto_get_body): New function, split out from...
(lto_materialize_function): ...here. Call it.
(lto_read_subroutine_type_subprogram_DIE): Call lto_get_body to
determine DECL_EXTERNAL.
* lto-symtab.c (lto_symtab_merge_decl): Merge the DECL_RESULTs of
FUNCTION_DECLs when necessary. Use the type of the actual
function definition if we are unable to easily merge types. Ignore
spurious DECL_MODE mismatches on VAR_DECLs. Merge DECL_MODEs when
necessary.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130909 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* langhooks.h (struct lang_hooks) Add comment for
reduce_bit_field_operations.
gcc/lto/
* lto-lang.c (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): Define.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130905 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Revert
2007-12-07 Bill Maddox <maddox@google.com>
* dwarf2out.c (AT_string_form): Remove code to suppress
the use of the DWARF string table.
gcc/lto
Revert
2007-12-07 Bill Maddox <maddox@google.com>
* lto.c (lto_str_fd_init): New function.
(lto_str_fd_close): New function.
(lto_file_init): Call lto_str_fd_init.
(lto_file_close): Call lto_str_fd_close.
(lto_str_read): New function. Read debug string table.
(lto_str_lookup): New function. Get string for debug
string table offset.
(lto_read_form): Recognize DW_FORM_strp.
(lto_file_read): Invoke lto_str_read.
* lto-elf.c (lto_elf_file_open): Read raw section data
for the .debug_str section, if present.
* lto.h (struct lto_str_fd_struct): New struct.
(struct lto_file_struct): Added new field DEBUG_STR
to hold the file descriptor for the debug string table.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130804 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
gcc/
* dwarf2out.c (AT_string_form): Remove code to suppress
the use of the DWARF string table.
gcc/lto
* lto.c (lto_str_fd_init): New function.
(lto_str_fd_close): New function.
(lto_file_init): Call lto_str_fd_init.
(lto_file_close): Call lto_str_fd_close.
(lto_str_read): New function. Read debug string table.
(lto_str_lookup): New function. Get string for debug
string table offset.
(lto_read_form): Recognize DW_FORM_strp.
(lto_file_read): Invoke lto_str_read.
* lto-elf.c (lto_elf_file_open): Read raw section data
for the .debug_str section, if present.
* lto.h (struct lto_str_fd_struct): New struct.
(struct lto_file_struct): Added new field DEBUG_STR
to hold the file descriptor for the debug string table.
Committed to LTO branch per approval by Nathan Froyd.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130706 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree-flow.h (init_empty_tree_cfg_for_function): Declare.
* tree-cfg.c (init_empty_tree_cfg_for_function): Define.
(init_empty_tree_cfg): Call it.
* lto_function-out.c (output_cfg): Write out the block chain.
gcc/lto/
* lto-read.c (input_cfg): Call init_empty_tree_cfg_for_function.
Grow the basic_block_info and label_to_block_map vectors if
necessary. Read in the block chain.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130705 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(force_block_die): Call it.
(dwarf2out_finish): Call it if we have a BLOCK for our context.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130698 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130664 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130663 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(lto_read_body): Don't declare PROP_alias.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130662 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
argument type information.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130661 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(produce_asm): Call it.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130659 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree-into-ssa.c (rebuild_ssa_for_lto): Remove.
(pass_rebuild_ssa_for_lto): Remove.
* tree-optimize.c (gate_early_lto_passes): Remove.
(pass_early_lto_passes): Remove.
* passes.c (init_optimization_passes): Remove pass_early_lto_passes
and its sub-passes.
* tree-pass.h (pass_early_lto_passes, pass_rebuild_ssa_for_lto):
Remove.
* lto-tree-flags.def (VAR_DECL): Add volatile_flag.
gcc/lto/
* lto.c (lto_read_variable_formal_parameter_constant_DIE): Set
TREE_THIS_VOLATILE if the associated type is a volatile type.
(lto_materialize_function): Remove call to init_ssa_operands.
* lto-read.c (input_expr_operand): Add SSA_NAME_VAR as a referenced
variable when reading an SSA_NAME. Do the same when reading a
RESULT_DECL, a RETURN_EXPR, or an MTAG.
(input_cfg): Call init_ssa_operands.
(input_ssa_names): Set the default def of an SSA_NAME if necessary.
Move call to init_tree_ssa...
(lto_read_body): ...here. Use push_cfun and pop_cfun. Call
add_referenced_var on any variables referenced from the body of the
function. Inform the rest of the compiler we are in SSA form and
inform later passes about the current properties.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130587 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* lto-tree-flags.def (RESULT_DECL): Add gimple_reg_flag.
gcc/lto/
* lto.c (lto_materialize_function): Add FIXME.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130545 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(flag_no_builtin, flag_no_nonansi_builtin, flag_isoc94, flag_isoc99,
built_in_attributes): New variables.
(def_builtin_1): New function.
(lto_define_builtins): #define DEF_BUILTIN and include builtins.def.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130522 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* lto-function-out.c (output_expr_operand): Fix STRING_CST to
always have type.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130515 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
DECL_SOURCE_LOCATION for debugging purposes.
(lto_read_member_DIE): Set DECL_SOURCE_LOCATION. If we have read a
bitfield, use the type specified by the DIE for TREE_TYPE and defer
laying out the decl until later.
(lto_read_subroutine_type_subprogram_DIE): Compare the function's
name with DECL_ASSEMBLER_NAME. Set DECL_SOURCE_LOCATION and
TREE_ADDRESSABLE.
* lto-read.c (input_expr_operand): Set TREE_ADDRESSABLE on the
operand of an ADDR_EXPR.
* lto-lang.c (enum lto_builtin_type): New enum.
(builtin_type): New typedef.
(builtin_types, string_type_node, const_string_type_node,
wint_type_node, intmax_type_node, uintmax_type_node,
signed_size_type_node): New variables.
(def_fn_type, builtin_type_for_size, lto_define_builtins,
lto_build_c_type_nodes): New functions.
(lto_init): Initialize builtin types.
(lto_set_decl_assembler_name): Let the target machine mangle the
name if the decl is TREE_PUBLIC, otherwise uniquify it.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130511 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* dwarf2out.c (gen_subprogram_die): Inhibit generation of labels
if we are being called for LTO's purposes.
(gen_variable_die): Don't generate multiple DIEs for and equate
the generated DIE with the decl for global variables.
(force_decl_die): Don't play games with DECL_EXTERNAL if we are
forcing a DIE for a global variable.
(lto_typedecl_ref): Remove assert.
gcc/lto/
* lto.c (lto_read_variable_formal_parameter_constant_DIE): Don't
set TREE_ADDRESSABLE. Do set DECL_COMDAT. Set TREE_READONLY if
the type is a constant type. Set the assembler name and inform
the rest of the compiler about the new decl if the decl is not
public.
(lto_read_subroutine_type_subprogram_DIE): Don't check for equivalency
of DECL_ASSEMBLER_NAME when determining if we have a builtin. Don't
try to read in function bodies for functions that already have bodies.
* lto-symtab.c (lto_same_type_p): Check for unbounded array
equivalency.
(lto_symtab_merge_decl): Don't merge decls that aren't TREE_PUBLIC.
Check for whether we matched a builtin function type before calling
lto_same_type_p on the generated type. Permit cases where the
declaration of an array is unbounded, but the definition is bounded.
Don't combine TREE_PUBLIC flags. Copy over DECL_SIZE and
DECL_SIZE_UNIT if necessary.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130334 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* lto-function-out.c (output_expr_operand): Get types right
for COMPLEX_CST.
2007-11-16 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_expr_operand): Get types right
for COMPLEX_CST.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130256 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130241 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* lto-read.c (make_new_block, input_cfg): Properly set
n_basic_blocks.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130239 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
set properly by building a VECTOR_TYPE instead of an ARRAY_TYPE.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130236 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-common.c (c_build_bitfield_integer_type): Rename this...
* stor-layout.c (make_bitfield_integer_type): ...to this.
* c-decl.c (finish_struct): Use new name.
* c-common.h (c_build_bitfield_integer_type): Move declaration...
* tree.h (make_bitfield_integer_type): ...here.
gcc/cp/
* class.c (layout_class_type): Use make_bitfield_integer_type.
gcc/lto/
* lto.c (lto_read_base_type_DIE): Use make_bitfield_integer_type to
construct the integer type for bitfields.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130235 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* lto-tree-flags.def (tcc_constant): Added static_flag.
(tcc_vl_exp): Added asm_written_flag.
* lto-function-out.c (output_local_vars): Output DECL_INITIAL
for static local vars.
(lto_types_needed_for): Added STRING_CST.
* tree-cfg.c (dump_function_to_file): Add verbose dump for
local vars and parms.
2007-11-16 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (data_in.current_node_has_loc): Removed.
(input_line_info): Returns true if node needs line set.
(set_line_info): Always sets line if called.
(clear_line_info): Removed reference to current_node_needs_loc.
(input_expr_operand): Keeps track locally if current node needs a loc.
(input_local_var): Added code to handle DECL_INITIAL for
static local vars. Only set loc if necessary.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130224 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
DECL_CONTEXT.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130210 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree.h (DECL_CONTEXT): Note that this applies to RESULT_DECLs too.
gcc/lto/
* lto.c: Include langhooks.h.
(lto_find_integral_type): Rework logic to handle the case where
got_byte_size is true, but the bitsize requested and that of the
base_type doesn't match.
(lto_read_variable_formal_parameter_constant_DIE): Only check for
asm_name if we are creating a VAR_DECL.
(lto_materialize_function): Set DECL_EXTERNAL if we can't find a
definition.
(lto_read_subroutine_type_subprogram_DIE): Check for a builtin
function reference and use the builtin's decl if so. Set the
DECL_CONTEXT of the RESULT_DECL for the function.
* lto-lang.c (registered_builtin_fndecls): New variable.
(lto_getdecls): Return it.
(lto_builtin_function): Chain the new decl onto
registered_builtin_fndecls.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130209 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree-dump.c (dump_options): Removed verbose from -all option.
* tree-pretty-print.c (dump_phi_nodes, dump_generic_bb_buff):
Fixed && vs & dyslexia.
* lto-tree-flags.def (ADD_CLASS_FLAG) Renamed to ADD_CLASS_EXPR_FLAG.
(ADD_CLASS_DECL_FLAG): New macro.
(OMP_ATOMIC_LOAD, OMP_ATOMIC_STORE): New cases.
* lto-function-out (output_tree_flags, lto_debug_tree_flags):
Renamed to ADD_CLASS_EXPR_FLAG. ADD_CLASS_DECL_FLAG New Macro.
(output_expr_operand): Added type for SWITCH_EXPR.
* tree-cfg.c (dump_function_to_file): Fixed && vs & dyslexia.
2007-11-15 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (process_tree_flags, lto_static_init_local):
Renamed to ADD_CLASS_EXPR_FLAG. ADD_CLASS_DECL_FLAG New Macro.
(input_line_info, clear_line_info): Fixed new line number code.
(input_expr_operand): Added type to SWITCH_EXPR.
(lto_read_body): Properly initialized data_in.
Clear line info when leaving.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130199 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Merge with mainline @130155.
* configure.ac (ACX_PKGVERSION): Update revision merge
string.
* configure: Regenerate.
2007-11-13 Diego Novillo <dnovillo@google.com>
* lto-function-out.c (output_tree_flags): Declare local
variable CURRENT_COL. Fix existing misspellings of its
name.
* dwarf2out.c (lto_typedecl_ref): Remove unused variable.
Reformat comments.
lto/ChangeLog
2007-11-13 Diego Novillo <dnovillo@google.com>
* lto.c (lto_read_variable_formal_parameter_constant_DIE):
Initialize ARTIFICIAL.
(lto_read_subroutine_type_subprogram_DIE): Initialize
SAVED_SCOPE.
* lto-read.c (set_line_info): Remove ; from calls to
LINEMAP_POSITION_FOR_COLUMN.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130178 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* lto-tree-flags.def (PARM_DECL): Serialize the addressable_flag.
(PHI_NODE): Serialize the asm_written_flag.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130161 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* lto-function-out.c (output_expr_operand): Get the types correct for
vector-cst.
* tree-cfg.c (dump_function_to_file): Print the function_decl in verbose mode.
2007-11-13 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_type_ref): Renamed from get_type_ref.
(input_expr_operand, input_local_var): Renamed get_type_ref to
input_type_ref.
(input_expr_operand): Get the types correct for
vector-cst. Get SSA_NAME_DEF_STMT correct for return_exprs.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130156 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130154 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* lto-tags.h: Call #error if BITS_PER_LTO_FLAGS_TYPE is
not wide enough.
2007-11-13 Doug Kwan <dougkwan@google.com>
* lto-function-out.c (output_widest_uint_uleb128_stream,
output_widest_uint_uleb128): New functions.
(output_tree_flags): Use lto_flags_type instead of unsigned
HOST_WIDE_INT. Call output_widest_unint_uleb128 instead of
output_uleb128.
(lto_debug_tree_flags): Replace HOST_BITS_PER_WIDE_INT with
BITS_PER_LTO_FLAGS_TYPE as appropriate.
* lto-tags.h (lto_flags_type): New type.
(BITS_PER_LTO_FLAGS_TYPES): New macro.
(lto_debug_tree_flags): Change prototype to use
lto_flags_type.
lto/ChangeLog
2007-11-13 Doug Kwan <dougkwan@google.com>
* lto-read.c (input_widest_uint_uleb128): New function.
(input_tree_flags, process_tree_flags, input_line_info,
input_expr_operand, input_local_var, input_phi, input_ssa_names):
Change to use lto_flags_type and BITS_PER_LTO_FLAGS_TYPES instead of
unsigned HOST_WIDE_INT and HOST_BITS_PER_WIDE_INT.
(lto_static_init_local): Add code to assert that lto_flags_type is
wide enough.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130153 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(lto_read_subroutine_type_subprogram_DIE): Handle
DW_AT_static_link and DW_AT_specification. Return the
specification if present.
(lto_read_base_type_DIE): Handle DW_ATE_complex_float.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130142 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(registered_builtin_types): New variable.
(lto_type_for_mode): Increase number of modes handled.
(lto_builtin_function): Fix argument list and return the decl.
(lto_register_builtin_type): New function.
(lto_init): Initialize target builtins and language-independent
nodes.
(LANG_HOOKS_REGISTER_BUILTIN_TYPE): Define.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130140 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* lto-function-out.c (output_constructor): Modified to output
index field if it exists.
(output_expr_operand): Removed incorrect assert about type names.
Added RANGE_EXPR case.
* lto-tree-flags.def (LTO_constructor_range): Removed.
* lto-tags.h (LTO_constructor_range): Removed.
2007-11-13 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_expr_operand): Added code to properly handle
index filed. Added new RANGE_EXPR case.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130137 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* doc/invoke.text (-fdump-tree-*-verbose): New option.
* tree-dump.c (dump_options): New verbose option.
* tree-pretty-print.c (dump_phi_nodes, dump_generic_bb_buff):
Add verbose dump.
* lto-tree-flags.def (tcc_expression, tcc_gimple_stmt,
tcc_statement): Add asm_written flag to support undocumented use.
(FUNCTION_DECL): Removed all flags since these are not serialized
by lto-function-out.
(VAR_DECL): Reorganized flags and added missing ones.
* tree-pass.h (TDF_VERBOSE): New dump flag.
* lto-function-out.c (output_tree_flags): Removed ADD_FUNCT_FLAG
macro. Added fixes to get line numbers correct.
(pass_ipa_lto_out): Fixed dump options and name.
* lto-flags.h (LTO_SOURCE_*): Removed conditional code
USE_MAPPED_LOCATION.
(LTO_SOURCE_HAS_LOC): New macro.
* tree-dfa-c (pass_referenced_var): Added dump option.
* print-tree.c (print_node): Added code to be able to print
PHI_NODES.
(tree-flow.h): Added include.
Makefile.in (print-tree.o): Added TREE_FLOW_H.
2007-11-11 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (ADD_FUNC_FLAG): Deleted macro.
(data_in): Added current_node_has_loc field.
(input_line_info, set_line_info, clear_line_info): Added a support
for USE_MAPPED_LOCATION and not adding line numbers to nodes that
did not have on on the source side.
(input_expr_operand): Make sure that GIMPLE_MODIFY_STMTS get line
numbers too.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130095 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* lto.c (input_expr_operand): Change type of operand 2 of
BIT_FIELD_REF expression to be bitsizetype instead of sizetype.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@130060 138bc75d-0d04-0410-961f-82ee72b054a4
|