Skip to content
Snippets Groups Projects
  1. Jun 13, 2005
    • 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
  2. 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
    • Steven G. Kargl's avatar
      PR libfortran/PR21797 · bf0606af
      Steven G. Kargl authored
      
      2005-06-12  Steven G. Kargl <kargls@comcast.net>
      	    Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR libfortran/PR21797
      	* m4/cexp.m4 (csqrt`'q):  Add type qualifyer to
      	sqrt and fabs.
      	* generated/exp_c4.c:  Regenerated.
      
      Co-Authored-By: default avatarThomas Koenig <Thomas.Koenig@online.de>
      
      From-SVN: r100864
      bf0606af
    • Thomas Koenig's avatar
      re PR libfortran/21333 ([4.0 only] in_pack / in_unpack alignment issues) · 181786a7
      Thomas Koenig authored
      2005-06-12  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR libfortran/21333
      	* Changelog: Really update.
      
      From-SVN: r100862
      181786a7
    • Francois-Xavier Coudert's avatar
      re PR libfortran/19155 ([4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR)) · 57504df9
      Francois-Xavier Coudert authored
      	PR libfortran/19155
      	* io/read.c (read_f): Take care of spaces after initial sign.
      	* gfortran.dg/pr19155.f: Add test.
      
      From-SVN: r100861
      57504df9
    • Per Bothner's avatar
      * class.c (inherits_from_p): Do load_class if needed. · d35310e3
      Per Bothner authored
      From-SVN: r100860
      d35310e3
    • Tobias Schlüter's avatar
      * gfortran.dg/forall_1.f90: XFAILed. · 16d4ddd1
      Tobias Schlüter authored
      From-SVN: r100859
      16d4ddd1
    • Tobias Schlüter's avatar
      Correct previously checked-in testcase. · 6aa4f58b
      Tobias Schlüter authored
      From-SVN: r100858
      6aa4f58b
    • Tobias Schlüter's avatar
      trans-expr.c (gfc_conv_variable): POINTER results don't need f2c calling conventions. · b49a3de7
      Tobias Schlüter authored
      fortran/
      	* trans-expr.c (gfc_conv_variable): POINTER results don't need f2c
      	calling conventions.  Look at sym instead of sym->result.
      	* trans-types.c (gfc_sym_type): Remove workaround for frontend bug.
      	Remove condition which is always false with workaround removed.
      	(gfc_return_by_reference): Always look at sym, never at sym->result.
      testsuite/
      	* gfortran.dg/f2c_7.f90: New test.
      
      From-SVN: r100857
      b49a3de7
    • Kazu Hirata's avatar
      cgraphunit.c, [...]: Fix comment typos. · 607fb860
      Kazu Hirata authored
      	* cgraphunit.c, tree-ssa-loop-ivopts.c,
      	tree-ssa-structalias.c, tree-vectorizer.c, tree-vectorizer.h,
      	config/sparc/sparc.c: Fix comment typos.
      
      From-SVN: r100856
      607fb860
    • Richard Earnshaw's avatar
      * arm/ieee754-df.s (aeabi_dcmpeq, aeabi_dcmplt, aeabi_dcmple) · f825b328
      Richard Earnshaw authored
      	(aeabi_dcmpge, aeabi_dcmpgt): Maintain 8-byte stack alignment.
      	* arm/ieee754-sf.s (aeabi_l2f, aeabi_fcmpeq, aeabi_fcmplt)
      	(aeabi_fcmple, aeabi_fcmpge, aeabi_fcmpgt): Likewise.
      
      From-SVN: r100854
      f825b328
    • James A. Morrison's avatar
      re PR tree-optimization/14796 ([tree-ssa] combine two shifts into one) · e3d025cb
      James A. Morrison authored
      2005-06-12  James A. Morrison  <phython@gcc.gnu.org>
      
              PR tree-optimization/14796
              * fold-const.c (fold_binary): Transform (A >> C) << C into
              one BIT_AND_EXPR.
              <shift>: Transform (A OP c1) OP c2 into A OP (c1 + c2).
      
      From-SVN: r100853
      e3d025cb
    • Geoffrey Keating's avatar
      predicates.md (reg_or_arith_cint_operand): Delete. · 4ae234b0
      Geoffrey Keating authored
      	* config/rs6000/predicates.md (reg_or_arith_cint_operand): Delete.
      	(reg_or_add_cint_operand): Rename from reg_or_add_cint64_operand.
      	Handle SImode.
      	(reg_or_sub_cint_operand): Likewise.
      	(mask_operand): Handle DImode.
      	(mask64_operand): Delete.
      	(and64_operand): Delete.
      	* config/rs6000/rs6000.c (num_insns_constant): Use mask_operand
      	instead of mask64_operand.
      	(print_operand): Likewise.
      	(rs6000_rtx_costs): Use mask_operand and reg_or_add_cint_operand and
      	reg_or_sub_cint_operand instead of *64_* variants.
      	* config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Use mask_operand
      	instead of mask64_operand.
      	* config/rs6000/rs6000.md: Use mask_operand and and_operand instead
      	of *64_* variants.
      	(FP): New.
      	(add_op2): Delete.
      	(add<mode>3): Use reg_or_add_cint_operand.
      	(sub_op2): Delete.
      	(sub<mode>3): Use reg_or_sub_cint_operand.
      	(udiv<mode>3, div<mode>3, div<mode>3_no_mq, mod<mode>3,
      	mov<mode>_internal2, mov<mode>, cmp<mode>, cmp<mode>,
      	cmp<mode>_internal1, indirect_jump<mode>, ctr<mode>,
      	ctr<mode>_internal1, ctr<mode>_internal2, ctr<mode>_internal5,
      	ctr<mode>_internal6, save_fpregs_<mode>, return_internal_<mode>,
      	return_and_restore_fpregs_<mode>, eh_set_lr_<mode>,
      	various unnamed patterns): New.
      	(udivsi3, divsi3, divsi3_no_mq, modsi3, movsi_internal2, movsi,
      	cmpsi, cmpsi_internal1, indirect_jumpsi, ctrsi, ctrsi_internal1,
      	ctrsi_internal2, ctrsi_internal5, ctrsi_internal6, save_fpregs_si,
      	return_internal_si, return_and_restore_fpregs_si, eh_set_lr_si,
      	udivdi3, divdi3, divdi3_no_mq, moddi3, movdi_internal2, movdi,
      	cmpdi, cmpdi_internal1, indirect_jumpdi, ctrdi, ctrdi_internal1,
      	ctrdi_internal2, ctrdi_internal5, ctrdi_internal6, save_fpregs_di,
      	return_internal_di, return_and_restore_fpregs_di, eh_set_lr_di,
      	movhi, movqi, cmpsf, cmpdf, cmptf, various unnamed patterns):
      	Delete.
      
      From-SVN: r100852
      4ae234b0
    • Daniel Berlin's avatar
      Fix PR tree-optimization/22005 Fix PR tree-optimization/22025 · 58b82d2b
      Daniel Berlin authored
      2005-06-11  Daniel Berlin  <dberlin@dberlin.org>
      
      	Fix PR tree-optimization/22005
      	Fix PR tree-optimization/22025
      
      	* tree-ssa-structalias.c (struct variable_info): Add has_union
      	member.
      	(create_variable_info_for):  Mark variables containing unions.
      	Don't sort the field stack if notokay is true.
      	(find_what_p_points_to): Convert variables containing unions back
      	to their SFT's if necessary.
      
      From-SVN: r100851
      58b82d2b
    • GCC Administrator's avatar
      Daily bump. · e71b548a
      GCC Administrator authored
      [[Split portion of a mixed commit.]]
      
      From-SVN: r100849.2
      e71b548a
  3. Jun 11, 2005
    • Steven G. Kargl's avatar
      re PR fortran/17792 ([4.0 only] deallocate does not return stat) · 94631c1e
      Steven G. Kargl authored
      	PR fortran/17792
      	PR fortran/21375
      	* gfortran.dg/deallocate_statO.f90:  New test.
      
      From-SVN: r100847
      94631c1e
    • Gabriel Dos Reis's avatar
      rtl.h (to_rtx_code): Remove. · 411e6c1e
      Gabriel Dos Reis authored
              * rtl.h (to_rtx_code): Remove.
              * machmode.h (to_machine_mode): Likewise.
              * read-rtl.c (apply_mode_macro): Replace to_machine_mode with
              explicit cast.
              (apply_mode_maps): Likewise.
              (read_rtx_1): Likewise.
              (apply_code_macro): Replace to to_rtx_code with explicit cast.
              (check_code_macro): Likewise.
              (read_rtx_1): Likewise.
      
      From-SVN: r100846
      411e6c1e
    • Steven G. Kargl's avatar
      re PR fortran/17792 ([4.0 only] deallocate does not return stat) · 364667a1
      Steven G. Kargl authored
      PR fortran/17792
      PR fortran/21375
      * trans-array.c (gfc_array_deallocate): pstat is new argument
        (gfc_array_allocate): update gfc_array_deallocate() call.
        (gfc_trans_deferred_array): ditto.
      * trans-array.h: update gfc_array_deallocate() prototype.
      * trans-decl.c (gfc_build_builtin_function_decls): update declaration
      * trans-stmt.c (gfc_trans_deallocate): Implement STAT= feature.
      
      From-SVN: r100845
      364667a1
    • Gabriel Dos Reis's avatar
      c-typeck.c (convert_for_assignment): Avoid cheking OPT_Wc___compat, as it is always true. · c6bdf92e
      Gabriel Dos Reis authored
              * c-typeck.c (convert_for_assignment): Avoid cheking
              OPT_Wc___compat, as it is always true.
      
      From-SVN: r100843
      c6bdf92e
    • Thomas Koenig's avatar
      [multiple changes] · 39328081
      Thomas Koenig authored
      2005-06-11  Thomas Koenig  <Thomas.Koenig@onlinde.de>
      
      	PR libfortran/21333
      	* Makefile.am: Add in_pack_c4.c, in_pack_c8.c, in_unpack_c4.c
      	and in_unpack_c8.c.
      	* Makefile.in: Regenerate.
      	* libgfortran.h:  Declare internal_pack_c4, internal_pack_c8,
      	internal_unpack_c4 and internal_unpack_c8.
      	* m4/in_pack.m4: Use rtype_ccode insteald of rtype_kind
      	in function name.
      	Use sizeof (rtype_name) as size for memory allocation.
      	* m4/in_unpack.m4: Use rtype_ccode insteald of rtype_kind
      	in function name.
      	Use sizeof (rtype_name) for calculation of sizes for memcpy.
      	* runtime/in_pack_generic.c:  For real, integer and logical
      	call internal_pack_4 if size==4 and internal_pack_8 if
      	size==8.
      	For complex, call internal_pack_c4 if size==8 and
      	internal_pack_c8 if size==16.
      	* runtime/in_unpack_generic.c: For real, integer and logical
              call internal_unpack_4 if size==4 and internal_unpack_8 if
              size==8.
              For complex, call internal_unpack_c4 if size==8 and
              internal_unpack_c8 if size==16.
      	* generated/in_pack_i4.c:  Regenerated.
      	* generated/in_pack_i8.c:  Regenerated.
      	* generated/in_unpack_i4.c:  Regenerated.
      	* generated/in_unpack_i8.c:  Regenerated.
      	* generated/in_pack_c4.c:  New file.
      	* generated/in_pack_c8.c:  New file.
      	* generated/in_unpack_c4.c:  New file.
      	* generated/in_unpack_c8.c:  New file.
      
      2005-05-11  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	* gfortran.fortran-torture/execute/in-pack.f90:  New test.
      
      From-SVN: r100842
      39328081
    • David Edelsohn's avatar
      * config/rs6000/rs6000.md (eq<mode>_compare): Restrict to Pmode. · 1fa5c709
      David Edelsohn authored
      From-SVN: r100841
      1fa5c709
    • Daniel Berlin's avatar
      lambda-code.c (replace_uses_equiv_to_x_with_y): Verify the step is an... · e4d693c1
      Daniel Berlin authored
      lambda-code.c (replace_uses_equiv_to_x_with_y): Verify the step is an INTEGER_CST before calling int_cst_value.
      
      2005-06-11  Daniel Berlin  <dberlin@dberlin.org>
      
      	* lambda-code.c (replace_uses_equiv_to_x_with_y): Verify the step
      	is an INTEGER_CST before calling int_cst_value.
      
      From-SVN: r100839
      e4d693c1
    • GCC Administrator's avatar
      Daily bump. · e8f92731
      GCC Administrator authored
      [[Split portion of a mixed commit.]]
      
      From-SVN: r100836.2
      e8f92731
  4. Jun 10, 2005
    • Uros Bizjak's avatar
      re PR target/21981 ([4.0 only] __m64 return value should be returned in %mm0) · 74c4a88a
      Uros Bizjak authored
      	PR target/21981
      	* config/i386/i386.c (ix86_function_value_regno_p): Return true
      	for FIRST_MMX_REG if TARGET_MMX.
      	(ix86_return_in_memory): Return 1 for MMX/3dNow vectors. Delete
      	wrong comment.
      	(ix86_struct_value_rtx): Emit warning for MMX ABI violations.
      	(ix86_value_regno): Return FIRST_MMX_REG for MMX vector modes.
      
      From-SVN: r100832
      74c4a88a
    • Daniel Berlin's avatar
      lambda-code.c (replace_uses_equiv_to_x_with_y): Check step and access function... · c45af542
      Daniel Berlin authored
      lambda-code.c (replace_uses_equiv_to_x_with_y): Check step and access function against chrec_dont_know.
      
      
      2005-06-10  Daniel Berlin  <dberlin@dberlin.org>
      
      	* lambda-code.c (replace_uses_equiv_to_x_with_y): Check step
      	and access function against chrec_dont_know.
      
      From-SVN: r100831
      c45af542
    • Daniel Berlin's avatar
      lambda-code.c (replace_uses_of_x_with_y): Renamed and rewritten slightly. · 668c9ad1
      Daniel Berlin authored
      2005-06-10  Daniel Berlin  <dberlin@dberlin.org>
      
      	* lambda-code.c (replace_uses_of_x_with_y): Renamed and rewritten
              slightly.
      	(exit_phi_for_loop_p): New function.
      	(can_put_in_inner_loop): Ditto.
      	(can_convert_to_perfect_nest): Ditto.
      	(perfect_nestify): Create iv with right type.
      	Rewrite statements in correct order.
      
      From-SVN: r100827
      668c9ad1
    • Keith Besaw's avatar
      tree-ssa-alias.c (new_type_alias): Use existing type tag if VAR has just one... · 51540eba
      Keith Besaw authored
      tree-ssa-alias.c (new_type_alias): Use existing type tag if VAR has just one in its may_aliases list.
      
      2005-06-10  Keith Besaw  <kbesaw@us.ibm.com>
      
              * tree-ssa-alias.c (new_type_alias): Use existing type
              tag if VAR has just one in its may_aliases list.
      
      From-SVN: r100824
      51540eba
    • Aldy Hernandez's avatar
      re PR c++/10611 (operations on vector mode not recognized in C++) · 73042643
      Aldy Hernandez authored
              PR c++/10611
              * cvt.c (build_expr_type_conversion): Same.
              * typeck.c (build_binary_op): Handle vectors.
              (common_type): Same.
              (type_after_usual_arithmetic_conversions): Same.
              * testsuite/g++.dg/conversion/simd2.C: New.
      
      From-SVN: r100823
      73042643
    • Aldy Hernandez's avatar
      re PR middle-end/17961 (ICE for operation on small vector with altivec enabled) · f8103b9f
      Aldy Hernandez authored
      	PR 17961
      	* config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Remove.
      	* config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Remove vector check.
      	* testsuite/gcc.dg/simd-3.c: New.
      
      From-SVN: r100820
      f8103b9f
    • Fariborz Jahanian's avatar
      Use scc_operand predicate for eq:SI in powerpc. · 4a96e5c3
      Fariborz Jahanian authored
      Oked by David Edelsohn.
      
      From-SVN: r100818
      4a96e5c3
    • Dorit Nuzman's avatar
      tree-vect-analyze.c (vect_analyze_data_ref_dependence): DRs whose... · bb748329
      Dorit Nuzman authored
      tree-vect-analyze.c (vect_analyze_data_ref_dependence): DRs whose dependence-distance modulo VF is 0 are recorded in the...
      
              * tree-vect-analyze.c (vect_analyze_data_ref_dependence): DRs whose
              dependence-distance modulo VF is 0 are recorded in the
              SAME_ALIGN_REFs VEC in each DR.
              (vect_enhance_data_refs_alignment): Avoid 80 column overflow. The
              alignment information of DRs that are in the SAME_ALIGN_REFs VEC of the
              DR we want to peel for, is set to 0.
              * tree-vect-transform.c (vect_do_peeling_for_loop_bound): Fix printout.
              * tree-vectorizer.c (destroy_loop_vec_info): Free the SAME_ALIGN_REFs
              VEC.
              * tree-vectorizer.h (dr_p): New type. Defined to use the VEC API.
              (_stmt_vec_info): Added new field same_align_refs.
              (STMT_VINFO_SAME_ALIGN_REFS): New macro.
      
      From-SVN: r100817
      bb748329
    • Nathan Sidwell's avatar
      * vec.h (VEC_safe_grow): Append MEM_STAT_INFO. · cdd5a1be
      Nathan Sidwell authored
      From-SVN: r100816
      cdd5a1be
    • Alan Modra's avatar
      linux.h (NO_PROFILE_COUNTERS): Define. · 71625f3d
      Alan Modra authored
      	* config/rs6000/linux.h (NO_PROFILE_COUNTERS): Define.
      	* config/rs6000/linux64.h (NO_PROFILE_COUNTERS): Define as 1.
      	* config/rs6000/rs6000.c (output_function_profiler): Obey
      	NO_PROFILE_COUNTERS.  Handle TARGET_SECURE_PLT.  Use "bcl 20,31"
      	for -fPIC.  Delete save_lr and substitute its value into strings.
      
      From-SVN: r100814
      71625f3d
    • Dale Johannesen's avatar
      i386.c (optimization_options): Make -fno-math-errno the default on Darwin. · 2e3f0db6
      Dale Johannesen authored
      2005-06-09  Dale Johannesen  <dalej@apple.com>
      
              * config/i386/i386.c (optimization_options):  Make -fno-math-errno
              the default on Darwin.
              * config/rs6000/rs6000.c (optimization_options):  Ditto.
              * doc/invoke.texi (-fno-math-errno): Document.
      
      2005-06-09  Dale Johannesen  <dalej@apple.com>
      
              * config/rs6000/rs6000.c (TARGET_INSN_VALID_WITHIN_DOLOOP):
              Change to TARGET_INVALID_WITHIN_DOLOOP.
      
      From-SVN: r100813
      2e3f0db6
Loading