1. 16 Jul, 2007 13 commits
  2. 15 Jul, 2007 13 commits
    • * Rebuilt .class files. · 65d0c788
      From-SVN: r126663
      Tom Tromey committed
    • re PR target/32748 (gfortran.dg/array_constructor_6.f90) · 75ef384e
      2007-07-16  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	PR fortran/32748
      	* trans-decl.c (gfc_build_builtin_function_decls): Remove
      	DECL_IS_MALLOC attribute from internal_realloc, thus reverting
      	part of my 2007-07-03 patch.
      
      From-SVN: r126662
      Janne Blomqvist committed
    • darwin-fallback.c (interpret_libc): Change CR2_REGNO to R_CR2. · fb0671a8
      	* config/rs6000/darwin-fallback.c (interpret_libc): Change
      	CR2_REGNO to R_CR2.
      
      From-SVN: r126661
      Geoffrey Keating committed
    • natGCInfo.cc: Use HAVE_STRERROR_R. · 91f6762e
      2007-07-14  Krister Walfridsson  <cato@df.lth.se>
      
      	* gnu/gcj/util/natGCInfo.cc: Use HAVE_STRERROR_R.
      	* configure.ac: Remove check for strerror, add check for strerror_r.
      	* configure: Regenerate.
      	* include/config.h.in: Regenerate.
      
      From-SVN: r126660
      Krister Walfridsson committed
    • configure.host: arm*-linux-gnu -> arm*-linux*. · 945e62dd
      2007-07-15  Andrew Haley  <aph@redhat.com>
      
              * configure.host: 
              arm*-linux-gnu -> arm*-linux*.
      
      From-SVN: r126659
      Andrew Haley committed
    • unwind-sjlj.c (_Unwind_GetIPInfo): Check for context->fc != NULL before looking in the context. · 759580ed
      2007-07-15  Andrew Haley  <aph@redhat.com>
      
              * unwind-sjlj.c (_Unwind_GetIPInfo): Check for context->fc !=
      	NULL before looking in the context.
      
      From-SVN: r126658
      Andrew Haley committed
    • re PR middle-end/32398 (checking for suffix of object files... configure: error:… · 16c16a24
      re PR middle-end/32398 (checking for suffix of object files... configure: error: cannot compute suffix of f object files: cannot compile)
      
      	PR middle-end/32398
      	PR middle-end/32769
      	* pa-protos.h (pa_eh_return_handler_rtx): Declare.
      	* pa.c (pa_extra_live_on_entry, rp_saved): Declare.
      	(TARGET_EXTRA_LIVE_ON_ENTRY): Define.
      	(pa_output_function_prologue): Use rp_saved and current_function_is_leaf
      	to generate .CALLINFO statement.
      	(hppa_expand_prologue): Set rp_saved.
      	(hppa_expand_epilogue): Use rp_saved.
      	(pa_extra_live_on_entry, pa_eh_return_handler_rtx): New functions.
      	* pa.h (EH_RETURN_HANDLER_RTX): Use pa_eh_return_handler_rtx.
      
      From-SVN: r126657
      John David Anglin committed
    • re PR libfortran/32611 (Print sign of negative zero) · b220e3f9
      2007-07-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libfortran/32611
      	* gfortran.dg/large_real_kind_1.f90: Update test.
      	* gfortran.dg/pr17706.f90: Update test.
      	* gfortran.dg/fmt_zero_digits.f90: Update test.
      	* gfortran.dg/fmt_zero_precision.f90: Update test.
      	* gfortran.dg/real_const_3.f90: Update test.
      
      From-SVN: r126656
      Jerry DeLisle committed
    • re PR libfortran/32611 (Print sign of negative zero) · 68d2e027
      2007-07-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      	    Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR fortran/32611
      	* gfortran.h (gfc_option_t): Add flag_sign_zero field.
      	* lang.opt (-fsign-zero): New option.
      	* trans.h: Rename gfor_fndecl_set_std into gfor_fndecl_set_options.
      	* trans-decl.c (gfc_build_builtin_function_decls): Build the function
      	declaration to pass an array containing the options to be used by the
      	runtime library. (gfc_generate_function_code): Build an array that
      	contains option values to be passed to the runtime library and the call
      	to the function. 
      	* options.c (gfc_init_options): Initialize the flag_sign_zero field.
      	(gfc_handle_option): Handle the -fsign-zero option.
      
      Co-Authored-By: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
      
      From-SVN: r126655
      Jerry DeLisle committed
    • re PR libfortran/32611 (Print sign of negative zero) · 2bb6de3a
      2007-07-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      	    Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR fortran/32611
      	* runtime/compile_options.c (set_std): Remove.
      	(set_options): New function.
      	(init_compile_options): Add initialization for -fsign-zero option.
      	* gfortran.map (GFORTRAN_1.0): Rename _gfortran_set_std into
      	_gfortran_set_options.
      	* libgfortran.h (compile_options_t): Add sign_zero field.
      	* io/write.c (output_float): Use the sign bit of the value to determine
      	if a negative sign should be emitted for zero values.  Do not emit the
      	negative sign for zero if -fno-sign-zero was set during compile.
      
      Co-Authored-By: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
      
      From-SVN: r126654
      Jerry DeLisle committed
    • omega.c (coalesce): Fix memory leak on early exit. · 639d3040
      2007-07-15  Dirk Mueller  <dmueller@suse.de>
      
              * omega.c (coalesce): Fix memory leak on early exit.
              * matrix-reorg.c (check_allocation_function): Likewise.
              * tree-vect-transform.c (vect_get_new_vect_var): free result
              of concat().
              * bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges):
              pass pointer to edge vector
              (partition_hot_cold_basic_blocks): Fix memory leak.
              * collect2.c (prefix_from_string): Free temporary storage.
              * reload1.c (fixup_abnormal_edges): Free sbitmap.
      
      From-SVN: r126653
      Dirk Mueller committed
    • re PR libfortran/32752 (Segfault on WRITE with modified unix_stream structure) · d40150cc
      2007-07-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/32752
      	* io/unix.c (unix_stream): Move buffer pointer adjacent to small_buffer.
      	* io/transfer.c (formatted_transfer_scalar): If stream I/O, set
      	bytes_used to zero. Fix off by one error in calculation of pos and
      	skips. Eliminate duplicate pending_spaces check.
      
      From-SVN: r126652
      Jerry DeLisle committed
    • Daily bump. · 6816e2e1
      From-SVN: r126650
      GCC Administrator committed
  3. 14 Jul, 2007 13 commits
    • re PR fortran/32036 (Multiple evaluation of array index with bounds checking) · a90552d5
      	PR fortran/32036
      
      	* trans-array.c (gfc_conv_array_ref): Only evaluate index once.
      
      	* gfortran.dg/bounds_check_8.f90: New test.
      	* gfortran.dg/do_iterator_2.f90: Make code legal Fortran.
      
      From-SVN: r126647
      Francois-Xavier Coudert committed
    • re PR fortran/32357 (MVBITS gives wrong-code on big-endian with -fdefault-integer-8) · 37058415
      	PR fortran/32357
      
      	* iresolve.c (gfc_resolve_mvbits): Convert FROMPOS, LEN and TOPOS
      	to C int.
      
      	* intrinsics/mvbits.c: Change prototype so that FROMPOS, LEN and
      	TOPOS arguments are C int.
      
      	* gfortran.dg/mvbits_2.f90: New test.
      
      From-SVN: r126646
      Francois-Xavier Coudert committed
    • sh.h (DO_GLOBAL_CTORS_BODY): Add void to prototype. · 00f46785
      	* config/sh/sh.h (DO_GLOBAL_CTORS_BODY): Add void to prototype.
      	(DO_GLOBAL_DTORS_BODY): Likewise.
      
      From-SVN: r126645
      Kaz Kojima committed
    • re PR libfortran/32731 (pack/unpack with kind=1 or kind=2 mask) · 3b3620db
      2007-07-14  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/32731
      	* iresolve.c(gfc_resolve_pack):  A scalar mask has
      	to be kind=4, an array mask with kind<4 is converted
      	to gfc_default_logical_kind automatically.
      	(gfc_resolve_unpack):  Convert mask to gfc_default_lotical_kind
      	if it has a kind<4.
      
      2007-07-14  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/32731
      	* gfortran.dg/pack_mask_1.f90:  New test.
      	* gfortran.dg/unpack_mask_1.f90:  New test.
      
      From-SVN: r126644
      Thomas Koenig committed
    • mips.c (mips_classify_symbol): Don't return SYMBOL_SMALL_DATA for constant pool addresses if... · 27e3a7bc
      2007-07-14  Sandra Loosemore  <sandra@codesourcery.com>
      	    Nigel Stephens  <nigel@mips.com>
      
              gcc/
      	* config/mips/mips.c (mips_classify_symbol): Don't return
      	SYMBOL_SMALL_DATA for constant pool addresses if
      	TARGET_EMBEDDED_DATA is true.
      
      Co-Authored-By: Nigel Stephens <nigel@mips.com>
      
      From-SVN: r126643
      Sandra Loosemore committed
    • 20001013-1.c: Move to gcc.target/sparc. · 1dd3fc43
      	* gcc.dg/20001013-1.c: Move to gcc.target/sparc.
      	* gcc.dg/20001101-1.c: Likewise.
      	* gcc.dg/20001102-1.c: Likewise.
      	* gcc.dg/20020116-2.c: Likewise.
      	* gcc.dg/20020416-1.c: Likewise.
      	* gcc.dg/sparc-constant-1.c: Likewise.
      	* gcc.dg/sparc-dwarf2.c: Likewise.
      	* gcc.dg/sparc-frame-1.c: Likewise.
      	* gcc.dg/sparc-getcontext-1.c: Likewise.
      	* gcc.dg/sparc-loop-1.c: Likewise.
      	* gcc.dg/sparc-reg-1.c: Likewise.
      	* gcc.dg/sparc-ret.c: Likewise.
      	* gcc.dg/sparc-trap-1.c: Likewise.
      	* gcc.dg/ultrasp10.c: Likewise.
      	* gcc.dg/ultrasp11.c: Likewise.
      	* gcc.dg/ultrasp1.c: Likewise.
      	* gcc.dg/ultrasp2.c: Likewise.
      	* gcc.dg/ultrasp3.c: Likewise.
      	* gcc.dg/ultrasp4.c: Likewise.
      	* gcc.dg/ultrasp5.c: Likewise.
      	* gcc.dg/ultrasp6.c: Likewise.
      	* gcc.dg/ultrasp7.c: Likewise.
      	* gcc.dg/ultrasp8.c: Likewise.
      	* gcc.dg/ultrasp9.c: Likewise.
      	* gcc.dg/splet-1.c: Delete.
      
      From-SVN: r126641
      Eric Botcazou committed
    • * config/i386/i386.c: Fix fallout from my previous commit. · 9c32f507
      From-SVN: r126640
      Uros Bizjak committed
    • i386.c (init_mmx_sse_builtins): Define all builtins except __builtin_ia32_emms... · e41ef486
              * config/i386/i386.c (init_mmx_sse_builtins): Define all builtins
              except __builtin_ia32_emms, __builtin_ia32_ldmxcsr,
              __builtin_ia32_stmxcsr, __builtin_ia32_maskmovq, __builtin_ia32_loadups,
              __builtin_ia32_storeups, __builtin_ia32_loadhps, __builtin_ia32_loadlps,
              __builtin_ia32_storehps, __builtin_ia32_storelps,
              __builtin_ia32_movntps, __builtin_ia32_movntq, __builtin_ia32_sfence,
              __builtin_ia32_femms, __builtin_ia32_maskmovdqu, __builtin_ia32_loadupd,
              __builtin_ia32_storeupd, __builtin_ia32_loadhpd, __builtin_ia32_loadlpd,
              __builtin_ia32_movnti, __builtin_ia32_movntpd, __builtin_ia32_movntdq,
              __builtin_ia32_clflush, __builtin_ia32_lfence, __builtin_ia32_mfence,
              __builtin_ia32_loaddqu, __builtin_ia32_storedqu, __builtin_ia32_monitor,
              __builtin_ia32_mwait, __builtin_ia32_lddqu, __builtin_ia32_movntdqa,
              __builtin_ia32_movntsd and __builtin_ia32_movntss as const builtins
              using def_builtin_const.
      
      From-SVN: r126639
      Uros Bizjak committed
    • re PR fortran/32724 (ICE on statement function in specification part of module) · dec9e22d
      gcc/fortran:
      2007-07-14  Paul Thomas  <pault@gcc.gnu.org>
      
              PR fortran/32724
              * parse.c (parse_spec): Emit error on unexpected statement
              function.
      
      gcc/testsuite:
      2007-07-14  Daniel Franke  <franke.daniel@gmail.com>
      
              PR fortran/32724
              * gfortran.dg/stfunc_5.f90: New test.
      
      From-SVN: r126638
      Daniel Franke committed
    • re PR tree-optimization/32705 (ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1022) · 8d1341f7
      	PR tree-optimization/32705
      	* tree-ssa-sccvn.c (set_ssa_val_to): Accept VN_TOP as value number.
      	(simplify_binary_expression): Use SSA_VAL consistently.
      
      From-SVN: r126637
      Eric Botcazou committed
    • target-supports.exp (check_effective_target_vect_aligned_arrays): New procedure… · 5de7f07c
      target-supports.exp (check_effective_target_vect_aligned_arrays): New procedure to check if arrays are naturally aligned to the vector alignment...
      
              * lib/target-supports.exp (check_effective_target_vect_aligned_arrays):
              New procedure to check if arrays are naturally aligned to the vector
              alignment boundary.
              * gcc.dg/vect/pr25413a.c: Do not include stdarg.h.  Use __SIZE_TYPE__
              in size_t typedef.  Adjust tree dump scan results according to
              vect_aligned_arrays target check.
              * gcc.dg/vect/pr25413.c: Adjust tree dump scan results according to
              vect_aligned_arrays target check.
              * gcc.dg/vect/pr31699.c: Ditto.
      
      From-SVN: r126636
      Uros Bizjak committed
    • Daily bump. · e6343c8d
      From-SVN: r126634
      GCC Administrator committed
    • spe.md (SPE_ACC_REGNO): Delete definition. · 1de43f85
              * config/rs6000/spe.md (SPE_ACC_REGNO): Delete definition.
              (SPEFSCR_REGNO): Delete definition.
              * config/rs6000/rs6000.c: LINK_REGISTER_REGNUM -> LR_REGNO.
              COUNT_REGISTER_REGNUM -> CTR_REGNO.
              * config/rs6000/rs6000.h: Do not define *_REGNO.
              LINK_REGISTER_REGNUM -> LR_REGNO.
              COUNT_REGISTER_REGNUM -> CTR_REGNO.
              * config/rs6000/predicates.md: LINK_REGISTER_REGNUM -> LR_REGNO.
              COUNT_REGISTER_REGNUM -> CTR_REGNO.
              * config/rs6000/linux-unwind.h: Define R_LR, R_CR2, R_VR0,
              R_VRSAVE, R_VSCR. Use them.
              * config/rs6000/darwin-fallback.c: Define R_LR, R_CTR, R_CR2,
              R_XER, R_VR0, R_VRSAVE, R_VSCR, R_SPEFSCR.  Use them.
              * config/rs6000/rs6000.md: Define REGNO constants.  Use them.
              * config/rs6000/aix.h: Define R_LR.  Use it.
      
      From-SVN: r126631
      David Edelsohn committed
  4. 13 Jul, 2007 1 commit