1. 26 Apr, 2010 16 commits
    • cfgloop.h (struct loop): Move can_be_parallel field up. · 448f65db
      	* cfgloop.h (struct loop): Move can_be_parallel field up.
      	* ipa-prop.h (struct ip_node_params): Move bitfields up.
      	* tree-ssa-loop-ivopts.c (struct version_info): Move inv_id field
      	down.
      	(struct iv_cand): Convert pos field into a bitfield.
      	* tree-vectorizer.h (struct _loop_vec_info): Move loop_line_number
      	field up.
      	(struct _stmt_vec_info): Shuffle fields for better packing.
      
      From-SVN: r158743
      Nathan Froyd committed
    • * filenames.h (PATH_SEPARATOR): Delete. · a1cbd45d
      From-SVN: r158742
      Pedro Alves committed
    • * sv.po: Update. · 67d280b2
      From-SVN: r158739
      Joseph Myers committed
    • varasm.c (IN_NAMED_SECTION): Remove guard. · 736865e1
      	* varasm.c (IN_NAMED_SECTION): Remove guard.
      	* config/arm/unknown-elf.h (IN_NAMED_SECTION): Rename to...
      	(IN_NAMED_SECTION_P): ...this.
      	(ASM_OUTPUT_ALIGNED_BSS): Adjust for above renaming.
      	(ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
      
      From-SVN: r158738
      Eric Botcazou committed
    • gimplify.c (gimplify_cond_expr): Use THEN_ and ELSE_ local variables. · 06ec59e6
      	* gimplify.c (gimplify_cond_expr): Use THEN_ and ELSE_ local variables.
      	Use VOID_TYPE_P for all void type tests.  Adjust TYPE variable instead
      	of shadowing it.  Fix comments.
      
      From-SVN: r158737
      Eric Botcazou committed
    • cgraph.c (cgraph_create_node): Set node frequency to normal. · 5fefcf92
      
      	* cgraph.c (cgraph_create_node): Set node frequency to normal.
      	(cgraph_clone_node): Copy function frequency.
      	* cgraph.h (node_frequency): New enum
      	(struct cgraph_node): Add.
      	* final.c (rest_of_clean_state): Update.
      	* lto-cgraph.c (lto_output_node): Output node frequency.
      	(input_overwrite_node): Input node frequency.
      	* tre-ssa-loop-ivopts (computation_cost): Update.
      	* lto-streamer-out.c (output_function): Do not output function frequency.
      	* predict.c (maybe_hot_frequency_p): Update and handle functions executed once.
      	(cgraph_maybe_hot_edge_p): Likewise; use cgraph frequency instead of
      	attribute lookup.
      	(probably_never_executed_bb_p, optimize_function_for_size_p): Update.
      	(compute_function_frequency): Set noreturn functions to be executed once.
      	(choose_function_section): Update.
      	* lto-streamer-in.c (input_function): Do not input function frequency.
      	* function.c (allocate_struct_function): Do not initialize function frequency.
      	* function.h (function_frequency): Remove.
      	(struct function): Remove function frequency.
      	* ipa-profile.c (CGRAPH_NODE_FREQUENCY): Remove.
      	(try_update): Update.
      	* tree-inline.c (initialize_cfun): Do not update function frequency.
      	* passes.c (pass_init_dump_file): Update.
      	* i386.c (ix86_compute_frame_layout): Update.
      	(ix86_pad_returns): Update.
      
      From-SVN: r158732
      Jan Hubicka committed
    • lto.c (lto_fixup_type): Deal with non-type TYPE_CONTEXT. · 21aac880
      2010-04-26  Richard Guenther  <rguenther@suse.de>
      
      	* lto.c (lto_fixup_type): Deal with non-type TYPE_CONTEXT.
      
      	* gcc.dg/lto/20100426_0.c: New testcase.
      
      From-SVN: r158729
      Richard Guenther committed
    • re PR tree-optimization/43833 (false warning: array subscript is above array bounds with -O3) · 330af32c
      	PR tree-optimization/43833
      	* tree-vrp.c (range_int_cst_p): New.
      	(range_int_cst_singleton_p): New.
      	(extract_range_from_binary_expr): Optimize BIT_AND_EXPR case
      	when both operands are constants.  Use range_int_cst_p in
      	BIT_IOR_EXPR case.
      
      	testsuite/
      	PR tree-optimization/43833
      	gcc.dg/Warray-bounds-8.c: New test case.
      
      From-SVN: r158727
      Jie Zhang committed
    • re PR c++/43080 (ICE with anonymous union and -flto) · 98b2dfbb
      2010-04-26  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/43080
      	* gimple.c (gimple_decl_printable_name): Deal gracefully
      	with a NULL DECL_NAME.
      
      	* g++.dg/lto/20100423-3_0.C: New testcase.
      
      From-SVN: r158723
      Richard Guenther committed
    • re PR debug/42425 (ICE declaring local class) · 1ae3075b
      2010-04-26  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/42425
      	* tree.c (free_lang_data_in_type): Do not free TYPE_CONTEXT
      	if emitting debug information and it is either a function
      	or a namespace decl.
      
      	* g++.dg/lto/20100423-2_0.C: New testcase.
      
      From-SVN: r158722
      Richard Guenther committed
    • tree-vectorizer.h (struct _stmt_vec_info): Add new field to determine if the… · 4b5caab7
      tree-vectorizer.h (struct _stmt_vec_info): Add new field to determine if the statement is vectorizable...
      
      
      	* tree-vectorizer.h (struct _stmt_vec_info): Add new field to 
      	determine if the statement is vectorizable, and a macro to 
      	access it.
      	* tree-vect-data-refs.c (vect_analyze_data_ref_dependence): 
      	Skip statements that can't be vectorized. If the analysis 
      	fails, mark the statement as unvectorizable if vectorizing 
      	basic block.
      	(vect_compute_data_refs_alignment): Likewise.
      	(vect_verify_datarefs_alignment): Skip statements marked as 
      	unvectorizable. Add print.
      	(vect_analyze_group_access): Skip statements that can't be 
      	vectorized. If the analysis fails, mark the statement as 
      	unvectorizable if vectorizing basic block.
      	(vect_analyze_data_ref_accesses, vect_analyze_data_refs): 
      	Likewise.
      	* tree-vect-stmts.c (vectorizable_store): Fix the number of 
      	generated stmts for SLP.
      	(new_stmt_vec_info): Initialize the new field.
      	* tree-vect-slp.c (vect_build_slp_tree): Fail to vectorize 
      	statements marked as unvectorizable.
      
      From-SVN: r158719
      Ira Rosen committed
    • lto.h (lto_elf_file_open): Rename prototype from this ... · 2cee0101
      	* lto.h (lto_elf_file_open): Rename prototype from this ...
      	(lto_obj_file_open): ... to this.
      	(lto_elf_file_close): Likewise ...
      	(lto_obj_file_close): ... and likewise.
      	(lto_elf_build_section_table): Likewise ...
      	(lto_obj_build_section_table): ... and likewise.
      	(lto_elf_begin_section): Likewise ...
      	(lto_obj_begin_section): ... and likewise.
      	(lto_elf_append_data): Likewise ...
      	(lto_obj_append_data): ... and likewise.
      	(lto_elf_end_section): Likewise ...
      	(lto_obj_end_section): ... and likewise.
      	* lto.c (lto_file_read): Update references to the above.
      	(lto_wpa_write_files): Likewise.
      	(lto_read_all_file_options): Likewise.
      	(read_cgraph_and_symbols): Likewise.
      	* lto-lang.c (LANG_HOOKS_BEGIN_SECTION): Likewise.
      	(LANG_HOOKS_APPEND_DATA): Likewise.
      	(LANG_HOOKS_END_SECTION): Likewise.
      	* lto-elf.c (lto_elf_file_open): Rename from this ...
      	(lto_obj_file_open): ... to this, updating any references.
      	(lto_elf_file_close): Likewise ...
      	(lto_obj_file_close): ... and likewise.
      	(lto_elf_build_section_table): Likewise ...
      	(lto_obj_build_section_table): ... and likewise.
      	(lto_elf_begin_section): Likewise ...
      	(lto_obj_begin_section): ... and likewise.
      	(lto_elf_append_data): Likewise ...
      	(lto_obj_append_data): ... and likewise.
      	(lto_elf_end_section): Likewise ...
      	(lto_obj_end_section): ... and likewise.
      
      From-SVN: r158718
      Dave Korn committed
    • Daily bump. · b2358c06
      From-SVN: r158717
      GCC Administrator committed
  2. 25 Apr, 2010 12 commits
    • status_cxx200x.xml: Update Threads status. · eba3a8cf
      2010-04-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* doc/xml/manual/status_cxx200x.xml: Update Threads status.
      	* doc/html/manual/status.html: Regenerate.
      
      From-SVN: r158713
      Jonathan Wakely committed
    • Reformat. · 78ba4ec5
      From-SVN: r158712
      H.J. Lu committed
    • c-common.c (flag_isoc1x): New. · 2778d766
      gcc:
      	* c-common.c (flag_isoc1x): New.
      	(flag_isoc99): Update comment.
      	* c-common.h (flag_isoc1x): New.
      	(flag_isoc99): Update comment.
      	* c-cppbuiltin.c (builtin_define_float_constants): Also define
      	__<type>_DECIMAL_DIG__.
      	* c-opts.c (set_std_c1x): New.
      	(c_common_handle_option): Handle -std=c1x and -std=gnu1x.
      	(set_std_c89, set_std_c99): Also set flag_isoc1x to 0.
      	* c.opt (-std=c1x, -std=gnu1x): New options.
      	* doc/cpp.texi: Mention -std=c1x.
      	* doc/cppopts.texi (-std=c1x, -std=gnu1x): Document.
      	* doc/extend.texi: Mention -std=c1x and -std=gnu1x.
      	* doc/invoke.texi (-std=c1x, -std=gnu1x): Document.
      	* doc/standards.texi: Mention C1X.
      	* ginclude/float.h (FLT_DECIMAL_DIG, DBL_DECIMAL_DIG,
      	LDBL_DECIMAL_DIG, FLT_HAS_SUBNORM, DBL_HAS_SUBNORM,
      	LDBL_HAS_SUBNORM, FLT_TRUE_MIN, DBL_TRUE_MIN, LDBL_TRUE_MIN):
      	Define for C1X.
      
      gcc/testsuite:
      	* gcc.dg/c90-float-1.c: Also test that C1X macros are not defined.
      	* gcc.dg/c99-float-1.c: Also test that C1X macros are not defined.
      	* gcc.dg/c1x-float-1.c: New test.
      
      libcpp:
      	* include/cpplib.h (enum c_lang): Add CLK_GNUC1X and CLK_STDC1X.
      	* init.c (lang_defaults): Add entries for new language variants.
      	(cpp_init_builtins): Define __STDC_VERSION__ to 201000L for C1X
      	variants.
      
      From-SVN: r158711
      Joseph Myers committed
    • Scan "lea\[lq\]?\[ \t\]" instead of "lea\[ \t\]". · 045d4002
      2010-04-25  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.target/i386/pr43766.c: Scan "lea\[lq\]?\[ \t\]" instead
      	of "lea\[ \t\]".
      
      From-SVN: r158710
      H.J. Lu committed
    • default_format_denormal_2.f90: Remove XFAIL for FreeBSD. · d64ad42b
      2010-04-25  Steven G. Kargl  <kargl@gcc.gnu.org>
      
         * gfortran.dg/default_format_denormal_2.f90: Remove XFAIL for FreeBSD.
         * gfortran.dg/default_format_denormal_1.f90: ditto
         * gfortran.dg/default_format_2.f90: ditto
      
      From-SVN: r158709
      Steven G. Kargl committed
    • pr43505.f90: Clean up .mod file. · 211b0440
      2010-04-25  Steven G. Kargl  <kargl@gcc.gnu.org>
       
      	 *gfortran.dg/pr43505.f90: Clean up .mod file.
      	 *gfortran.dg/host_assoc_blockdata_1.f90
      	 *gfortran.dg/pr41347.f90
      	 *gfortran.dg/internal_pack_4.f90
      	 *gfortran.dg/proc_decl_23.f90
      	 *gfortran.dg/recursive_check_3.f90
      	 *gfortran.dg/intent_out_3.f90
      	 *gfortran.dg/assignment_2.f90
      	 *gfortran.dg/pr41928.f90
      	 *gfortran.dg/pr42166.f90
      	 *gfortran.dg/private_type_12.f90
      	 *gfortran.dg/graphite/pr42185.f90
      	 *gfortran.dg/graphite/pr42186.f90
      	 *gfortran.dg/graphite/pr40982.f90
      	 *gfortran.dg/graphite/id-2.f90
      	 *gfortran.dg/graphite/id-4.f90
      	 *gfortran.dg/graphite/pr42050.f90
      	 *gfortran.dg/graphite/id-18.f90
      	 *gfortran.dg/graphite/pr42393-1.f90
      	 *gfortran.dg/graphite/pr41924.f90
      	 *gfortran.dg/graphite/pr42393.f90
      	 *gfortran.dg/graphite/pr37980.f90
      	 *gfortran.dg/graphite/pr38953.f90
      	 *gfortran.dg/graphite/pr42180.f90
      	 *gfortran.dg/graphite/pr42181.f90
      	 *gfortran.dg/where_operator_assign_4.f90
      	 *gfortran.dg/select_type_4.f90
      	 *gfortran.dg/redefined_intrinsic_assignment.f90
      	 *gfortran.dg/host_assoc_blockdata_2.f90
      	 *gfortran.dg/lto/pr40725_0.f03
      	 *gfortran.dg/elemental_args_check_2.f90
      	 *gfortran.dg/whole_file_11.f90
      	 *gfortran.dg/private_type_11.f90
      	 *gfortran.dg/vect/vect-gems.f90
      	 *gfortran.dg/vect/fast-math-real8-pr40801.f90
      
      From-SVN: r158708
      Steven G. Kargl committed
    • Scan "lea\[ \t\]" instead of "lea". · 9b41915f
      2010-04-25  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.target/i386/pr43766.c: Scan "lea\[ \t\]" instead of "lea".
      
      From-SVN: r158706
      H.J. Lu committed
    • exp_dbug.ads: Fix outdated description. · b5bba4a6
      	* exp_dbug.ads: Fix outdated description.  Mention link between XVS
      	and XVZ objects.
      	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Set
      	XVZ variable as unit size of XVS type.
      	(maybe_pad_type): Likewise.
      
      From-SVN: r158703
      Eric Botcazou committed
    • trans.c (gnat_to_gnu): Do not use memmove if the array type is bit-packed. · 82d6f532
      	* gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Do not
      	use memmove if the array type is bit-packed.
      
      From-SVN: r158701
      Eric Botcazou committed
    • gmon-sol2.c (_mcleanup): Change format string placeholder from 0x%x to %#x. · 3d416346
      	* config/i386/gmon-sol2.c (_mcleanup): Change format string
      	placeholder from 0x%x to %#x.
      	* config/i386/i386elf.h (ASM_OUTPUT_ASCII): Ditto.
      	* config/i386/i386-interix.h (ASM_OUTPUT_ASCII): Ditto.
      	* config/i386/att.h (ASM_OUTPUT_ASCII): Ditto.
      	* config/i386/sysv4.h (ASM_OUTPUT_ASCII): Ditto.
      	* config/i386/i386.c (ix86_target_string): Ditto.
      	(output_pic_addr_const): Ditto.
      	(print_operand): Ditto.
      
      From-SVN: r158699
      Uros Bizjak committed
    • combine.c (find_split_point): Add third argument. · 910ed7dc
      2010-04-25  Paolo Bonzini  <bonzini@gnu.org>
      
      	* combine.c (find_split_point): Add third argument.  Use it
      	to find nested multiply-accumulate instructions.  Adjust calls.
      	(try_combine): Adjust call to find_split_point.
      
      testsuite:
      2010-04-25  Paolo Bonzini  <bonzini@gnu.org>
      
      	* gcc.target/arm/mla-1.c: New test.
      
      From-SVN: r158698
      Paolo Bonzini committed
    • Daily bump. · 16aee0d5
      From-SVN: r158697
      GCC Administrator committed
  3. 24 Apr, 2010 11 commits
  4. 23 Apr, 2010 1 commit