1. 18 Apr, 2012 3 commits
    • linux-common.h: New. · 6acc8a3c
      2012-04-18  Enkovich Ilya  <ilya.enkovich@intel.com>
      
             * config/i386/linux-common.h: New.
      
             * config.gcc: Add i386/linux-common.h before
             all i386/linux.h and i386/linux64.h usages.
      
             * config/i386/gnu-user.h (GNU_USER_TARGET_LINK_SPEC): New.
             (LINK_SPEC): Use GNU_USER_TARGET_LINK_SPEC.
             * config/i386/gnu-user64.h: Likewise.
      
             * config/i386/gnu-user.common.h (GNU_USER_TARGET_CC1_SPEC): New.
             (CC1_SPEC): Use GNU_USER_TARGET_CC1_SPEC.
             (GNU_USER_TARGET_MATHFILE_SPEC): New.
             (ENDFILE_SPEC): Use GNU_USER_TARGET_MATHFILE_SPEC.
      
      From-SVN: r186560
      Enkovich Ilya committed
    • cgraph.c (cgraph_node_name): Remove. · 8f940ee6
      
      	* cgraph.c (cgraph_node_name): Remove.
      	(dump_cgraph_node): Use dump_symtab_base; reformat.
      	* cgraph.h (symtab_node_asm_name, symtab_node_name, dump_symtab,
      	debug_symtab, dump_symtab_node, debug_symtab_node, dump_symtab_base):
      	Declare.
      	(cgraph_node_name, varpool_node_name): Remove.
      	(cgraph_node_asm_name, varpool_node_asm_name,
      	cgraph_node_name, varpool_node_name): New.
      	* tree-pass.h (TODO_dump_cgraph): Rename to ...
      	(TODO_dump_symtab): ... this one.
      	* ipa-cp (pass_ipa_cp): Update.
      	* ia-reference.c (generate_summary, read_write_all_from_decl,
      	propagate, ipa_reference_read_optimization_summary): Update.
      	* cgraphunit.c (cgraph_analyze_functions): Update.
      	(cgraph_optimize): Update.
      	* ipa-ref.c (ipa_dump_references): Update.
      	(ipa_dump_refering): Update.
      	* ipa-inline.c (pass_ipa_inline): Update.
      	* matrix-reorg.c (pass_ipa_matrix_reorg): Update.
      	* ipa.c (pass_ipa_function_visibility,
      	pass_ipa_whole_program_visibility): Update.
      	* tree-sra.c (pass_early_ipa_sra): Update.
      	* symtab.c: Include langhooks.h
      	(symtab_node_asm_name): New.
      	(symtab_node_name): New.
      	(symtab_type_names): New static var.
      	(dump_symtab_base): New.
      	(dump_symtab_node, dump_symtab): New.
      	(debug_symtab_node,  debug_symtab): New.
      	* tree-ssa-structalias.c: Dump symbol table.
      	* pases.c (execute_todo): Handle TODO_dump_symtab instead
      	of TODO_dump_cgraph.
      	* varpoo.c (varpool_node_name): Remove.
      	(dump_varpool_node): Use dump_symtab_base; reformat.
      
      From-SVN: r186559
      Jan Hubicka committed
    • Daily bump. · cc8e7b1f
      From-SVN: r186557
      GCC Administrator committed
  2. 17 Apr, 2012 24 commits
  3. 16 Apr, 2012 13 commits
    • compiler: fix infinite recursion in string constant evaluation. · 2dfc736c
      Fixes compilation of incorrect code:
          const f, g = g, f
          func S() []byte { return []byte(f) }
      
      The problem was already handled for numerical constants.
      
      Part of issue 3186 (go).
      
      From-SVN: r186511
      Ian Lance Taylor committed
    • [multiple changes] · 4a101681
      2012-04-12  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/52864
              * expr.c (gfc_check_vardef_context): Fix assignment check for
              pointer components.
      
      2012-04-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/52864
              * gfortran.dg/pointer_intent_6.f90: New.
      
      From-SVN: r186507
      Tobias Burnus committed
    • re PR fortran/52916 (481.wrf in SPEC CPU 2006 failed to build) · de86e0a5
      2012-04-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/52916
              * gfortran.dg/public_private_module_3.f90: Use dg-additional-sources
              to include public_private_module_4.f90.
              * gfortran.dg/public_private_module_4.f90: Skip this test on all
              targets
      
      From-SVN: r186506
      Tobias Burnus committed
    • genemit.c (gen_exp): Remove ADDRESS handling. · 6b338d0a
      gcc/
      	* genemit.c (gen_exp): Remove ADDRESS handling.
      	* genoutput.c (scan_operands): Likewise.
      	* genpeep.c (match_rtx): Likewise.
      	* genrecog.c (add_to_sequence): Likewise.
      
      From-SVN: r186503
      Richard Sandiford committed
    • install.texi (Specific, *-ibm-aix*): Update assembler bug status. · a0bc8f9c
              * doc/install.texi (Specific, *-ibm-aix*): Update assembler bug
              status.
      
      From-SVN: r186502
      David Edelsohn committed
    • tree-sra.c (build_ref_for_model): Create COMPONENT_REFs only for bit-fields. · 36e57e16
      2012-04-16  Martin Jambor  <mjambor@suse.cz>
      
      	* tree-sra.c (build_ref_for_model): Create COMPONENT_REFs only for
      	bit-fields.
      
      From-SVN: r186501
      Martin Jambor committed
    • re PR c++/49152 (pretty printer cannot handle iterators and other complex expressions) · 051b40ff
      /cp
      2012-04-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/49152
      	* call.c (op_error): Print types; when flag_diagnostics_show_caret
      	is false print expressions too.
      	(op_error_string): Add.
      
      /testsuite
      2012-04-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/49152
      	* g++.dg/diagnostic/operator1.C: New.
      	* g++.dg/ext/label5.C: Adjust.
      	* g++.dg/ext/va-arg1.C: Likewise.
      	* g++.dg/other/error20.C: Likewise.
      	* g++.dg/other/error20.C: Likewise.
      	* g++.dg/other/error16.C: Likewise.
      	* g++.dg/other/error10.C: Likewise.
      	* g++.dg/parse/error30.C: Likewise.
      	* g++.dg/cpp0x/lambda/lambda-err1.C: Likewise.
      
      From-SVN: r186499
      Paolo Carlini committed
    • re PR target/51819 (Neon wrong code generation, Error: unsupported alignment for… · d6cb05db
      re PR target/51819 (Neon wrong code generation, Error: unsupported alignment for instruction -- `vst1.32 {d2[0]},[r0:64]')
      
      2012-04-16  Ulrich Weigand  <ulrich.weigand@linaro.org>
      
      	PR target/51819
      	* config/arm/arm.c (arm_print_operand): Fix invalid alignment
      	hints for 'A' operand types.
      
      From-SVN: r186498
      Ulrich Weigand committed
    • Use target_alias in validate_failures.py · 034a3fcd
      	* testsuite-management/validate_failures.py (GetBuildData): Use
      	target_alias.
      
      From-SVN: r186497
      Rainer Orth committed
    • cgraph.h (symtab_node_base): Add next and previous pointers. · 2aae7680
      
      	* cgraph.h (symtab_node_base): Add next and previous pointers.
      	(cgraph_node): Remove next and preivous pointers.
      	(varpool_node): Likewise; remove next/previous GTY marker;
      	it is not type safe.
      	(symtab_node_def): Update GTY marker
      	(x_cgraph_nodes, cgraph_nodes): Remove.
      	(symtab_nodes): New function.
      	(cgraph_order): Rename to ...
      	(symtab_order): ... this one.
      	(symtab_register_node, symtab_unregister_node, symtab_remove_node):
      	Declare.
      	(x_varpool_nodes, varpool_nodes): Remove.
      	(FOR_EACH_STATIC_VARIABLE): Update.
      	(symtab_function_p, symtab_variable_p): New function.
      	(FOR_EACH_VARIABLE): Update.
      	(varpool_first_variable, varpool_next_variable): New functions.
      	(FOR_EACH_VARIABLE): Update.
      	(cgraph_first_defined_function): Update.
      	(cgraph_next_defined_function, cgraph_next_defined_function): Update.
      	(FOR_EACH_DEFINED_FUNCTION, FOR_EACH_FUNCTION): Update.
      	(cgraph_first_function, cgraph_next_function): New.
      	(FOR_EACH_FUNCTION): Update.
      	(cgraph_first_function_with_gimple_body,
      	cgraph_next_function_with_gimple_body): Update.
      	* symtab.c: New file.
      	* cgraph.c: Update copyright dates.
      	(x_cgraph_nodes, cgraph_order): Remove.
      	(NEXT_FREE_NODE): Update.
      	(SET_NEXT_FREE_NODE): New.
      	(cgraph_create_node_1): Remove common code.
      	(cgraph_create_node); Remove common code; call symtab_register_node.
      	(cgraph_remove_node): Remove common code; call symtab_unregister-node.
      	(cgraph_add_asm_node); update.
      	(cgraph_clone_node): Register new node.
      	* cgraphunit.c (process_function_and_variable_attributes): Update.
      	(cgraph_analyze_functions): Update.
      	(cgraph_analyze_functions): Update.
      	(cgraph_output_in_order): Update.
      	* lto-cgraph.c (input_node, input_varpool_node, input_cgraph_1): Update.
      	* ipa-inline.c (recursive_inlining); update.
      	* lto-streamer-in.c (lto_input_toplevel_asms); Update.
      	* ipa.c (cgraph_remove_unreachable_nodes): Update.
      	* Makefile.in: Add symtab.o
      	* varpool.c (x_varpool_nodes): Remove
      	(varpool_node): Remove common code; call symtab_register_node.
      	(varpool_remove_node); Remove common code; call symtab_unregister_node.
      
      From-SVN: r186496
      Jan Hubicka committed
    • re PR c++/51148 ([C++0x] Unexpanded template param packs wrongly accepted in… · 1c4010c6
      re PR c++/51148 ([C++0x] Unexpanded template param packs wrongly accepted in friend class declarations)
      
      	PR c++/51148
      	* friend.c (make_friend_class): Call check_for_bare_parameter_packs.
      
      From-SVN: r186495
      Jason Merrill committed
    • re PR c/52977 (internal compiler error: Segmentation fault with `-x c-header' or… · ac9a074c
      re PR c/52977 (internal compiler error: Segmentation fault with `-x c-header' or `-x cxx-header' option)
      
      2012-04-16  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/52977
      	* tree.h (VECTOR_CST_NELTS): Adjust.
      	(struct tree_vector): Add explicit length field.
      	(make_vector_stat): Declare.
      	(make_vector): Define.
      	* tree.c (make_vector_stat): New function.
      	(build_vector_stat): Use it.
      	* tree-streamer-in.c (streamer_alloc_tree): Likewise.
      
      From-SVN: r186494
      Richard Guenther committed
    • re PR tree-optimization/52976 (Revision 186384 breaks the polyhedron tests… · fba62120
      re PR tree-optimization/52976 (Revision 186384 breaks the polyhedron tests aermod.f90 and doduc.f90 at -O3 -ffast-math)
      
      2012-04-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	PR tree-optimization/52976
      	* tree-ssa-reassoc.c (add_to_ops_vec_max_rank): New function.
      	(undistribute_ops_list): Ops with repeat counts aren't eligible for
      	undistribution.
      	(attempt_builtin_powi): Call add_to_ops_vec_max_rank.
      
      From-SVN: r186493
      Bill Schmidt committed