Commit Graph

82108 Commits

Author SHA1 Message Date
Daniel Berlin
c3e4e34df9 tree-ssa-sccvn.c (try_to_simplify): Use valid_gimple_expression
2007-07-18  Daniel Berlin  <dberlin@dberlin.org>

	* tree-ssa-sccvn.c (try_to_simplify): Use valid_gimple_expression
	* tree-ssa-propagate (valid_gimple_expression): Handle ADDR_EXPR
	properly.

From-SVN: r126721
2007-07-18 15:44:28 +00:00
Rask Ingemann Lambertsen
9e19a50c89 re PR target/32808 (cris: ICE: RTL check: expected elt 0 type 'e' or 'u', have 'w' (rtx const_int) in cris_print_index, at config/cris/cris.c:499)
PR target/32808
	* config/cris/cris.c (cris_print_index): Don't use XEXP before
	checking that the operand is an expression.

From-SVN: r126720
2007-07-18 13:47:28 +00:00
Christoph von Wittich
b8a1094360 PR/other 30335
2007-07-19  Christoph von Wittich  <Christoph_vW@reactos.org>
	    Danny Smith  <dannysmith@users.sourceforge.net>

	PR/other 30335
	* config/i386/host-mingw32.c (mingw32_gt_pch_use_address): Put
	file mapping object in local namespace if Windows version later
	than NT4


Co-Authored-By: Danny Smith <dannysmith@users.sourceforge.net>

From-SVN: r126719
2007-07-18 11:39:01 +00:00
Richard Sandiford
8426b95602 arm-protos.h (arm_cannot_force_const_mem): Declare.
gcc/
	* config/arm/arm-protos.h (arm_cannot_force_const_mem): Declare.
	* config/arm/arm.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to
	arm_cannot_force_const_mem.
	(arm_cannot_force_const_mem): New function.
	* config/arm/arm.h (ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): New macro.
	(LEGITIMATE_CONSTANT_P): Test arm_cannot_force_const_mem instead
	of arm_tls_referenced_p.
	* config/arm/arm.md (movsi): Split out-of-section constants when
	ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P.
	* config/arm/vxworks.h (ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): Define.

From-SVN: r126718
2007-07-18 09:44:21 +00:00
Richard Sandiford
12b36be2c0 mips.md (clear_cache): Treat the size argument as Pmode.
gcc/
	* config/mips/mips.md (clear_cache): Treat the size argument as Pmode.

From-SVN: r126717
2007-07-18 09:36:55 +00:00
Richard Sandiford
13e77ed917 mips.md (*extendqihi2): Convert the destination to SImode.
gcc/
	* config/mips/mips.md (*extendqihi2): Convert the destination
	to SImode.

From-SVN: r126716
2007-07-18 09:35:15 +00:00
Nick Clifton
edf06e446b parse.y: Change copyright header to refer to version 3 of the GNU General Public...
* parse.y: Change copyright header to refer to version 3 of the GNU 
  General Public License and to point readers at the COPYING3 file.
* lex.l: Likewise.
* lang.opt: Likewise.
* lang-specs.h: Likewise.
* treelang.h: Likewise.
* config-lang.in: Likewise.
* tree-convert.c: Likewise.
* treetree.c: Likewise.
* tree1.c: Likewise.
* Make-lang.in: Likewise.
* treetree.h: Likewise.
* spec.c: Likewise.

From-SVN: r126713
2007-07-18 08:19:29 +00:00
GCC Administrator
2d86ff8415 Daily bump.
From-SVN: r126710
2007-07-18 00:17:17 +00:00
Janus Weil
4665abc46c re PR fortran/32535 (namelist with private items contained in sub-sub-procedure of a module rejected)
2007-07-17  Janus Weil  <jaydub66@gmail.com>

	PR fortran/32535
	* resolve.c (resolve_fl_namelist): Check for namelist private
	components in contained subprograms.

2007-07-17  Janus Weil  <jaydub66@gmail.com>

	PR fortran/32535
	* gfortran.dg/pr32535.f90: New test.

From-SVN: r126706
2007-07-17 23:33:34 +02:00
John David Anglin
0af0580f58 fptr.c: Update license header.
* config/pa/fptr.c: Update license header.
	* config/pa/milli64.S: Likewise.

From-SVN: r126705
2007-07-17 21:21:23 +00:00
DJ Delorie
6a9131e7c3 configure.ac (target_header_dir, msdosdjgpp): Remove duplicate gettimeofday entry.
* configure.ac (target_header_dir, msdosdjgpp): Remove duplicate
gettimeofday entry.
* configure: Likewise.

From-SVN: r126704
2007-07-17 13:52:28 -04:00
Paul Thomas
28114dadad re PR fortran/31320 (Illegal read with gfortran.dg/alloc_comp_assign_2.f90 and *_3.f90)
2007-07-17  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31320
	PR fortran/32665
	* trans-expr.c (gfc_trans_subcomponent_assign): Ensure that
	renormalization unity base is done independently of existing
	lbound value.
	(gfc_trans_scalar_assign): If rhs is not a variable, put
	lse->pre after rse->pre to ensure that de-allocation of lhs
	occurs after evaluation of rhs.

2007-07-17  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31320
	PR fortran/32665
	* gfortran.dg/alloc_comp_constructor_3.f90: New test.

From-SVN: r126703
2007-07-17 17:22:44 +00:00
Nick Clifton
4c85af60e8 COPYING_v3: New file.
* COPYING_v3: New file.  Contains version 3 of the GNU General Public License.
* COPYING.LIB_v3: New file.  Contains version 3 of the GNU Lesser General Public License.
* gpl_v3.texi: New file.  Contains a texinfo formated copy of the GNU General Public License, version 3.

From-SVN: r126701
2007-07-17 08:37:53 +00:00
Zdenek Dvorak
9f2e9ac43b re PR rtl-optimization/32773 (SH: ICE in create_pre_exit, at mode-switching.c:223)
PR rtl-optimization/32773
	* cfglayout.c (force_one_exit_fallthru): New function.
	(cfg_layout_finalize): Use it.

	* gcc.dg/pr32773.c: New test.

From-SVN: r126700
2007-07-17 03:56:40 +00:00
Andrew Pinski
02634bb287 intrinsics-1.c: Use dg-message to match flax-vector-conversions note.
2007-07-16  Andrew Pinski  <andrew_pinski@playstation.sony.com>

	* gcc.target/spu/intrinsics-1.c: Use dg-message to
	match flax-vector-conversions note.
	* gcc.target/spu/fixed-range-bad.c: Use dg-warning
	instead of dg-error for the warning.

From-SVN: r126699
2007-07-16 20:07:09 -07:00
GCC Administrator
f56c05a0d2 Daily bump.
From-SVN: r126697
2007-07-17 00:16:54 +00:00
Rask Ingemann Lambertsen
57bd64a3a4 20061101-2.c: Variant of 20061101-1.c adapted to work on targets with 16-bit or wider int.
2007-07-16  Rask Ingemann Lambertsen  <rask@sygehus.dk>

	* gcc.c-torture/execute/20061101-2.c: Variant of 20061101-1.c
	  adapted to work on targets with 16-bit or wider int.
	* gcc.c-torture/execute/pr29797-2.c: Likewise for pr29797-1.c.
	* gcc.c-torture/execute/pr31448-2.c: Likewise for pr31448.c.
	* gcc.dg/20061109-2.c: Likewise for 20061109-1.c.
	* gcc.dg/pr27959-2.c: Likewise for pr27959.c.

From-SVN: r126693
2007-07-16 20:01:20 +00:00
Richard Guenther
fd95ee7ca0 tree-if-conv.c (find_phi_replacement_condition): Unshare "*cond" before forcing it to gimple operand.
* tree-if-conv.c (find_phi_replacement_condition): Unshare "*cond"
        before forcing it to gimple operand.


Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>

From-SVN: r126692
2007-07-16 21:58:45 +02:00
Rask Ingemann Lambertsen
19b493f714 ltrans-5.c: Only run test on targets which support large arrays.
2007-07-16  Rask Ingemann Lambertsen  <rask@sygehus.dk>

	* gcc.dg/tree-ssa/ltrans-5.c: Only run test on targets which
	support large arrays.
	* gcc.dg/pr27959.c: Only run test if an int is at least 32 bits wide.
	* gcc.dg/20061109-1.c: Likewise.
	* gcc.c-torture/execute/20061101-1.x: Likewise.
	* gcc.c-torture/execute/pr29797-1.x: Likewise.
	* gcc.c-torture/execute/pr31448.x: Likewise.

From-SVN: r126691
2007-07-16 19:57:22 +00:00
Lee Millward
55637e51b5 re PR fortran/32222 (ICE in gfc_trans_assignment_1)
PR fortran/32222
	PR fortran/32238
	PR fortran/32242	
	* trans-intrinsic.c (gfc_conv_intrinsic_function_args): Adjust
	to operate on a stack allocated array for the intrinsic arguments
	instead of creating a TREE_LIST. Add two new parameters for the
	array and the number of elements. Update all callers to allocate
	an array of the correct length to pass in. Update comment.
	(gfc_intrinsic_argument_list_length): New function.
	(gfc_conv_intrinsic_conversion): Call it.
	(gfc_conv_intrinsic_mnimax): Likewise.
	(gfc_conv_intrinsic_merge): Likewise.
	(gfc_conv_intrinsic_lib_function): Call it. Use new CALL_EXPR
	constructors.
	(gfc_conv_intrinsic_cmplx): Likewise.
	(gfc_conv_intrinsic_ctime): Likewise.
	(gfc_covn_intrinsic_fdate): Likewise.
	(gfc_conv_intrinsic_ttynam): Likewise.
	(gfc_conv_intrinsic_ishftc): Likewise.
	(gfc_conv_intrinsic_index): Likewise.
	(gfc_conv_intrinsic_scan): Likewise.
	(gfc_conv_intrinsic_verify): Likewise.
	(gfc_conv_intrinsic_trim): Likewise.
	(gfc_conv_intrinsic_aint): Use new CALL_EXPR constructors.
	(gfc_conv_intrinsic_exponent): Likewise.
	(gfc_conv_intrinsic_bound): Likewise.
	(gfc_conv_intrinsic_abs): Likewise.
	(gfc_conv_intrinsic_mod): Likewise.
	(gfc_conv_intrinsic_sign): Likewise.
	(gfc_conv_intrinsic_len): Likewise.
	(gfc_conv_intrinsic_adjust): Likewise.
	(gfc_conv_intrinsic_si_kind): Likewise. 

	* gfortran.dg/cmplx_intrinsic_1.f90: New test.

	PR fortran/32238
	* gfortran.dg/pr32238.f90: New test.

	PR fortran/32222
	* gfortran.dg/pr32222.f90: New test.

	PR fortran/32242
	* gfortran.dg/pr32242.f90: New test.

From-SVN: r126689
2007-07-16 19:12:44 +00:00
Sandra Loosemore
d56b9f1222 mips.h (TUNE_24K): Define.
2007-07-16  Sandra Loosemore  <sandra@codesourcery.com>
	    David Ung  <davidu@mips.com>

        gcc/

        * config/mips/mips.h (TUNE_24K): Define.
	(TUNE_MACC_CHAINS): Add TUNE_24K.
        * config/mips/mips.md: (*mul_acc_si, *mul_sub_si): Change type to
        imadd.
        * config/mips/74k.md (r74k_int_mult): Split madd/msub to ..
        (r74k_int_madd): .. this new reservation.
        (define_bypass): Fixed bypasses for r74k_int_madd to use
	mips_linked_madd_p.
        * config/mips/24k.md (define_bypass): Define new
        r24k_int_mul3->r24k_int_madd bypass using mips_linked_madd_p.

	gcc/testsuite/

        * gcc.target/mips/mips-sched-madd.c: New test case.

Co-Authored-By: David Ung <davidu@mips.com>

From-SVN: r126688
2007-07-16 14:12:01 -04:00
Sandra Loosemore
0015c873f4 mips.md: Include 20kc.md.
2007-07-16  Sandra Loosemore  <sandra@codesourcery.com>
	    Nigel Stephens  <nigel@mips.com>

        gcc/

	* config/mips/mips.md:  Include 20kc.md.
	* config/mips/20kc.md: New file.
	* config/mips/mips.c (mips_rtx_cost_data): Fill in 20Kc costs.
	(mips_adjust_cost): Tweak for 20Kc.
	(mips_issue_rate): Likewise.
	* config/mips/mips.h (TUNE_20KC): Define.

Co-Authored-By: Nigel Stephens <nigel@mips.com>

From-SVN: r126687
2007-07-16 13:57:40 -04:00
David Edelsohn
0b11da6707 rs6000.c (struct processor cost): Add cache_line_size, l1_cache_lines, and simultaneous_prefetches fields.
* config/rs6000/rs6000.c (struct processor cost): Add
	cache_line_size, l1_cache_lines, and simultaneous_prefetches
	fields.
	(*_cost): Add cache information.
	(rs6000_override_options): Set cache parameters.

From-SVN: r126686
2007-07-16 13:31:51 -04:00
Rainer Orth
40f5cc95ab re PR bootstrap/3456 (bootstrapping gcc-3.0 with threadmodel=posix fails on IRIX64 6.5)
gcc:
	PR bootstrap/3456
	* config.gcc (mips-sgi-irix[56]*): Enable pthread support.
	* doc/install.texi (mips-sgi-irix6): pthread support works now.

	libstdc++-v3:
	PR bootstrap/3456
	* testsuite/22_locale/locale/cons/12658_thread-1.cc: Enable on
	mips-sgi-irix6*.
	* testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
	* testsuite/thread/18185.cc: Likewise.
	* testsuite/thread/pthread1.cc: Likewise.
	* testsuite/thread/pthread2.cc: Likewise.
	* testsuite/thread/pthread3.cc: Likewise.
	* testsuite/thread/pthread4.cc: Likewise.
	* testsuite/thread/pthread5.cc: Likewise.
	* testsuite/thread/pthread6.cc: Likewise.
	* testsuite/thread/pthread7-rope.cc: Likewise.
	* testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc: Likewise.
	* testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.

From-SVN: r126685
2007-07-16 17:21:10 +00:00
Rainer Orth
c1331fd4fb re PR target/32462 (Linking libgcj.so fails on Solaris 10/x86)
PR target/32462
	PR libgcj/32465
	* class.c (hide): Wrap in HAVE_GAS_HIDDEN.

From-SVN: r126684
2007-07-16 17:07:25 +00:00
Rainer Orth
04a4998306 configure.ac (i?86-*-solaris2.1[0-9]): Set TARGET to X86_64.
* configure.ac (i?86-*-solaris2.1[0-9]): Set TARGET to X86_64.
	* configure: Regenerate.

From-SVN: r126683
2007-07-16 17:05:41 +00:00
Ulrich Weigand
5273aaa905 Fix broken commit -- add files that were missed.
From-SVN: r126682
2007-07-16 13:30:46 +00:00
Paul Brook
fb02857163 re PR target/32753 (building a crosscompiler for arm-elf fails because of an error in cirrus.md)
2007-07-16  Paul Brook  <paul@codesourcery.com>

	PR target/32753
	gcc/
	* config/arm/cirrus.md (cirrus_arm_movsi_insn): Remove dead insn.
	(cirrus_thumb2_movsi_insn): Ditto.

From-SVN: r126681
2007-07-16 13:18:45 +00:00
Paul Brook
dab0324ad7 re PR target/32753 (building a crosscompiler for arm-elf fails because of an error in cirrus.md)
2007-07-16  Paul Brook  <paul@codesourcery.com>

	PR target/32753
	gcc/
	* config/arm/cirrus.md (cirrus_arm_movsi_insn): Remove dead insn.

From-SVN: r126679
2007-07-16 13:01:18 +00:00
Rask Ingemann Lambertsen
3d08716e93 re PR target/32340 ([arm] libjava build failure due to missing thread synchronization primitives)
PR target/32340
	* configure.host (arm*-elf | strongarm*-elf | xscale*-elf): Use the
	new sysdeps/arm directory.

From-SVN: r126675
2007-07-16 10:32:05 +00:00
Danny Smith
54d82da191 ctype_base.h: Use the generic libstdc++ masks rather than MSVCRT defines.
* config/os/mingw32/ctype_base.h: Use the generic libstdc++ masks
	rather than MSVCRT defines.
	* config/os/mingw32/ctype_noninline.h (classic_table): Construct
	and return a static classic table based on generic libstdc++ masks.

From-SVN: r126674
2007-07-16 09:19:26 +00:00
Andreas Krebbel
19ddfd3a76 MAINTAINERS (S/390 port maintainer): Remove my co-maintainer tag.
2007-07-16  Andreas Krebbel  <krebbel1@de.ibm.com>

	* MAINTAINERS (S/390 port maintainer): Remove my co-maintainer tag.

From-SVN: r126673
2007-07-16 08:11:23 +00:00
Andreas Krebbel
2a06454566 MAINTAINERS (S/390 co-maintainer): Add myself.
2007-07-16  Andreas Krebbel  <krebbel1@de.ibm.com>

	* MAINTAINERS (S/390 co-maintainer): Add myself.
	(Write after approval): Remove myself.

From-SVN: r126672
2007-07-16 07:45:03 +00:00
Uros Bizjak
e3b715a06b target-supports.exp (check_effective_target_vect_aligned_arrays): Remove "naturally" from the function comment.
* target-supports.exp (check_effective_target_vect_aligned_arrays):
        Remove "naturally" from the function comment.

From-SVN: r126671
2007-07-16 08:10:25 +02:00
Tom Tromey
6e7b20ac6e File.java: Implement Comparable<File>.
* java/io/File.java: Implement Comparable<File>.
	(compareTo): Removed.
	* java/io/File.h: Rebuilt.
	* classpath/lib/java/io/File.class: Rebuilt.

From-SVN: r126670
2007-07-16 05:00:28 +00:00
GCC Administrator
6f04e85d9c Daily bump.
From-SVN: r126666
2007-07-16 00:17:13 +00:00
Tom Tromey
65d0c7885e * Rebuilt .class files.
From-SVN: r126663
2007-07-15 23:58:55 +00:00
Janne Blomqvist
75ef384e85 re PR target/32748 (gfortran.dg/array_constructor_6.f90)
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
2007-07-16 00:33:32 +03:00
Geoffrey Keating
fb0671a8c2 darwin-fallback.c (interpret_libc): Change CR2_REGNO to R_CR2.
* config/rs6000/darwin-fallback.c (interpret_libc): Change
	CR2_REGNO to R_CR2.

From-SVN: r126661
2007-07-15 21:22:14 +00:00
Krister Walfridsson
91f6762edf natGCInfo.cc: Use HAVE_STRERROR_R.
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
2007-07-15 21:13:05 +00:00
Andrew Haley
945e62ddd5 configure.host: arm*-linux-gnu -> arm*-linux*.
2007-07-15  Andrew Haley  <aph@redhat.com>

        * configure.host: 
        arm*-linux-gnu -> arm*-linux*.

From-SVN: r126659
2007-07-15 18:18:35 +00:00
Andrew Haley
759580edb7 unwind-sjlj.c (_Unwind_GetIPInfo): Check for context->fc != NULL before looking in the context.
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
2007-07-15 17:37:43 +00:00
John David Anglin
16c16a2476 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
2007-07-15 17:19:13 +00:00
Jerry DeLisle
b220e3f9c9 re PR libfortran/32611 (Print sign of negative zero)
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
2007-07-15 16:35:07 +00:00
Jerry DeLisle
68d2e027fa re PR libfortran/32611 (Print sign of negative zero)
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
2007-07-15 16:29:19 +00:00
Jerry DeLisle
2bb6de3a7e re PR libfortran/32611 (Print sign of negative zero)
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
2007-07-15 16:26:22 +00:00
Dirk Mueller
639d3040d4 omega.c (coalesce): Fix memory leak on early exit.
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
2007-07-15 11:45:30 +00:00
Jerry DeLisle
d40150cc3c re PR libfortran/32752 (Segfault on WRITE with modified unix_stream structure)
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
2007-07-15 05:29:29 +00:00
GCC Administrator
6816e2e17d Daily bump.
From-SVN: r126650
2007-07-15 00:17:11 +00:00
Francois-Xavier Coudert
a90552d564 re PR fortran/32036 (Multiple evaluation of array index with bounds checking)
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
2007-07-14 23:59:00 +00:00