- Jun 05, 2006
-
-
jwlemke authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114393 138bc75d-0d04-0410-961f-82ee72b054a4
-
sje authored
* gcc.dg/sibcall-7.c: Do not run on ia64-*-* platforms. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114391 138bc75d-0d04-0410-961f-82ee72b054a4
-
sje authored
* config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114390 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* Makefile.in: Rebuilt. * Makefile.am (install-data-local): Define conditionally. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114389 138bc75d-0d04-0410-961f-82ee72b054a4
-
victork authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114386 138bc75d-0d04-0410-961f-82ee72b054a4
-
pault authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114385 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114384 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114382 138bc75d-0d04-0410-961f-82ee72b054a4
-
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114381 138bc75d-0d04-0410-961f-82ee72b054a4
-
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114380 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114378 138bc75d-0d04-0410-961f-82ee72b054a4
-
reichelt authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114377 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114375 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Jun 04, 2006
-
-
reichelt authored
* c-common.c (fold_offsetof_1): Handle static members. * g++.dg/ext/offsetof1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114369 138bc75d-0d04-0410-961f-82ee72b054a4
-
echristo authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114364 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114361 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
PR c++/26740 * typeck.c (build_unary_op): Mark the function as being used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114360 138bc75d-0d04-0410-961f-82ee72b054a4
-
shinwell authored
(neglected in previous commit) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114359 138bc75d-0d04-0410-961f-82ee72b054a4
-
shinwell authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114358 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114357 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114356 138bc75d-0d04-0410-961f-82ee72b054a4
-
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114355 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114353 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Jun 03, 2006
-
-
fxcoudert authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114346 138bc75d-0d04-0410-961f-82ee72b054a4
-
carlos authored
2006-06-03 Carlos O'Donell <carlos@codesourcery.com> * Makefile.in: Add html and install-html targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114345 138bc75d-0d04-0410-961f-82ee72b054a4
-
lauras authored
* MAINTAINERS (Write After Approval): Update my e-mail address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114343 138bc75d-0d04-0410-961f-82ee72b054a4
-
bonzini authored
* scripts/jar.in: Ensure return with argument has non-empty argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114341 138bc75d-0d04-0410-961f-82ee72b054a4
-
geoffk authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114340 138bc75d-0d04-0410-961f-82ee72b054a4
-
geoffk 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114339 138bc75d-0d04-0410-961f-82ee72b054a4
-
echristo authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114338 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114336 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Jun 02, 2006
-
-
amylaar authored
* Makefile.in (stmp-fixinc): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114332 138bc75d-0d04-0410-961f-82ee72b054a4
-
mrs authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114331 138bc75d-0d04-0410-961f-82ee72b054a4
-
sayle authored
* fold-const.c (fold_unary) <CONJ_EXPR>: Ensure folded expressions are type correct. Clean-up. <REALPART_EXPR>: Likewise. Optimize creal(~z) as creal(z). <IMAGPART_EXPR>: Likewise. Optimize cimag(~z) as -cimag(z). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114330 138bc75d-0d04-0410-961f-82ee72b054a4
-
sje authored
* g++.old-deja/g++.other/init19.C: Ditto. * g++.old-deja/g++.other/init18.C: Ditto, plus change _Exit to _exit and add other platforms as expected failures. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114327 138bc75d-0d04-0410-961f-82ee72b054a4
-
shinwell authored
to environ. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114326 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114324 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Jun 01, 2006
-
-
sje authored
(is-effective-target-keyword): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114320 138bc75d-0d04-0410-961f-82ee72b054a4
-
tkoenig authored
PR fortran/27715 * arith.c: Cast the characters from the strings to unsigned char to avoid values less than 0 for extended ASCII. 2006-06-01 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/27715 * gfortran.dg/extended_char_comparison_1.f: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114317 138bc75d-0d04-0410-961f-82ee72b054a4
-
dj authored
shift, as we've disabled the "switch" insn that needs it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114315 138bc75d-0d04-0410-961f-82ee72b054a4
-