Skip to content
Snippets Groups Projects
  1. Jun 05, 2006
    • Paolo Bonzini's avatar
      re PR bootstrap/27674 (make -j3 all-gcc fails when building natively) · 3ff3adad
      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
      3ff3adad
    • James Lemke's avatar
      * dg-cmp-results.sh: New script for comparing DejaGNU logs. · afef9a5b
      James Lemke authored
      From-SVN: r114393
      afef9a5b
    • Steve Ellcey's avatar
      re PR testsuite/27705 (gcc.dg/sibcall-7.c execution test fails) · 8a10503f
      Steve Ellcey authored
      	PR testsuite/27705
      	* gcc.dg/sibcall-7.c: Do not run on ia64-*-* platforms.
      
      From-SVN: r114391
      8a10503f
    • Steve Ellcey's avatar
      re PR target/27051 (Compiler generates .sdata when -mno-sdata specified) · 1f4a2e84
      Steve Ellcey authored
      	PR target/27051
      	* config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA.
      
      From-SVN: r114390
      1f4a2e84
    • Tom Tromey's avatar
      re PR bootstrap/27818 (libjava installs libltdl sources in $prefix/share/libtool) · 3118f0d5
      Tom Tromey authored
      	PR gcc/27818:
      	* Makefile.in: Rebuilt.
      	* Makefile.am (install-data-local): Define conditionally.
      
      From-SVN: r114389
      3118f0d5
    • Dorit Nuzman's avatar
      re PR tree-optimization/26360 (Autovectorization of char -> int loop gets ICE) · a8b28492
      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: default avatarVictor Kaplansky <victork@il.ibm.com>
      
      From-SVN: r114386
      a8b28492
    • Paul Thomas's avatar
      re PR fortran/14067 (no warning when character data statement overflows declared size) · 6690a9e0
      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
      6690a9e0
    • Paolo Carlini's avatar
      [multiple changes] · 86ad0dd6
      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
      86ad0dd6
    • Mark Mitchell's avatar
      re PR c++/27819 (ICE casting static const variables) · 2b643eda
      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
      2b643eda
    • Roger Sayle's avatar
      re PR middle-end/27382 (ICE in c_common_truthvalue_conversion with label address) · b42b286a
      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
      b42b286a
    • Roger Sayle's avatar
      re PR middle-end/27382 (ICE in c_common_truthvalue_conversion with label address) · ffbf5f7f
      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: default avatarAndrew Pinski <pinskia@physics.uc.edu>
      
      From-SVN: r114380
      ffbf5f7f
    • Joseph Myers's avatar
      re PR c/25161 (Internal compiler error (segfault) instead of error message) · 5c076987
      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
      5c076987
    • Volker Reichelt's avatar
      re PR c++/27804 (ICE with invalid const variable) · 1ac8104c
      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
      1ac8104c
    • GCC Administrator's avatar
      Daily bump. · 30f87202
      GCC Administrator authored
      From-SVN: r114375
      30f87202
  2. Jun 04, 2006
    • Volker Reichelt's avatar
      re PR c++/27601 (ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof) · 545b7d8c
      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
      545b7d8c
    • Eric Christopher's avatar
      stor-layout.c (start_record_layout): Initialize remaining_in_alignment. · 0ac11108
      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
      0ac11108
    • Andrew Pinski's avatar
      re PR c++/27592 (dynamic cast failure) · a0c04f8e
      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
      a0c04f8e
    • Andrew Pinski's avatar
      re PR c++/26740 (ICE taking the address of a bound member function) · 5c147e22
      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
      5c147e22
    • Mark Shinwell's avatar
      builtin_constant_p.c: New test. · 89cfff85
      Mark Shinwell authored
      	* gcc.c-torture/compile/builtin_constant_p.c: New test.
      	(neglected in previous commit)
      
      From-SVN: r114359
      89cfff85
    • Mark Shinwell's avatar
      tree.h: Declare folding_initializer. · 63b48197
      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
      63b48197
    • Richard Guenther's avatar
      re PR tree-optimization/27039 (Unable to determine # of iterations for a simple loop) · 7ec434b8
      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
      7ec434b8
    • Paolo Carlini's avatar
      re PR libstdc++/27867 (compile error in repeated application of valarray<>::operator==) · 0701ea2e
      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
      0701ea2e
    • Roger Sayle's avatar
      re PR target/26223 (ICE on long double with -mno-80387) · 94e76332
      Roger Sayle authored
      	PR target/26223
      	* config/i386/i386.c (construct_container): Split static issued_error
      	flag into issued_sse_arg_error, issued_sse_ret_error and
      	issued_x87_ret_error.  Issue a daignostic if the x86-64 ABI
      	requires the use of x87 registers and the user explicitly
      	specified the -mno-80387 command line option.
      
      	* gcc.target/i386/amd64-abi-2.c: New test case.
      
      From-SVN: r114355
      94e76332
    • GCC Administrator's avatar
      Daily bump. · cb1b2d52
      GCC Administrator authored
      From-SVN: r114353
      cb1b2d52
  3. Jun 03, 2006
    • Francois-Xavier Coudert's avatar
      trans.c (gfc_msg_bounds, [...]): Add strings for common runtime error messages. · dd18a33b
      Francois-Xavier Coudert authored
      	* trans.c (gfc_msg_bounds, gfc_msg_fault, gfc_msg_wrong_return):
      	Add strings for common runtime error messages.
      	(gfc_trans_runtime_check): Add a locus argument, use a string
      	and not a string tree for the message.
      	* trans.h (gfc_trans_runtime_check): Change prototype accordingly.
      	(gfc_msg_bounds, gfc_msg_fault, gfc_msg_wrong_return): Add proto.
      	* trans-const.c (gfc_strconst_bounds, gfc_strconst_fault,
      	gfc_strconst_wrong_return, gfc_strconst_current_filename): Remove.
      	(gfc_init_constants): Likewise.
      	* trans-const.h: Likewise.
      	* trans-decl.c (gfc_build_builtin_function_decls): Call to
      	_gfortran_runtime_error has only one argument, the message string.
      	* trans-array.h (gfc_conv_array_ref): Add a symbol argument and a
      	locus.
      	* trans-array.c (gfc_trans_array_bound_check): Build precise
      	error messages.
      	(gfc_conv_array_ref): Use the new symbol argument and the locus
      	to build more precise error messages.
      	(gfc_conv_ss_startstride): More precise error messages.
      	* trans-expr.c (gfc_conv_variable): Give symbol reference and
      	locus to gfc_conv_array_ref.
      	(gfc_conv_function_call): Use the new prototype for
      	gfc_trans_runtime_check.
      	* trans-stmt.c (gfc_trans_goto): Build more precise error message.
      	* trans-io.c (set_string): Likewise.
      	* trans-intrinsic.c (gfc_conv_intrinsic_bound): Use new prototype
      	for gfc_trans_runtime_check.
      
      From-SVN: r114346
      dd18a33b
    • Carlos O'Donell's avatar
      Makefile.in: Add html and install-html targets. · 4f3d9054
      Carlos O'Donell authored
      2006-06-03  Carlos O'Donell  <carlos@codesourcery.com>
      
      	* Makefile.in: Add html and install-html targets.
      
      From-SVN: r114345
      4f3d9054
    • Laurynas Biveinis's avatar
      MAINTAINERS (Write After Approval): Update my e-mail address. · 898e551d
      Laurynas Biveinis authored
      2006-06-03  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* MAINTAINERS (Write After Approval): Update my e-mail address.
      
      From-SVN: r114343
      898e551d
    • Paolo Bonzini's avatar
      jar.in: Ensure return with argument has non-empty argument. · 42e49930
      Paolo Bonzini authored
      2006-06-03  Paolo Bonzini  <bonzini@gnu.org>
      
      	* scripts/jar.in: Ensure return with argument has non-empty argument.
      
      From-SVN: r114341
      42e49930
    • Geoffrey Keating's avatar
      Update copyright notice on host-darwin.c. · 2d4cd9a3
      Geoffrey Keating authored
      From-SVN: r114340
      2d4cd9a3
    • Geoffrey Keating's avatar
      Index: gcc/ChangeLog · 4f6d8cc8
      Geoffrey Keating authored
      2006-06-02  Geoffrey Keating  <geoffk@apple.com>
      
      	* config/rs6000/host-darwin.c (sigaltstack): Protect prototype with
      	HAVE_DECL_SIGALTSTACK.
      	(MC_FLD): New.
      	(segv_handler): Use MC_FLD.
      	* configure.ac: Check for a sigaltstack declaration.
      	Compute HAS_MCONTEXT_T_UNDERSCORES on Darwin.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      
      Index: boehm-gc/ChangeLog
      2006-06-02  Geoffrey Keating  <geoffk@apple.com>
      
      	* configure.ac: Define HAS_PPC_THREAD_STATE_R0,
      	HAS_PPC_THREAD_STATE___R0, HAS_PPC_THREAD_STATE64_R0,
      	HAS_PPC_THREAD_STATE64___R0, HAS_I386_THREAD_STATE_EAX,
      	HAS_I386_THREAD_STATE___EAX.
      	* configure: Regenerate.
      	* include/gc_config.h.in: Regenerate.
      	* darwin_stop_world.c (PPC_RED_ZONE_SIZE): Use standard Darwin
      	macro names to determine value.
      	(THREAD_STATE): New.
      	(THREAD_FLD): New.
      	(GC_push_all_stacks): Use THREAD_STATE and THREAD_FLD in both versions.
      
      From-SVN: r114339
      4f6d8cc8
    • Eric Christopher's avatar
      20000804-1.c: Skip if i?86-darwin. · 347b9c46
      Eric Christopher authored
      2006-06-02  Eric Christopher  <echristo@apple.com>
      
              * gcc.c-torture/compile/20000804-1.c: Skip if i?86-darwin.
              * gcc.target/i386/20020523-1.c: Skip if darwin.
              * gcc.target/i386/asm-3.c: Ditto.
              * gcc.target/i386/20011119-1.c: Ditto.
              * gcc.target/i386/clobbers.c: Remove pic part of test.
      
      From-SVN: r114338
      347b9c46
    • GCC Administrator's avatar
      Daily bump. · 428659d2
      GCC Administrator authored
      From-SVN: r114336
      428659d2
  4. Jun 02, 2006
  5. Jun 01, 2006
Loading