1. 01 Oct, 2005 9 commits
    • re PR tree-optimization/24141 (VRP ICE in compare_name_with_value, at tree-vrp.c:2965) · e82d7e60
      
      	PR 24141
      	* tree-vrp.c (vrp_meet): Clear VR0->EQUIV when building a
      	non-null range as a last resort.
      
      testsuite/
      
      	PR 24141
      	* gcc.c-torture/execute/pr24141.c: New test.
      
      From-SVN: r104859
      Diego Novillo committed
    • re PR tree-optimization/23604 (wrong code due to VRP) · fde5c44c
      
      	PR 23604
      	* tree-vrp.c (extract_range_from_assert): For !=
      	assertions, only build an anti-range if LIMIT is a
      	single-valued range.
      
      testsuite/
      
      	PR 23604
      	* gcc.c-torture/execute/pr23604.c: New test.
      
      Co-Authored-By: Diego Novillo <dnovillo@redhat.com>
      
      From-SVN: r104858
      James A. Morrison committed
    • memory.c (malloc_t): Remove. · 03551860
      	* runtime/memory.c (malloc_t): Remove.
      	(GFC_MALLOC_MAGIC, HEADER_SIZE, DATA_POINTER, DATA_HEADER): Remove.
      	(mem_root, runtime_cleanup, malloc_with_header): Remove.
      	(internal_malloc_size): Use just get_mem if size != 0, return NULL
      	otherwise.
      	(internal_free): Just free if non-NULL.
      	(internal_realloc_size): Remove debugging stuff.
      	(allocate_size): Use malloc directly, remove debugging stuff.
      	(deallocate): Use free directly, fix error message wording.
      
      From-SVN: r104856
      Jakub Jelinek committed
    • libgfortran.h (GFC_ITOA_BUF_SIZE, [...]): Define. · 1449b8cb
      	* libgfortran.h (GFC_ITOA_BUF_SIZE, GFC_XTOA_BUF_SIZE,
      	GFC_OTOA_BUF_SIZE, GFC_BTOA_BUF_SIZE): Define.
      	(gfc_itoa, xtoa): Add 2 extra arguments.
      	* runtime/environ.c: Include stdio.h.
      	(check_buffered): Use sprintf.
      	* runtime/error.c: Include assert.h.
      	(gfc_itoa, xtoa): Add 2 extra arguments, avoid using static
      	buffers.
      	(st_printf, st_sprintf): Adjust callers.
      	* io/write.c (otoa, btoa): Add 2 extra arguments, avoid using
      	static buffers.
      	(write_int, write_decimal): Add 2 extra arguments to conv
      	function pointer, adjust caller.
      	(write_integer): Adjust gfc_itoa caller.
      
      	* io/unit.c (get_array_unit_len): Return 0 rather than NULL.
      
      	* io/read.c (read_f): Remove spurious pointer dereference.
      
      From-SVN: r104855
      Jakub Jelinek committed
    • gcc_release (build_sources): If trying to apply a tag that already exists, issue… · fdf84417
      gcc_release (build_sources): If trying to apply a tag that already exists, issue an error message and exit.
      
      	* gcc_release (build_sources): If trying to apply a tag that
      	already exists, issue an error message and exit.
      
      From-SVN: r104854
      Mark Mitchell committed
    • tuple_iterate.h (tuple::operator=(const std::pair<>&)): Add missing return. · cc6312c1
      2005-10-01  Kenny Simpson  <theonetruekenny@yahoo.com>
      
      	* include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
      	Add missing return.
      
      From-SVN: r104851
      Kenny Simpson committed
    • re PR fortran/16404 (should reject invalid code with -pedantic -std=f95 ? (x8)) · e8ec07e1
      2005-10-01  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/16404
      	PR fortran/20835
      	PR fortran/20890
      	PR fortran/20899
      	PR fortran/20900
      	PR fortran/20901
      	PR fortran/20902
      	* gfortran.h: Prototype for gfc_add_in_equivalence.
      	* match.c (gfc_match_equivalence): Make a structure component
      	an explicit,rather than a syntax, error in an equivalence
      	group.  Call gfc_add_in_equivalence to add the constraints
      	imposed in check_conflict.
      	* resolve.c (resolve_symbol): Add constraints: No public
      	structures with private-type components and no public
      	procedures with private-type dummy arguments.
      	(resolve_equivalence_derived): Add constraint that prevents
      	a structure equivalence member from having a default
      	initializer.
      	(sequence_type): New static function to determine whether an
      	object is default numeric, default character, non-default
      	or mixed sequence. Add corresponding enum typespec.
      	(resolve_equivalence): Add constraints to equivalence groups
      	or their members: No more than one initialized member and
      	that different types are not equivalenced for std=f95.  All
      	the simple constraints have been moved to check_conflict.
      	* symbol.c (check_conflict): Simple equivalence constraints
      	added, including those removed from resolve_symbol.
      	(gfc_add_in_equivalence): New function to interface calls
      	match_equivalence to check_conflict.
      
      2005-10-01  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/16404
      	PR fortran/20835
      	PR fortran/20890
      	PR fortran/20899
      	PR fortran/20900
      	PR fortran/20901
      	PR fortran/20902
      	gfortran.dg/equiv_constraint_1.f90: New test.
      	gfortran.dg/equiv_constraint_2.f90: New test.
      	gfortran.dg/equiv_constraint_3.f90: New test.
      	gfortran.dg/equiv_constraint_4.f90: New test.
      	gfortran.dg/equiv_constraint_5.f90: New test.
      	gfortran.dg/equiv_constraint_6.f90: New test.
      	gfortran.dg/equiv_constraint_7.f90: New test.
      	gfortran.dg/equiv_constraint_8.f90: New test.
      	gfortran.dg/private_type_1.f90: New test.
      	gfortran.dg/private_type_2.f90: New test.
      	gfortran.dg/g77/980628-2.f, 980628-3.f, 980628-9.f,
      	980628-10.f: Assert std=gnu to permit mixing of
      	types in equivalence statements.
      
      From-SVN: r104850
      Paul Thomas committed
    • libffi-dg.exp (libffi_target_compile): For darwin, use -shared-libgcc not -lgcc_s, and explain why. · 0363db46
      	* testsuite/lib/libffi-dg.exp (libffi_target_compile): For
      	darwin, use -shared-libgcc not -lgcc_s, and explain why.
      
      From-SVN: r104847
      Geoffrey Keating committed
    • Daily bump. · 1400103e
      [[Split portion of a mixed commit.]]
      
      From-SVN: r104842.2
      GCC Administrator committed
  2. 30 Sep, 2005 22 commits
  3. 29 Sep, 2005 9 commits