1. 12 Dec, 2005 19 commits
  2. 11 Dec, 2005 11 commits
    • tree-ssa-structalias.c (process_constraint): Remove code to transform addressofs into scalar. · 4ee00913
      2005-12-11  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-ssa-structalias.c (process_constraint): Remove code to
      	transform addressofs into scalar.
      	(create_variable_info_for): In whole-program IPA, globals don't
      	point to ANYTHING by default.
      
      2005-12-11  Daniel Berlin  <dberlin@dberlin.org>
      
      	* timevar.def (TV_IPA_PTA): New.
      	* tree-pass.h (pass_ipa_pta): New
      	* tree-ssa-structalias.c: Include cgraph.h
      	(in_ipa_mode): New.
      	(predbitmap_obstack): New.
      	(EXECUTE_IF_IN_NONNULL_BITMAP): New.
      	(struct constraint_stats): Add num_edges.
      	(new_var_info): Don't call bitmap_clear.
      	(struct constraint_edge): Update docs.
      	(new_constraint_edge): Remove src param.
      	(struct constraint_graph): Add zero_weight_succs,
      	zero_weight_preds.  Update docs.
      	(constraint_expr_equal): Reformat.
      	(constraint_edge_equal): Update for removal of src.
      	(constraint_edge_less): Ditto.
      	(constraint_edge_vec_find): Ditto.
      	(erase_graph_self_edge): Update for removal of src and and zero
      	weight bitmap.
      	(clear_edges_for_node): Ditto.
      	(add_graph_edge): Ditto.
      	(get_graph_weights): Ditto.
      	(allocate_graph_weights): Ditto.
      	(merge_graph_nodes): Ditto.
      	(int_add_graph_edge): Ditto.
      	(valid_graph_edge): Ditto.
      	(valid_weighted_graph_edge): Ditto.
      	(build_constraint_graph): Ditto.
      	(scc_visit): Ditto.
      	(collapse_nodes): Ditto.
      	(process_unification_queue): Ditto.
      	(topo_visit): Ditto.
      	(solve_graph): Ditto.
      	(do_structure_copy): Ditto.
      	(perform_var_substitution): Ditto.
      	Init and release obstack.
      	(handle_ptr_arith): Try to resolve directly.
      	(find_func_aliases): Don't call update_alias_info here
      	Handle RETURN_EXPR, and CALL_EXPR's in IPA mode.
      	(do_sd_constraint): Add code for propagating faster.
      	Update.
      	(do_ds_constraint): Ditto.
      	(count_num_arguments): New function.
      	(create_function_info_for): Ditto.
      	(create_variable_info_for): Handle FUNCTION_DECL.
      	(intra_create_variable_infos): Use make_constraint_to_anything.
      	(init_alias_vars): Init obstacks here.
      	(need_to_solve): Handle zero weight graph changes.
      	(compute_points_to_sets): Call update_alias_info here.
      	(delete_points_to_sets): Free zero weight preds/succs here.
      	(gate_ipa_pta): New.
      	(ipa_pta_execute): New
      
      2005-12-11  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-ssa-structalias.c (var_anyoffset): Removed.
      	(anyoffset_tree): Ditto.
      	(anyoffset_id): Ditto.
      	(do_deref): Take vector of constraints, no return value.
      	Update to work on vector.		 
      	(get_constraint_for): Ditto.
      	(get_constraint_for_component_ref): Ditto.
      	(do_structure_copy): Ditto.
      	(handle_ptr_arith): Ditto.
      	(find_func_aliases): Ditto.
      	(set_uids_in_ptset): Remove anyoffset handling.
      	(init_base_vars): Ditto.
      
      From-SVN: r108384
      Daniel Berlin committed
    • re PR libobjc/25347 (objc_alignof_type gets the wrong alignment for unions… · 4540a3ad
      re PR libobjc/25347 (objc_alignof_type gets the wrong alignment for unions (objc_sizeof_type is wrong also too))
      
      2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR libobjc/25347
              * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
              but use the struct layout functions.
              (objc_alignof_type): Likewise.
              (objc_layout_structure): Handle _C_UNION_B also.
              (objc_layout_structure_next_member): Likewise.
              (objc_layout_finish_structure): Likewise.
      
      2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR libobjc/25347
              * objc.dg/encode-8.m: New test.
      
      From-SVN: r108379
      Andrew Pinski committed
    • re PR libobjc/25346 (objc_sizeof_type does not handle _Bool at all) · 153b4898
      2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR libobjc/25346
              * objc/objc-api.h (_C_BOOL): New define.
              * encoding.c (objc_sizeof_type): Handle _C_BOOL.
              (objc_alignof_type): Likewise.
              (objc_skip_typespec): Likewise.
      
      2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR libobjc/25346
              * objc.dg/encode-7.m: New test.
      
      From-SVN: r108378
      Andrew Pinski committed
    • re PR c++/25010 (Segmentation fault (infinite recursion in cgraph_clone_inlined_nodes)) · b9136553
      	PR c++/25010
      	* ipa-inline.c (cgraph_clone_inlined_nodes): Do not assume that
      	DECL_EXTERNAL functions have no bodies.  Tidy.
      	PR c++/25010
      	* g++.dg/opt/inline10.C: New test.
      
      From-SVN: r108377
      Mark Mitchell committed
    • re PR c++/25010 (Segmentation fault (infinite recursion in cgraph_clone_inlined_nodes)) · 40805a12
      	PR c++/25010
      	* ipa-inline.c (cgraph_clone_inlined_nodes): Do not assume that
      	DECL_EXTERNAL functions have no bodies.  Tidy.
      	PR c++/25010
      	* g++.dg/opt/inline10.C: New test.
      
      From-SVN: r108375
      Mark Mitchell committed
    • Fixes java/PR9861 · 92aed1cb
      From-SVN: r108374
      Terry Laurenzo committed
    • sso_string_base.h (__sso_string_base<>::_M_compare): Add... · b6105bf2
      2005-12-10  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/sso_string_base.h (__sso_string_base<>::_M_compare):
      	Add, specialized for char and wchar_t to immediately return true
      	when a string is compared to itself.
      	* include/ext/rc_string_base.h (__rc_string_base<>::_M_compare):
      	Likewise, for the same _Rep.
      	* include/ext/vstring.h (compare(const string&)): Use it.
      
      	* include/ext/sso_string_base.h (__sso_string_base<>::_M_destroy):
      	Deallocate passed size + 1.
      	(_M_dispose, _M_reserve): Adjust.
      
      From-SVN: r108372
      Paolo Carlini committed
    • Fix testsuite after this commit: · 42e25796
         2005-12-10  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
      
          PR fortran/25068
          * gfortran.dg/iostat_3.f90: New test.
      
      From-SVN: r108371
      Steven G. Kargl committed
    • Daily bump. · 12c21b1d
      From-SVN: r108368
      GCC Administrator committed
    • substring_equivalence.f90: typo in comment · 0f0d4d3a
      2005-12-11  Bernhard Fischer  <rep.nop@aon.at>
      
      	* gfortran.dg/substring_equivalence.f90: typo in comment
      
      From-SVN: r108362
      Bernhard Fischer committed
  3. 10 Dec, 2005 10 commits
    • Forgot ChangeLog for 108359 · cef578a8
      From-SVN: r108361
      Janne Blomqvist committed
    • re PR fortran/25068 ([4.0/4.1] IOSTAT should be default integer when -std=f95) · 418a78fa
      	PR fortran/25068
      
      	* io.c (resolve_tag): Add correct diagnostic for F2003 feature.
      
      	* gfortran.dg/iostat_3.f90: New test.
      
      From-SVN: r108360
      Francois-Xavier Coudert committed
    • Makefile.am: Enable loop unrolling for matmul. · 74f04a6a
      2005-12-10  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	* Makefile.am: Enable loop unrolling for matmul.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      	* aclocal.m4: Regenerated.
      
      From-SVN: r108359
      Janne Blomqvist committed
    • re PR fortran/23815 (Add -byteswapio flag) · 181c9f4a
      2005-12-10  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR fortran/23815
      	* io.c (top level):  Add convert to io_tag.
      	(resolve_tag):  convert is GFC_STD_GNU.
      	(match_open_element):  Add convert.
      	(gfc_free_open):  Likewise.
      	(gfc_resolve_open):  Likewise.
      	(gfc_free_inquire):  Likewise.
      	(match_inquire_element):  Likewise.
      	* dump-parse-tree.c (gfc_show_code_node):  Add
      	convet for open and inquire.
      	gfortran.h: Add convert to gfc_open and gfc_inquire.
      	* trans-io.c (gfc_trans_open):  Add convert.
      	(gfc_trans_inquire):  Likewise.
      	* ioparm.def:  Add convert to open and inquire.
      	* gfortran.texi:  Document CONVERT.
      
      2005-12-10  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR fortran/23815
      	* io/file_pos.c (unformatted_backspace):  If flags.convert
      	does not equal CONVERT_NATIVE, reverse the record marker.
      	* io/open.c:  Add convert_opt[].
      	(st_open):  If no convert option is given, set CONVERT_NATIVE.
      	If CONVERT_BIG or CONVERT_LITTLE are given, set flags.convert to
      	CONVERT_NATIVE or CONVERT_SWAP (depending on wether we have
      	a big- or little-endian system).
      	* io/transfer.c (unformatted_read):  Remove unused attribute
      	from arguments.
      	If we need to reverse
      	bytes, break up large transfers into a loop.  Split complex
      	numbers into its two parts.
      	(unformatted_write):  Likewise.
      	(us_read):  If flags.convert does not equal CONVERT_NATIVE,
      	reverse the record marker.
      	(next_record_w): Likewise.
      	(reverse_memcpy):  New function.
      	* io/inquire.c (inquire_via_unit):  Implement convert.
      	* io/io.h (top level):  Add enum unit_convert.
      	Add convert to st_parameter_open and st_parameter_inquire.
      	Define IOPARM_OPEN_HAS_CONVERT and IOPARM_INQUIRE_HAS_CONVERT.
      	Increase padding for st_parameter_dt.
      	Declare reverse_memcpy().
      
      2005-12-10  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR fortran/23815
      	* gfortran.dg/unf_io_convert_1.f90:  New test.
      	* gfortran.dg/unf_io_convert_2.f90:  New test.
      	* gfortran.dg/unf_io_convert_3.f90:  New test.
      
      From-SVN: r108358
      Thomas Koenig committed
    • except.c (switch_to_exception_section): Only define if TARGET_UNWIND_INFO is not defined. · 775fe6e3
      	* except.c (switch_to_exception_section): Only define if
      	TARGET_UNWIND_INFO is not defined.
      
      From-SVN: r108355
      Andreas Schwab committed
    • Add myself for write after approval. · f85f5913
      From-SVN: r108354
      Thiemo Seufer committed
    • re PR testsuite/20772 (x86 tests should run on both i?86 and x86_64) · 6bca15bc
      	PR testsuite/20772
      	* g++.dg/abi/mangle24.C, g++.dg/abi/mangle25.C,
      	g++.dg/ext/vector2.C, g++.dg/opt/longbranch2.C, g++.dg/opt/mmx1.C,
      	g++.dg/opt/reg-stack4.C, gcc.dg/20020108-1.c, gcc.dg/20020122-2.c,
      	gcc.dg/20020122-3.c, gcc.dg/20020206-1.c, gcc.dg/20020310-1.c,
      	gcc.dg/20020411-1.c, gcc.dg/20020418-2.c, gcc.dg/20020426-2.c,
      	gcc.dg/20020517-1.c, gcc.dg/20030204-1.c, gcc.dg/20030826-2.c,
      	gcc.dg/20031202-1.c, gcc.dg/format/unnamed-1.c, gcc.dg/setjmp-2.c,
      	gcc.dg/short-compare-1.c, gcc.dg/short-compare-2.c,
      	gcc.dg/tls/opt-1.c, gcc.dg/tls/opt-2.c,
      	gcc.dg/torture/fp-int-convert-float128-timode.c,
      	gcc.dg/torture/fp-int-convert-float128.c,
      	gcc.dg/torture/fp-int-convert-float80-timode.c,
      	gcc.dg/torture/fp-int-convert-float80.c, gcc.dg/unroll-1.c,
      	gcc.target/i386/20030926-1.c: Merge i?86 and x86_64 cases.
      
      	* gcc.dg/tls/opt-1.c: Require effective target fpic.
      
      From-SVN: r108348
      Kaveh R. Ghazi committed
    • darwin.h (HAS_INIT_SECTION): Remove definition. · d82f6b00
      	* config/darwin.h (HAS_INIT_SECTION): Remove definition.
      	(INIT_SECTION_ASM_OP): Restore empty definition from before 2005-12-07.
      
      From-SVN: r108346
      Richard Sandiford committed
    • re PR fortran/22527 (fortran produces mismatch types in comparision with integer… · 1f39323f
      re PR fortran/22527 (fortran produces mismatch types in comparision with integer to logic assignment)
      
      
      	PR fortran/22527
      	* f95-lang.c (gfc_truthvalue_conversion): Use a zero of the correct
      	integer type when building an inequality.
      
      From-SVN: r108341
      Roger Sayle committed