1. 07 Jun, 2006 3 commits
    • re PR fortran/23091 (ICE in gfc_trans_auto_array_allocation) · 0e9a445b
      2006-06-07  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/23091
      	* resolve.c (resolve_fl_variable): Error if an automatic
      	object has the SAVE attribute.
      
      	PR fortran/24168
      	* expr.c (simplify_intrinsic_op): Transfer the rank and
      	the locus to the simplified expression.
      
      	PR fortran/25090
      	PR fortran/25058
      	* gfortran.h : Add int entry_id to gfc_symbol.
      	* resolve.c : Add static variables current_entry_id and
      	specification_expr.
      	(resolve_variable): During code resolution, check if a
      	reference to a dummy variable in an executable expression
      	is preceded by its appearance as a parameter in an entry.
      	Likewise check its specification expressions.
      	(resolve_code): Update current_entry_id on EXEC_ENTRY.
      	(resolve_charlen, resolve_fl_variable): Set and reset
      	specifiaction_expr.
      	(is_non_constant_shape_array): Do not return on detection
      	of a variable but continue to resolve all the expressions.
      	(resolve_codes): set current_entry_id to an out of range
      	value.
      
      2006-06-07  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/23091
      	* gfortran.dg/saved_automatic_1.f90: New test.
      
      	PR fortran/24168
      	* gfortran.dg/array_simplify_1.f90: New test.
      
      	PR fortran/25090
      	* gfortran.dg/entry_dummy_ref_1.f90: New test.
      
      	PR fortran/25058
      	* gfortran.dg/entry_dummy_ref_2.f90: New test.
      
      From-SVN: r114461
      Paul Thomas committed
    • random (mersenne_twister<>::operator==, [...]): Implement. · d95c1c48
      2006-06-06  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/random (mersenne_twister<>::operator==,
      	operator!=, operator<<, operator>>): Implement.
      	* testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
      	operators/equal.cc: New.	
      	* testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
      	operators/not_equal.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
      	operators/serialize.cc: Likewise.
      
      	* include/tr1/random (subtract_with_carry<>::operator==): Fix,
      	compare the whole state; use std::equal.
      
      	* include/tr1/random: Minor formatting and style changes.
      
      From-SVN: r114459
      Paolo Carlini committed
    • Daily bump. · efbd5a94
      From-SVN: r114456
      GCC Administrator committed
  2. 06 Jun, 2006 21 commits
  3. 05 Jun, 2006 16 commits
    • re PR libfortran/27895 (problem with RESHAPE and zero-sized arrays) · 0094f362
      	PR libfortran/27895
      
      	* resolve.c (compute_last_value_for_triplet): New function.
      	(check_dimension): Correctly handle zero-sized array sections.
      	Add checking on last element of array sections.
      
      	* gfortran.dg/bounds_check_3.f90: New test.
      
      From-SVN: r114414
      François-Xavier Coudert committed
    • random (mersenne_twister<>::seed()): Fix per tr1/5.1.4.2, p8. · 36ac3ed6
      2006-06-05  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/random (mersenne_twister<>::seed()): Fix per
      	tr1/5.1.4.2, p8.
      	* include/tr1/random.tcc (mod_w): Add.
      	(mersenne_twister<>::seed(unsigned long)): Fix per tr1/5.1.4.2, p9.
      	(mersenne_twister<>::seed(Gen&, false_type)): Adjust to use mod_w.
      	* testsuite/tr1/5_numerical_facilies/random/mt19937.cc: Fix
      	expected result per tr1/5.1.5, p2.
      	* testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
      	cons/default.cc: Adjust.
      
      	* include/tr1/random (exponential_distribution<>::operator()()): Fix.
      
      From-SVN: r114412
      Paolo Carlini committed
    • re PR libgcj/27860 (build failure on m68k: error: 'ffi_closure' does not name a type) · 596475f0
      	PR libgcj/27860
      	* link.cc: Check for closure support in libffi with FFI_CLOSURES.
      
      From-SVN: r114411
      Andreas Schwab committed
    • re PR libgcj/27892 (gij.cc:104: error: 'setenv' was not declared in this scope) · 8a398c2c
      	PR libgcj/27892:
      	* gij.cc (main): Use putenv.
      
      From-SVN: r114410
      Tom Tromey committed
    • * stor-layout.c (debug_rli): Fix a typo in a debug message. · 0c397f9c
      From-SVN: r114409
      Kazu Hirata committed
    • data.c (gfc_assign_data_value): Fix comment typo. · 6c655c5e
      2006-06-05  Steven G. Kargl  <kargls@comcast.net>
      
              * data.c (gfc_assign_data_value):  Fix comment typo.  Remove
              a spurious return.
      
      From-SVN: r114406
      Steven G. Kargl committed
    • Fix typo... · a40df91b
      From-SVN: r114405
      Mike Stump committed
    • * objc.dg/objc-fast-4.m: Skip for ppc64. · 1ee8df1c
      From-SVN: r114404
      Mike Stump committed
    • re PR bootstrap/27674 (make -j3 all-gcc fails when building natively) · 3ff3adad
      2006-06-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR 27674
      	* Makefile.tpl (configure-[+prefix+][+module+],
      	all-[+prefix+][+module+]): Depend on stage_current if bootstrapping.
      	Remove rule to unstage bootstrapped modules.
      	(stage_current): New.
      	* Makefile.in: Regenerate.
      
      From-SVN: r114395
      Paolo Bonzini committed
    • * dg-cmp-results.sh: New script for comparing DejaGNU logs. · afef9a5b
      From-SVN: r114393
      James Lemke committed
    • re PR testsuite/27705 (gcc.dg/sibcall-7.c execution test fails) · 8a10503f
      	PR testsuite/27705
      	* gcc.dg/sibcall-7.c: Do not run on ia64-*-* platforms.
      
      From-SVN: r114391
      Steve Ellcey committed
    • re PR target/27051 (Compiler generates .sdata when -mno-sdata specified) · 1f4a2e84
      	PR target/27051
      	* config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA.
      
      From-SVN: r114390
      Steve Ellcey committed
    • re PR bootstrap/27818 (libjava installs libltdl sources in $prefix/share/libtool) · 3118f0d5
      	PR gcc/27818:
      	* Makefile.in: Rebuilt.
      	* Makefile.am (install-data-local): Define conditionally.
      
      From-SVN: r114389
      Tom Tromey committed
    • re PR tree-optimization/26360 (Autovectorization of char -> int loop gets ICE) · a8b28492
      Changelog:
              PR tree-optimization/26360
              * tree-vectorizer.c (destroy_loop_vec_info): Remove (dead) pattern
              stmts.
      
      testsuite/Changelog:
              PR tree-optimizations/26360
              * gcc.dg/vect/vect.exp: Compile tests prefixed with "no-tree-dce"
              with -fno-tree-dce.
              * gcc.dg/vect/no-tree-dce-pr26360.c: New test.
      
      
      
      Co-Authored-By: Victor Kaplansky <victork@il.ibm.com>
      
      From-SVN: r114386
      Dorit Nuzman committed
    • re PR fortran/14067 (no warning when character data statement overflows declared size) · 6690a9e0
      2006-06-05  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/14067
      	* data.c (create_character_intializer): Add warning message
      	for truncated string.
      
      	PR fortran/16943
      	* symbol.c : Include flags.h.
      	(gfc_add_type): If a procedure and types are the same do not
      	throw an error unless standard is less than gnu or pedantic.
      
      	PR fortran/20838
      	* parse.c (parse_do_block): Error if named block do construct
      	does not have a named enddo.
      
      	PR fortran/27655
      	* check.c (gfc_check_associated): Pick up EXPR_NULL for pointer
      	as well as target and put error return at end of function.
      
      2006-06-05  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/14067
      	* gfortran.dg/data_char_1.f90: Add messages for truncated
      	strings.
      
      	PR fortran/16943
      	* gfortran.dg/func_decl_2.f90: New test.
      
      	PR fortran/20838
      	* gfortran.dg/do_2.f90: New test.
      
      	PR fortran/27655
      	* gfortran.dg/associated_3.f90: New test.
      
      From-SVN: r114385
      Paul Thomas committed
    • [multiple changes] · 86ad0dd6
      2006-06-05  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/random.tcc (Max::value()): Cast 1 to Tp(1) and
      	adjust shift count to w; rename as Max_w.
      	(struct Mod_w): New.
      	(mersenne_twister<>::seed(Gen&, false_type): Use the latter.
      	(mersenne_twister<>::operator()()): Fix ~0ul to ~_UInt().
      	* testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
      	cons/default.cc: Fix ~0ul to 2^32-1.
      	* testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
      	cons/gen1.cc: Likewise.
      
      2006-06-05  Stephen M. Webb  <stephen.webb@bregmasoft.com>
      
      	* include/tr1/random: New.
      	* include/tr1/random.tcc: Likewise.
      	* include/Makefile.am: Add.
      	* testsuite/tr1/5_numerical_facilies/random/ranlux3.cc: New.
      	* testsuite/tr1/5_numerical_facilies/random/ranlux4.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/mt19937.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/variate_generator/
      	requirements/typedefs.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
      	cons/seed1.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
      	cons/seed2.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
      	cons/default.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
      	cons/gen1.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
      	requirements/typedefs.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
      	operators/equal.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
      	operators/not_equal.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
      	operators/serialize.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/uniform_real/
      	requirements/typedefs.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/discard_block/
      	requirements/requirements.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/linear_congruential/
      	cons/seed1.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/linear_congruential/
      	cons/seed2.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/linear_congruential/
      	cons/default.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/linear_congruential/
      	cons/gen1.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/linear_congruential/
      	requirements/non_uint_neg.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/linear_congruential/
      	requirements/typedefs.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/linear_congruential/
      	operators/equal.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/linear_congruential/
      	operators/not_equal.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/linear_congruential/
      	operators/serialize.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/xor_combine/
      	requirements/typedefs.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/minstd_rand.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/minstd_rand0.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/uniform_int/
      	cons/range.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/uniform_int/
      	cons/default.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/uniform_int/
      	cons/range_neg.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/uniform_int/
      	requirements/typedefs.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
      	cons/seed1.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
      	cons/seed2.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
      	cons/default.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
      	cons/gen1.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
      	requirements/typedefs.cc: Likewise.
      	* include/Makefile.in: Regenerate.
      	* testsuite/tr1/headers.cc: Update.
      
      From-SVN: r114384
      Paolo Carlini committed