- Jun 06, 2006
-
-
Gary Benson authored
* java/io/natFilePosix.cc (getCanonicalPath): Rewritten. * configure.ac: Remove realpath check and add checks for lstat and readlink. * configure: Rebuilt. * include/config.h.in: Likewise. * java/io/File.java: Javadoc fix. From-SVN: r114434
-
Joseph Myers authored
* config/mips/t-linux64 (tp-bit.c): Append to tp-bit.c, not dp-bit.c. From-SVN: r114433
-
Laurent GUERBY authored
2006-06-06 Laurent GUERBY <laurent@guerby.net> PR ada/27769 mlib-utl.adb: Use Program_Name. From-SVN: r114429
-
Mike Stump authored
From-SVN: r114428
-
Mike Stump authored
From-SVN: r114427
-
Mike Stump authored
* Makefile.in: Rename to htmldir to build_htmldir to avoid installing during build. java,fortran: * Make-lang.in: Rename to htmldir to build_htmldir to avoid installing during build. treelang: * Make-lang.in: Rename to gcc_htmldir to build_htmldir to avoid installing during build. From-SVN: r114426
-
Maxim Kuvyrkov authored
2006-06-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> * params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): Change default value to 0. * doc/invoke.texi (max-sched-extend-regions-iters): Document. * config/ia64/ia64.c (params.h): New header. (ia64_optimization_options): New function to adjust parameters. * config/ia64/ia64-protos.h (ia64_optimization_options): New prototype. * config/ia64/ia64.h (OPTIMIZATION_OPTIONS): New macro. * config/ia64/t-ia64 (ia64.o): Add dependence from params.h . From-SVN: r114425
-
Janne Blomqvist authored
2006-06-06 Janne Blomqvist <jb@gcc.gnu.org> * m4/in_pack.m4: Add TODO comment about detecting temporaries, remove test for stride 0, update copyright year. * m4/transpose.m4: Remove test for stride 0, update copyright year. * m4/iforeach.m4: Likewise. * m4/shape.m4: Likewise. * m4/in_unpack.m4: Likewise. * m4/reshape.m4: Likewise. * m4/ifunction.m4: Likewise. * m4/matmul.m4: Likewise. * m4/matmull.m4: Likewise. * intrinsics/etime.c: Likewise. * intrinsics/transpose_generic.c: Likewise. * intrinsics/spread_generic.c: Likewise. * intrinsics/stat.c: Likewise. * intrinsics/reshape_generic.c: Likewise. * intrinsics/random.c: Likewise. * generated/*: Regenerated from above changed m4 files. From-SVN: r114424
-
Paul Thomas authored
2006-06-06 Paul Thomas <pault@gcc.gnu.org> PR fortran/27897 * match.c (gfc_match_common): Fix code typo. Remove sym->name, since sym is NULL, and replace with name. * fortran/ChangeLog : Fix typo: 20838 to 20839. * testsuite/ChangeLog : The same. From-SVN: r114422
-
GCC Administrator authored
From-SVN: r114419
-
- Jun 05, 2006
-
-
François-Xavier Coudert authored
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
-
Paolo Carlini authored
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
-
Andreas Schwab authored
PR libgcj/27860 * link.cc: Check for closure support in libffi with FFI_CLOSURES. From-SVN: r114411
-
Tom Tromey authored
PR libgcj/27892: * gij.cc (main): Use putenv. From-SVN: r114410
-
Kazu Hirata authored
From-SVN: r114409
-
Steven G. Kargl authored
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
-
Mike Stump authored
From-SVN: r114405
-
Mike Stump authored
From-SVN: r114404
-
Paolo Bonzini authored
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
-
James Lemke authored
From-SVN: r114393
-
Steve Ellcey authored
PR testsuite/27705 * gcc.dg/sibcall-7.c: Do not run on ia64-*-* platforms. From-SVN: r114391
-
Steve Ellcey authored
PR target/27051 * config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA. From-SVN: r114390
-
Tom Tromey authored
PR gcc/27818: * Makefile.in: Rebuilt. * Makefile.am (install-data-local): Define conditionally. From-SVN: r114389
-
Dorit Nuzman authored
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
-
Paul Thomas authored
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
-
Paolo Carlini authored
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
-
Mark Mitchell authored
PR c++/27819 * decl.c (cp_finish_decl): Process initializers for static data members with non-dependent initializers, even in templates. PR c++/27722 * decl.c (maybe_deduce_size_from_array_init): If the declaration is erroneous, give it an erroneous type. (layout_var_decl): If the type is erroneous, give up. (check_initializer): Likewise. PR c++/27807 * cp-tree.h (TYPE_OBJ_P): New macro. (TYPE_PTROB_P): Use it. (TYPE_REF_OBJ_P): Likewise. * semantics.c (finish_compound_literal): Do not permit compound literals of non-object types. PR c++/27806 * typeck.c (original_type): Robustify. PR c++/27819 * g++.dg/template/static25.C: New test. PR c++/27722 * g++.dg/init/array21.C: New test. PR c++/27807 * g++.dg/ext/complit7.C: New test. PR c++/27806 * g++.dg/parse/ptrmem5.C: New test. From-SVN: r114382
-
Roger Sayle authored
PR middle-end/27382 PR c/27150 * gcc.dg/pr27150-1.c: New testcase. * gcc.dg/pr27382-1.c: New testcase. * gcc.dg/pr27382-2.c: New testcase. From-SVN: r114381
-
Roger Sayle authored
PR middle-end/27382 * c-common.c (c_common_truthvalue_conversion): Explicitly check for LABEL_DECL before calling DECL_WEAK. PR c/27150 * c-typeck.c (build_binary_op): Likewise, explicitly check for LABEL_DECL and PARM_DECL. * gcc.dg/pr27150-1.c: New testcase. * gcc.dg/pr27382-1.c: New testcase. * gcc.dg/pr27382-2.c: New testcase. Co-Authored-By:
Andrew Pinski <pinskia@physics.uc.edu> From-SVN: r114380
-
Joseph Myers authored
PR c/25161 PR c/27020 * c-decl.c (grokdeclarator): Disallow variably modified types at file scope. Avoid marking shared array type of constant size as VLA. testsuite: * gcc.dg/array-10.c: New test. From-SVN: r114378
-
Volker Reichelt authored
PR c++/27804 * init.c (constant_value_1): Return decl instead of error_mark_node for invalid initializers. PR c++/27804 * g++.dg/init/const4.C: New test. * g++.dg/init/member1.C: Add error-marker. * g++.dg/other/fold1.C: Adjust error-marker. From-SVN: r114377
-
GCC Administrator authored
From-SVN: r114375
-
- Jun 04, 2006
-
-
Volker Reichelt authored
PR c++/27601 * c-common.c (fold_offsetof_1): Handle static members. * g++.dg/ext/offsetof1.C: New test. From-SVN: r114369
-
Eric Christopher authored
2006-06-04 Eric Christopher <echristo@apple.com> * stor-layout.c (start_record_layout): Initialize remaining_in_alignment. (debug_rli): Output value for remaining_in_alignment. (update_alignment_for_field): Unconditionalize ms_bitfield_layout_p code. Handle non-bitfield fields. Remove extra alignment code. (place_field): Don't realign if ms_bitfield_layout_p. Unconditionalize ms_bitfield_layout_p code. Rewrite handling of structure fields. * tree.h (record_layout_info_s): Remove prev_packed. * doc/extend.texi (ms_struct): Add documentation of format. 2006-06-04 Eric Christopher <echristo@apple.com> * gcc.dg/attr-ms_struct-1.c: New. From-SVN: r114364
-
Andrew Pinski authored
2006-06-01 Andrew Pinski <pinskia@physics.uc.edu> PR c++/27592 * rtti.c (build_dynamic_cast_1): Call c_common_truthvalue_conversion on operand of the COND_EXPR for the null pointer check. From-SVN: r114361
-
Andrew Pinski authored
2006-06-01 Andrew Pinski <pinskia@physics.uc.edu> PR c++/26740 * typeck.c (build_unary_op): Mark the function as being used. From-SVN: r114360
-
Mark Shinwell authored
* gcc.c-torture/compile/builtin_constant_p.c: New test. (neglected in previous commit) From-SVN: r114359
-
Mark Shinwell authored
gcc: * tree.h: Declare folding_initializer. * builtins.c (fold_builtin_constant_p): Give definite answer if folding inside an initializer. * fold-const.c: Define folding_initializer. (START_FOLD_INIT): Save and then set folding_initializer. (END_FOLD_INIT): Restore folding_initializer. gcc/testsuite: * gcc.c-torture/compile/builtin_constant_p.c: New test. From-SVN: r114358
-
Richard Guenther authored
2006-06-04 Richard Guenther <rguenther@suse.de> PR tree-optimization/27039 * fold-const.c (fold_comparison): Handle pointer comparison again for all comparison codes. Compare offsets in signed size type. (fold_binary): Move code from here. * gcc.dg/tree-ssa/loop-17.c: New testcase. From-SVN: r114357
-
Paolo Carlini authored
2006-06-04 Paolo Carlini <pcarlini@suse.de> PR libstdc++/27867 * include/bits/valarray_before.h (struct _BinClos<_Oper, _ValArray, _ValArray, _Tp, _Tp>): Fix value_type typedef. * testsuite/26_numerics/valarray/27867.cc: New. From-SVN: r114356
-