Skip to content
Snippets Groups Projects
  1. Jun 14, 2005
  2. Jun 13, 2005
    • Jeff Law's avatar
      tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): No longer simplify DIV,... · a513fe88
      Jeff Law authored
      tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): No longer simplify DIV, MOD or ABS expressions using VRP information.
      
              * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): No longer
              simplify DIV, MOD or ABS expressions using VRP information.
              Remove WALK_DATA parameter.  Prototype and all callers updated.
              (eliminate_redundant_computations): Remove WALK_DATA parameter.
              Prototype and all callers updated.
              (optimize_stmt): WALK_DATA parameter is now unused.
      
              * tree-vrp.c (local_fold): New function.  Like fold, but
              strips useless type conversions in the result.
              (simplify_using_ranges): New function, largely cribbed from
              tree-ssa-dom.c::simplify_rhs_and_lookup_avail_expr.
              (vrp_finalize): Call simplify_using_ranges.
      
              * gcc.dg/tree-ssa/20030807-10.c: VRP is now expected to
              perform the desired transformations.
              * gcc.dg/tree-ssa/20030806-6.c: Similarly.
              * gcc.dg/tree-ssa/20040514-2.c: Similarly.
      
      From-SVN: r100909
      a513fe88
    • Thomas Koenig's avatar
      re PR fortran/21594 ([4.0 only] FAIL: gfortran.dg/eoshift.f90 -O0 execution test) · 2b5554f3
      Thomas Koenig authored
      2005-06-12  Thomas Koenig  <Thomas.Koenig@online.de>
      
              PR libfortran/21594
              * intrinsics/eoshift0.c:  Add prototype for eoshift0.
              * intrinsics/eoshift2.c:  Add prototype for eoshift2.
      
      From-SVN: r100907
      2b5554f3
    • Mark Mitchell's avatar
      x86-64.h (ASM_SPEC): Explicitly pass --64 to the assembler in 64-bit mode. · 9b1f9228
      Mark Mitchell authored
      	* config/i386/x86-64.h (ASM_SPEC): Explicitly pass --64 to the
      	assembler in 64-bit mode.
      
      From-SVN: r100905
      9b1f9228
    • Jim Huang's avatar
      re PR libgcj/22036 (libjava/jni.cc compilation fix in cvs 2005-06-12) · a61d70b8
      Jim Huang authored
      2005-06-13  Jim Huang  <jserv@kaffe.org>
      
      	PR libgcj/22036:
      	* jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
      	(_Jv_JNI_NewObject): Likewise.
      
      From-SVN: r100897
      a61d70b8
    • Per Bothner's avatar
      expr.c (int highest_label_pc_this_method, [...]): New globals. · 885beb81
      Per Bothner authored
      	* expr.c (int highest_label_pc_this_method,
      	start_label_pc_this_method): New globals.
      	(lookup_label): Add start_label_pc_this_method to pc for label, and
      	update highest_label_pc_this_method.  This prevents conflicts between
      	labels from different methods.
      	* java-tree.h: Declare new globals.
      	* jcf-parse.c (parse_class_file): If needed bump
      	start_label_pc_this_method and reset highest_label_pc_this_method.
      
      From-SVN: r100896
      885beb81
    • Tom Tromey's avatar
      re PR java/21844 (miscompilation of LinkedHashMap) · a1b6a591
      Tom Tromey authored
      	PR java/21844:
      	* testsuite/libjava.lang/pr21844.java: New file.
      	* testsuite/libjava.lang/pr21844.out: New file.
      
      From-SVN: r100894
      a1b6a591
    • Tom Tromey's avatar
      re PR java/21844 (miscompilation of LinkedHashMap) · 924b2450
      Tom Tromey authored
      	PR java/21844:
      	* parse.y (nested_field_access_p): Handle case where outer field
      	is inherited by enclosing class.
      
      From-SVN: r100893
      924b2450
    • Richard Sandiford's avatar
      * MAINTAINERS: Update my email address. · ab99519a
      Richard Sandiford authored
      From-SVN: r100891
      ab99519a
    • Tobias Schlüter's avatar
      re PR fortran/22038 (Forall with mask broken) · a8e12e4d
      Tobias Schlüter authored
      fortran/
      2005-06-13  Jakub Jelinek  <jakub@redhat.com>
      
      	PR fortran/22038
      	* trans-stmt.c (gfc_trans_forall_loop): Only increment maskindex
      	in the innermost loop.
      
      testsuite/
      2005-06-13  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
      
      	PR fortran/22038
      	* gfortran.dg/forall_1.f90: Un-XFAIL.
      
      From-SVN: r100887
      a8e12e4d
    • Nathan Sidwell's avatar
      re PR c++/20789 (ICE with incomplete type in template) · 8fe4d24b
      Nathan Sidwell authored
      cp:
      	PR c++/20789
      	* decl.c (cp_finish_decl): Clear runtime runtime initialization if
      	in-class decl's initializer is bad.
      
      	PR c++/21929
      	* parser.c (struct cp_parser): Document that scope could be
      	error_mark.
      	(cp_parser_diagnose_invalid_type_name): Cope with error_mark for
      	scope.
      	(cp_parser_nested_name_specifier): Return NULL_TREE on error.
      	(cp_parser_postfix_expression): Deal with null or error_mark
      	scope.
      	(cp_parser_elaborated_type_specifier): Adjust
      	cp_parser_nested_name_specifier call.
      
      	* parser (cp_parser_skip_to_end_of_block_or_statement): Cleanup.
      testsuite:
      	PR c++/21929
      	* g++.dg/parse/crash26.C: New.
      
      	PR c++/20789
      	* g++.dg/init/member1.C: New.
      
      From-SVN: r100880
      8fe4d24b
    • David Edelsohn's avatar
      Revert scc_operand patch. · 56fc483e
      David Edelsohn authored
      	* config/rs6000/predicates.md (scc_operand): Delete.
      	* config/rs6000/rs6000.md (scc_operand): Change to scc_eq_operand.
      
      From-SVN: r100879
      56fc483e
    • Jakub Jelinek's avatar
      trans-expr.c (gfc_conv_function_call): Return int instead of void. · dda895f9
      Jakub Jelinek authored
      	* trans-expr.c (gfc_conv_function_call): Return int instead of
      	void.  Use a local variable for has_alternate_specifier and
      	return it.  Avoid modification of function type's return value
      	in place, since it may be shared.
      	* trans.h (has_alternate_specifier): Remove.
      	(gfc_conv_function_call): Change return type.
      	* trans-stmt.c (has_alternate_specifier): Remove.
      	(gfc_trans_call): Add a local has_alternate_specifier variable,
      	set it from gfc_conv_function_call return value.
      
      	* gfortran.dg/altreturn_1.f90: New test.
      
      From-SVN: r100878
      dda895f9
    • Zdenek Dvorak's avatar
      re PR middle-end/21985 (miscompiled or wrong code snippet?) · adacecf1
      Zdenek Dvorak authored
      	PR middle-end/21985
      	* fold-const.c (split_address_to_core_and_offset): Always return
      	the address of the base object.
      
      	* gcc.dg/tree-ssa/pr21985.c: New test.
      
      From-SVN: r100877
      adacecf1
    • Rafael Ávila de Espíndola's avatar
      treetree.c (tree_code_get_expression): Call build_function_call_expr to build function calls. · 75d93ef7
      Rafael Ávila de Espíndola authored
       2005-06-12  Rafael ?vila de Esp?ndola   <rafael.espindola@gmail.com>
      
               * treetree.c (tree_code_get_expression): Call build_function_call_expr
      	to build function calls.
      
      From-SVN: r100876
      75d93ef7
    • Bernd Schmidt's avatar
      * doc/invoke.texi (Blackfin Options): Document -mlong-calls. · b6877196
      Bernd Schmidt authored
      From-SVN: r100875
      b6877196
    • Zack Weinberg's avatar
      top level: · f610dd5f
      Zack Weinberg authored
      	* depcomp: Update from automake CVS.  Add 'ia64hp' stanza.
      	In 'cpp' stanza, support '#line' as well as '# '.
      config:
      	* depstand.m4, lead-dot.m4: New files.
      libcpp:
      	* configure.ac: Invoke ZW_CREATE_DEPDIR and
      	ZW_PROG_COMPILER_DEPENDENCIES.
      	* aclocal.m4, configure: Regenerate.
      	* Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.base, COMPILE):
      	New variables.
      	(distclean): Clean up $(DEPDIR) and its contents.
      	(.c.o): Use $(COMPILE).
      	Include $(DEPDIR)/*.Po for most object->header dependencies.
      
      From-SVN: r100874
      f610dd5f
    • Richard Henderson's avatar
      trans-array.c (gfc_conv_descriptor_data_get): Rename from gfc_conv_descriptor_data. · 4c73896d
      Richard Henderson authored
              * trans-array.c (gfc_conv_descriptor_data_get): Rename from
              gfc_conv_descriptor_data.  Cast the result to the DATAPTR type.
              (gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr): New.
              (gfc_trans_allocate_array_storage): Use them.
              (gfc_array_allocate, gfc_array_deallocate): Likewise.
              (gfc_trans_dummy_array_bias, gfc_conv_expr_descriptor): Likewise.
              (gfc_trans_deferred_array): Likewise.
              * trans-expr.c (gfc_conv_function_call): Likewise.
              (gfc_trans_subcomponent_assign): Likewise.
              (gfc_trans_pointer_assignment): Likewise.
              * trans-intrinsic.c (gfc_conv_allocated): Likewise.
              * trans-types.c (gfc_array_descriptor_base): New.
              (gfc_get_element_type): Use GFC_TYPE_ARRAY_DATAPTR_TYPE.
              (gfc_get_array_descriptor_base): Break out from ...
              (gfc_get_array_type_bounds): ... here.  Create type variants.
              * trans-array.h (gfc_conv_descriptor_data_get): Declare.
              (gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr): Declare.
      
      From-SVN: r100872
      4c73896d
    • Richard Henderson's avatar
      New test. · 9204496d
      Richard Henderson authored
      From-SVN: r100871
      9204496d
    • Richard Henderson's avatar
      re PR tree-optimization/21994 (complex throwing functions cause ICE) · 5d6b3bba
      Richard Henderson authored
              PR tree-opt/21994
              * tree-complex.c (update_complex_components_on_edge): New.
              (update_parameter_components): Use it.
              (update_phi_components): Likewise.
              (expand_complex_move): Likewise for is_ctrl_altering_stmt.
      
      From-SVN: r100870
      5d6b3bba
    • James A. Morrison's avatar
      re PR tree-optimization/14796 ([tree-ssa] combine two shifts into one) · a165e746
      James A. Morrison authored
      2005-06-12  James A. Morrison  <phython@gcc.gnu.org>
      
              PR tree-optimization/14796
              * fold-const (fold_binary): Transform (X << C) >> C into X & (-1>>C)
              for unsigned types.
      
      From-SVN: r100869
      a165e746
    • GCC Administrator's avatar
      Daily bump. · 61e58d36
      GCC Administrator authored
      [[Split portion of a mixed commit.]]
      
      From-SVN: r100867.2
      61e58d36
  3. Jun 12, 2005
    • Roger Sayle's avatar
      re PR c++/21930 (pretty printer confusion) · da5839d6
      Roger Sayle authored
      	PR c++/21930
      	* error.c (dump_expr): UNARY_PLUS_EXPR need not handle void types.
      	Treat CONVERT_EXPR identically to NOP_EXPR.
      
      	* g++.dg/other/error10.C: New test case.
      
      From-SVN: r100865
      da5839d6
Loading