1. 21 Sep, 2010 5 commits
  2. 20 Sep, 2010 24 commits
  3. 19 Sep, 2010 11 commits
    • re PR lto/44246 (ICE with -fwhopr/-flto when using strlen and strcat without previous declaration) · d1f6261f
      
      	PR lto/44246
      	* lto-cgraph.c (input_cgraph_1, input_varpool_1): Avoid
      	processing same node twice.
      	* gcc.c-torture/compile/pr44246.c:New file.
      
      From-SVN: r164425
      Jan Hubicka committed
    • trans.c (gnat_pushdecl): Do not do anything special for PARM_DECLs. · a963da4d
      	* gcc-interface/trans.c (gnat_pushdecl): Do not do anything special
      	for PARM_DECLs.
      	(end_subprog_body): If the body is a BIND_EXPR, make its associated
      	block the top-level one.
      	(build_function_stub): Build a statement group for the whole function.
      	* gcc-interface/utils.c (Subprogram_Body_to_gnu): If copy-in/copy-out
      	is used, create the enclosing block early and process first the OUT
      	parameters.
      
      From-SVN: r164422
      Eric Botcazou committed
    • bfin.h (CLASS_LIKELY_SPILLED_P): Remove. · 0b182178
      	* config/bfin/bfin.h (CLASS_LIKELY_SPILLED_P): Remove.
      	* config/bfin/bfin.c (TARGET_CLASS_LIKELY_SPILLED_P): Define.
      	(bfin_class_likely_spilled_p): New function
      
      From-SVN: r164421
      Anatoly Sokolov committed
    • re PR tree-optimization/45714 (Vectorization of double pow function causes a segmentation fault) · 039d9ea1
      
      	PR tree-optimization/45714
      	* tree-vect-stmts.c (vect_transform_stmt): Use a dummy statement 
      	created in vectorizable_call instead of the original statement in 
      	def stmt updates.
      
      From-SVN: r164420
      Ira Rosen committed
    • decl.c (gnat_to_gnu_entity): Do not generate debug info for individual enumerators. · 66de86b0
      	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Enumeration_Type>: Do
      	not generate debug info for individual enumerators.
      
      From-SVN: r164418
      Eric Botcazou committed
    • decl.c (gnat_to_gnu_entity): Use record type instead of enumeral type as the… · 12e86218
      decl.c (gnat_to_gnu_entity): Use record type instead of enumeral type as the dummy type built for the...
      
      	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Use record
      	type instead of enumeral type as the dummy type built for the template
      	type of fat pointers.
      
      From-SVN: r164417
      Eric Botcazou committed
    • gigi.h (get_elaboration_procedure): Declare. · 2231f17f
      	* gcc-interface/gigi.h (get_elaboration_procedure): Declare.
      	(gnat_zaplevel): Likewise.
      	* gcc-interface/decl.c (gnat_to_gnu_entity): Do not force global
      	binding level for an external constant.
      	<E_Constant>: Force the local context and create a fake scope before
      	translating the defining expression of an external constant.
      	<object>: Treat external constants at the global level explicitly for
      	renaming declarations.
      	(elaborate_expression_1): Force the variable to be static if the
      	expression is global.
      	* gcc-interface/trans.c (get_elaboration_procedure): New function.
      	(call_to_gnu): Use it.
      	(gnat_to_gnu): Likewise.
      	<N_Object_Declaration>: Do not test Is_Public to force the creation of
      	an initialization variable.
      	(add_decl_expr): Discard the statement if the declaration is external.
      	* gcc-interface/utils.c (gnat_pushdecl): Do not put the declaration in
      	the current block if it is external.
      	(create_var_decl_1): Do not test Is_Public to set TREE_STATIC.
      	(gnat_zaplevel): New global function.
      
      From-SVN: r164416
      Eric Botcazou committed
    • decl.c (gnat_to_gnu_entity): Explicitly test _LEVEL variables against zero in all cases. · a10623fb
      	* gcc-interface/decl.c (gnat_to_gnu_entity): Explicitly test _LEVEL
      	variables against zero in all cases.
      	(rest_of_type_decl_compilation): Likewise.
      	* gcc-interface/trans.c (gigi): Pass properly typed constants to
      	create_var_decl.
      	(call_to_gnu): Fix formatting.
      	(Handled_Sequence_Of_Statements_to_gnu): Likewise.
      	(Exception_Handler_to_gnu_zcx): Likewise.
      	(gnat_to_gnu) <N_Object_Declaration>: Short-circuit handling of
      	constant
      	expressions in presence of a freeze node.
      
      From-SVN: r164415
      Eric Botcazou committed
    • decl.c (gnat_to_gnu_entity): Look into expressions for external constants that are aggregates. · 50a6af05
      	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Constant>: Look into
      	expressions for external constants that are aggregates.
      	* gcc-interface/utils2.c (build_simple_component_ref): If the field
      	is an inherited component in an extension, look through the extension.
      
      From-SVN: r164414
      Eric Botcazou committed
    • i386-protos.h (split_double_mode): New prototype. · b146446c
      	* config/i386/i386-protos.h (split_double_mode): New prototype.
      	(split_di, split_ti): Remove prototypes.
      	* config/i386/i386.c (split_double_mode): New function.
      	(split_di, split_ti): Remove.
      	(ix86_expand_branch): Use split_double_mode.
      	(ix86_split_to_parts): Ditto.
      	(ix86_split_ashl): Ditto.
      	(ix86_split_ashr): Ditto.
      	(ix86_split_lshr): Ditto.
      	(ix86_force_to_memory): Ditto.
      	* config/i386/i386.md: Use split_double_mode in double-mode splitters.
      
      From-SVN: r164413
      Uros Bizjak committed
    • Uglify C++ headers some more. · 6e687a9a
      libstdc++-v3/:
      	* include/ext/throw_allocator.h
      	(hash<__gnu_cxx::throw_value_limit>::operator()): Uglify local.
      	(hash<__gnu_cxx::throw_value_random>::operator()): Likewise.
      	* include/parallel/set_operations.h (__symmetric_difference_func):
      	Uglify remaining arguments to __count, __first_empty, _M_invoke.
      	(__difference_func): Likewise for __count.
      	* include/profile/impl/profiler_node.h
      	(__object_info_base::__write): Uglify parameter.
      
      From-SVN: r164411
      Ralf Wildenhues committed